spacebar problem for insertion
-
hai, i am using two textboxes for entering countrycode,country name, entering some datas,i checked the existancy in database,In button click existancy checking is ok but one problem is we use the spacebar first then inserting the duplicate data(using c#,asp.net) for Ex: suppose we insert the data india,ind12 using textboxes after that we connot this insertion here spacebar using infront of the insertion india, ind12 again inserting the duplicate data? how can we avoide this? help me
-
hai, i am using two textboxes for entering countrycode,country name, entering some datas,i checked the existancy in database,In button click existancy checking is ok but one problem is we use the spacebar first then inserting the duplicate data(using c#,asp.net) for Ex: suppose we insert the data india,ind12 using textboxes after that we connot this insertion here spacebar using infront of the insertion india, ind12 again inserting the duplicate data? how can we avoide this? help me
Trim those Textbox Values Ex: TextBox1.Text.Trim while inserting those values and Checking for Duplicate Data.
-
Trim those Textbox Values Ex: TextBox1.Text.Trim while inserting those values and Checking for Duplicate Data.