i have an asp.net application in c#.
i have a table in a sql server database with two fields:
Field1
Comments
i need to allow the user to SELECT the Field1 and add comments for that specific Field1
the user would then post the input back to the server
how do i accomplish this? which control can i use? is there already a simple jquery solution?
This completely depends on your site setup. However if you have a list of Field1 values and put them in a DropDownList, you’ll be able to select one and add a comment in a box.
This also heavily depends on your user interface / workflows. This is just one of MANY possible ways to do this.
Code front
Code behind
This is untested and partial pseudo code but should get you in the right direction for a general non-MVC web app. Also this doesn’t use any JavaScript / jQuery, just ASP.NET and C#.