Hi,
i want to delete the data in gridview.i wrote the code for that but it will delete the entire data.if i selected one row it will delete the entire row.
private void btn_delete_Click(object sender, EventArgs e)
{
if (this.GridView1.SelectedRows.Count > 0)
{
GridView1.Rows.RemoveAt(this.GridView1.SelectedRows[0].Index);
}
}
Best,
Sudheep.