Update DataGrid2 based on value of DataGrid1

  • Thread starter Thread starter irfan.ahmed
  • Start date Start date
I

irfan.ahmed

Dear All,

Kindly let me know how to update datagrid2 based on value of
datagrid1, I have one datagrida filled with current sale and its
updating continuously, I need to show in datagrid2 summaries view of
datagrid1, I dont want to query again from database, I just want to
use datagrid1's current record to use to display summay in datagrid2

Thank you in anticipation
 
Dear All,

Kindly let me know how to update datagrid2 based on value of
datagrid1, I have one datagrida filled with current sale and its
updating continuously, I need to show in datagrid2 summaries view of
datagrid1, I dont want to query again from database, I just want to
use datagrid1's current record to use to display summay in datagrid2

Thank you in anticipation


Irfan,

You might look into creating a master-detail relationship between your
two DataGrids. Your datagrid1 will list sales and datagrid2 will show
the summaries view you mention when a row in datagrid1 is selected.

Check out this link:
http://msdn.microsoft.com/en-us/library/aa984328(VS.71).aspx

I assume your using .NET 1.x since you mention the DataGrid.

If you're using .NET 2.0 check out:
http://msdn.microsoft.com/en-us/library/c12c1kx4(VS.80).aspx

-Jay
 
Back
Top