how do i remove selected row permanently from sql database through datagrid?

Jun 7 2007 8:38 AM
i am using vb.net 2003.i am doing my project in vb.net windows application. how do i remove selected row permanently from sql database through datagrid in vb.net windows form during runtime. for example, values are in datagrid like name age rollno city ramu 22 68 chennai rajesh 23 70 cbe kamal 21 52 salem arun 25 04 trichy here name,age,rollno,city are field name.now i want to remove selected row permanently from sql database through datagrid.In this datagrid,if i select "kamal" row(kamal,21,52,salem) means,that kamal row will remove permanently from sql database.how to do these.i want in vb.net windows application,not web application.plz help me.

Answers (1)