beaniebear
Programmer
I have a piece of code in ASP that I now want to produce something similar in ASP.net. This is my first project using ASP.net and am looking for a bit of direction as to how best to achieve this (not expecting anyone to write the code for me!)?
The code currently allows the contents of SQL server tables to be maintained. Textboxes are built dynamically by looping through a recordset and pulling back table information and then dynamically building a form based on the number of fields and types in the table. The user selects which table they want to update and the form is automatically built for them. In my asp version I also build javascript to do error chcecking on the input the user types in.
Can the server controls in asp.net be built in this way? Is there a way I can add them to a specific form? And will I still be able to reference them in the code behind?
If there would be a better way to approach this then I am open to suggestions.
Thanks for any advice you can give me, Jo
The code currently allows the contents of SQL server tables to be maintained. Textboxes are built dynamically by looping through a recordset and pulling back table information and then dynamically building a form based on the number of fields and types in the table. The user selects which table they want to update and the form is automatically built for them. In my asp version I also build javascript to do error chcecking on the input the user types in.
Can the server controls in asp.net be built in this way? Is there a way I can add them to a specific form? And will I still be able to reference them in the code behind?
If there would be a better way to approach this then I am open to suggestions.
Thanks for any advice you can give me, Jo