There is actually a template button for this, if you go to add columns in the gridview editor, you can add a delete button, its under command buttons. This will however, delete your entity from the database as well.
Otherwise, I believe that you will have to do some quires that just don't show that row.
Like
Make a button field and make it a template column, under the click event,
Button btn = new (Button)sender;...
User Profile
Collapse
-
humm... seems to me that this could be done with a query and then past that into the gridview.
...Code:List<column data type> bla = new List<column data type>(); for (int i = 0, i < System.Data.SqlClient.SqlCommand("Select Count(column name) From table"); i++) { bla.Items.Add(System.Data.SqlClient.SqlCommand("Select column name From table Where primaryKeyID = @prim") System.Data.SqlClient.SqlCommand.Parameters.Add("prim",Leave a comment:
No activity results to display
Show More
Leave a comment: