954,595 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Related to gridview

Hi Friends

I am using asp.net & sqlserver,I have an gridview,in which i am using inbuild insert,update,delete code,but when i click on edit button so textboxes shows there, But i want dropdowns there & when I click on update button so the selected value must be save on database ,but these all are being from source code so when i take dropdowns it doesn't save value

Plz help me to solve this

manoj_582033
Light Poster
39 posts since Nov 2008
Reputation Points: 10
Solved Threads: 2
 

you should set autogeneratecolumns attribute to false and then you should add your custom EditItemTemplate and InsertItemTemplate, basically you are going to use templates for your gridview.

serkan sendur
Postaholic
Banned
2,062 posts since Jan 2008
Reputation Points: 854
Solved Threads: 127
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You