Here Mudassar Ahmed Khan has explained how to Export a Grid View with Images or Pictures to Word Excel or PDF Formats in ASP. In this article the Grid View is displaying images stored on disk and th Hi, This is Mudassar Khan. Net Question Answer site, specially started to allow visitors of this site ask their doubts and queries. Just click the Ask Now button and ask your question now.
Basically I have tried to make the normal Add (Insert), Edit, Update and delete functions in ASP.
Net Grid View simple and also combining the powers of ASP.
Net AJAX with that of JQuery to give an elegant and charming user experience.
column which will act as custom column for delete functionality.
The reason to use a custom button is to provide the Java Script confirmation box to the user when he clicks Delete.
For Edit and Update I have added a command field which will act as the 5As discussed above I have placed 3 textboxes and a button in the Footer Row of the ASP.
Net Grid View control in order to add new record to the database.
There’s a Click event handler assigned to the Add Button.
When the Button is clicked, the Insert function of the Sql Data Source is executed which then inserts the records to the database and binds the Grid View again to display the newly inserted record.
For example if the column name is Name its corresponding parameter name will be @Name.
Once this is done the Sql Data Source will automatically pick values from respective Text Boxes inside the Grid View row to be edited.