How to convert the textbox value into an integer in c#? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to convert the textbox value into an integer in c#?

i am trying to insert product quantity into datatable. qyantity is entered by the user into textbox. first convert the textbox value and insert into datatable.

30th Sep 2018, 12:43 PM
Shubham Sharma
Shubham Sharma - avatar
1 Answer
0
use Integer.TryParse method
30th Sep 2018, 2:26 PM
Asgar Aziz
Asgar Aziz - avatar