Hi everyone,
I am working with image uploading using C# having an id and an image. I am using a textbox for id. I want to increment the value in the textbox automatically. So any one tell me the code for it. I have tried code as below.
try
{
int p;
p=p+1;
textbox1.text=p .ToString();
}
catch(Exception e)
{
p="200";
}
But this code is not working.
Thanks in advance for the solution.
I am working with image uploading using C# having an id and an image. I am using a textbox for id. I want to increment the value in the textbox automatically. So any one tell me the code for it. I have tried code as below.
try
{
int p;
p=p+1;
textbox1.text=p .ToString();
}
catch(Exception e)
{
p="200";
}
But this code is not working.
Thanks in advance for the solution.
Comment