What you need to do in that case is every time you are adding the control refresh the complete hidden field this you have to do in case of deletion also.
What I mean to say here is when you are adding a new one then clear the hidden field and then add the complete set again by looping through. And this has to be repeated in the case of deletion.
i want to enter multiple data's , like sales invoice. Does anybody have idea. Page should not postback.
Read the forum rules[^], paying particular attention to no. 2.
If you don't understand the basic principles of developing ASP.NET data entry applications, posting questions on a forum isn't going to help you. If this a commercial project, does your company know that you don't have the skills to complete it? The only advice I can give you is to go away, read a few books and and learn your craft.
"No, his mind is not for rent
To any God or government" Tom Sawyer - Rush
I disagree as he doesn't need a realtime process. I think too many people write WindowsServices when a service isn't specifically needed. I propose that you should write a simple console application and use the scheduling functionality of the OS to run that console application on the time frame you need.
should write a simple console application and use the scheduling functionality of the OS to run that console application on the time frame you need.
A console application that exists automatically once the job done, right ? But OP says, he needs to run it every 5 minutes. So the console application approach will open a console window every 5minutes on the server, do you think it's an issue ?
I was telling OP to use windows service because of this reason. A thread should work on the service which does the job and sleeps for next 5minutes. I still believe that will be a good idea. But you have a very valid point. Thanks for that.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia
I believe you want the second option. You also might need to call ToString() on that Session call. It's been a while since I've used 1.1, so I cannot remember if the default is already to return the string value.