in a textbox1 enter the value as 50.
now i show the value as 1 in textbox2.
me enter values as
name adress
celvchennai (textbox2) as 1 again me enter the data as
raj madurai (textbox2) as 3 again me enter the data as
ravi singapore (textbox2) as 4 again me enter the data as
ragu sivagangai
vino chennai
porkodi trichy (textbox2) as 50.
if i click the button again i have to show the textbox as 1.
i need textbox1= textbox2.

selvi subramanianPosted Jul 16, 2014, 4:03 AM
Saree XCF 10 20
remaining 10 is Chudi material.so i need to enter the 10 saree quantity only.if i enter 11th i need to throw the error as ( your total quantity in saree is 10 only ) use this query i need to click the button for 10times.
int i = Convert.ToInt32(TextBox1.Text);
i++;
TextBox1.Text = Convert.ToString(i);
int j = Convert.ToInt32(TextBox2.Text);
bool UserExist;
UserExist = this.UserExit();
if (i == j)
{
if (UserExist == false)
{insert query }
in a single click i need to save the saree 10 quantity.
Abhijit PatilPosted Jul 14, 2014, 10:00 AM
can you elobarate your question please we not get what actually you want.
if you give the info more then we help only
hope you understand
Regards,
Abhijit Patil
dotnetbyabhipatil.blogspot.in