Ramco Ramco

Ramco Ramco

  • 441
  • 3.4k
  • 523.4k

Code not working

Jul 10 2022 5:04 PM

Hi

private void dataGridView1_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            var value = grdPlanning.SelectedRow.Cells[0].Text;
            //var value = grdPlanning.SelectedRows[0].Cells[0].ToString();
        }

 

<asp:GridView ID="grdPlanning" class="table table-bordered " runat="server"
                                      OnRowDataBound="gr_RowDataBound" AutoGenerateColumns="true">
                                    </asp:GridView>

Thanks


Answers (2)