I'm new to Asp.net and need some help.
I am using a DetailsView and the update statement of a datasource to update a database table. When I use the command field edit button that is provided by setting "show edit button" to true, the database is updated properly. However, I converted the command field to a template field so that I had more control over the button click. Now the parameters in the datasource's update statement are not being automatically filled and my database is being updated with nulls. Can I get the parameters to fill automatically or do I need to do that manually, and if so, how do I do it.
Any help would be greatly appreciated.
I am using a DetailsView and the update statement of a datasource to update a database table. When I use the command field edit button that is provided by setting "show edit button" to true, the database is updated properly. However, I converted the command field to a template field so that I had more control over the button click. Now the parameters in the datasource's update statement are not being automatically filled and my database is being updated with nulls. Can I get the parameters to fill automatically or do I need to do that manually, and if so, how do I do it.
Any help would be greatly appreciated.