Click here to Skip to main content
15,912,897 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi
initially , i should displaying all table in gidview then we will remove the unwanted rows in gridview . how to delete gridview row


thanks in advance
Posted

1 solution

GridView Delete, with Confirmation[^]

If i misunderstand your question, please feel free to correct me.I hope the above
information will be helpful. If you have more concerns, please let me know.
If this would be really helpful to you then don't forgot to Vote and Make Answer as
Accepted.
 
Share this answer
 
Comments
srinivasvempa 1-Mar-11 8:35am    
there is no code for DeleteRecordByID(categoryID);
thatraja 1-Mar-11 9:53am    
Try yourself dude.
You can write the code for that like as the method 'BindData()', got it? change the query(Ex. DELETE FROM Table WHERE Fieldname=@Fieldname) & use appropriate method with connection object.

But I recommend sql command object with parameters which will help to block the sql injection attacks.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900