Hi
Have a datagrid that is bounded to my employees table in SQL Server, have a select and a delete button in the datagrid, so that when you press the select button, the program will take the employeeid of the selected row, go to the database and pull back all the data, with the delete button it simple gets the employeeId and deletes the entry from the table.
After creating my datagrid, i went into the Html code and added onDeleteCommand = "Grid_delete", then in the vb.net code i have created a method "Grid_delete" which takes an object (sender) and a DataGridCommandEventArg (e), the problem is what do i do next, i have a book example for the edit link button, however i was unable to get the code working. Would appreciate any assistance or any links.
Mike55
Have a datagrid that is bounded to my employees table in SQL Server, have a select and a delete button in the datagrid, so that when you press the select button, the program will take the employeeid of the selected row, go to the database and pull back all the data, with the delete button it simple gets the employeeId and deletes the entry from the table.
After creating my datagrid, i went into the Html code and added onDeleteCommand = "Grid_delete", then in the vb.net code i have created a method "Grid_delete" which takes an object (sender) and a DataGridCommandEventArg (e), the problem is what do i do next, i have a book example for the edit link button, however i was unable to get the code working. Would appreciate any assistance or any links.
Mike55