Cannot find RowClickEventArgs in DevexpressGridView

前端 未结 1 841
挽巷
挽巷 2021-01-26 13:46

I\'m a new to DevexpressGridView.

I have a Dev Grid in my webpage, and I want to handle the RowClick Event like:

private void          


        
相关标签:
1条回答
  • 2021-01-26 14:33

    So it would be like this:

    private void GridView1_Click(object sender, EventArgs e)
    {
        System.Data.DataRow row = GridView2.GetDataRow(GridView2.FocusedRowHandle);
        if(row[0].ToString() == "")
        {
              //YOUR LOGIC
        }
    
    }
    

    GridView2 is your main view.

    0 讨论(0)
提交回复
热议问题