By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,027 Members | 1,293 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,027 IT Pros & Developers. It's quick & easy.

Update DataGrid2 based on value of DataGrid1

P: n/a
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
Nov 11 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Nov 11, 1:17*am, "irfan.ahmed" <irfan.khi...@gmail.comwrote:
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/libr...28(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/libr...x4(VS.80).aspx

-Jay
Nov 12 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.