i want to delete a row or rows which i select from the datagrid. How can i do it ?
http://img15.imageshack.us/my.php?image=datagridkr1.jpg
i want to delete a row or rows which i select from the datagrid. How can i do it ?
http://img15.imageshack.us/my.php?image=datagridkr1.jpg
Last edited by Aga^^; 02-12-2009 at 06:42 AM.
Look at the properies of the datagrid. Check if it has some Delete/Remove property or method. If not, check for a Rows-property and see if that has some Delete/Remove property/method. If you find one check its documentation, either through intellisense or on the web (msdn).
That's how I would tackle it if I didn't know how to delete.
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.