Hey All

Im using 3 tier design to do my coding. Im having problems deleting a record selected in the grid. I have my method which does the loading of the datagridview in the businesslayer.

Can you please assist me on how to delete a record selected...

Please

I think its a simple task. First of all you have to obtain an index of row you want to delete, and use Rows.RemoveAt(row_index) method of dataGridView control to remove that row.

thanx..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.