Textbox FormatNumber and Mysql - VB.Net

danis flo 1 Reputation point
2022-10-15T20:15:47.377+00:00

250700-1.jpg

Hi..
I have some problem..
this is my Textbox format ...

price one > TextBox2.Text = Format(Val(TextBox2.Text), "###,###")
price two > TextBox3.Text = FormatCurrency(Val(TextBox3.Text)
price three > TextBox4.Text = FormatNumber(Val(TextBox4.Text))

but in my database, I use INT data type (p_one,p_two,p_three)

is it possible when I enter 1,000 in textbox and in database 1000 too, with INT data type?

Azure Database for MySQL
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.