How Convert TextBox Value in integer?
My code is here
what is the problem in my code?
int qt2 = Convert.ToInt32(TotalFarmer.Text);
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ramesh BarikRank #3,664 · 401 reputationPosted Apr 11, 2017, 7:45 AM EDT
Nirav DaraniyaRank #593 · 4.1K reputationPosted Apr 11, 2017, 10:45 PM EDT
Ranjeet PatraRank #1,436 · 1.1K reputationPosted Apr 11, 2017, 10:48 PM EDT