hadoop hadoop

hadoop hadoop

  • NA
  • 159
  • 51k

make the datagrid view to extend to buttom of the form

Jul 11 2015 10:45 AM
I've a form name "ReceiptReport". This form one has one panel "search" and below this panel is the grid view "grdReceiver".
The form is in maximized state. My datagrid is not covering the whole region of the form in the bottom. My datagrid is in the middle of the form, it is covering whole space from left to right. How can I make my datagrid to cover the whole space till the bottom of the form.
Please see the image attached (gridView.PNG). I want my gridview to cover the area till the bottom of the form.
 
Also when I click in the region inside or at the border of the datagrid "grdReceiver", the code behind shows
private void grdReceiver_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
}
 
how can I get the method grdReceiver.
 
private void grdReceiver(object sender, DataGridViewCellEventArgs e)
{
}

Answers (2)