how to insert a row in the datagrid while clikcing a button
-
I have a button outside the grid....datagrid has 4 columns named "Empid,Empname,designation and DOJ"....if user clicks the button i wanto create an empty row in the datagrid and using edit option update command i like to update of entry in to the database, means it should update in the grid as well as database...how to do this..
-
I have a button outside the grid....datagrid has 4 columns named "Empid,Empname,designation and DOJ"....if user clicks the button i wanto create an empty row in the datagrid and using edit option update command i like to update of entry in to the database, means it should update in the grid as well as database...how to do this..
Find following links useful which solves your purpose. http://www.daniweb.com/forums/thread72925.html[^] http://aspnet.4guysfromrolla.com/articles/021203-1.aspx[^] http://www.aspdotnetcodes.com/GridView_Insert_Edit_Update_Delete.aspx[^] HTH
Jinal Desai - LIVE Experience is mother of sage....