473,406 Members | 2,293 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Update DataGrid2 based on value of DataGrid1

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
1 1662
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Bil Muh | last post by:
Hello Developers, I am developing an application by using VC++ .NET v2003 at Windows Forms ..NET. In my application, I have two threads, which are working background. They receive double values...
1
by: MrMike | last post by:
Hi. My application has dozens of datagrids but for some reason an exception occurs when one of them is updated. When a user edits a datagrid row and then clicks 'Update' the following exception...
4
by: Jonathan Upright | last post by:
Greetings to anyone who can help: I'm using WebMatrix to make ASP.NET pages, and I chose the "Editable DataGrid" at the project selector screen. As you may know, it defaults to the Microsoft...
0
by: kevin.mcgrane | last post by:
Hi I have a C# application with a couple of datagrids. Datagrid1 datasource is pointing to a storeprocedure that returns orders. I want to be able to double click datagrid1 and assign the row...
0
by: kevin | last post by:
Hi I have a C# application with a couple of datagrids. Datagrid1 datasource is pointing to a storeprocedure that returns orders. I want to be able to double click datagrid1 and assign the...
2
by: andrew.roberts | last post by:
This is my second post now on this subject has I seem to be getting no where and the problem is really starting to bug me now. I can get a datagrid into an editable state but then neither the...
0
by: Zorglub | last post by:
Hi, I have a windos form with two datagrids Master and Detail, I use a dataset with two datatable and a relation between Table1 and Table2. I set the datagrid like : DataViewManager dsView =...
5
by: Stephen Plotnick | last post by:
I'm very new to VB.NET 2003 Here is what I have accomplished: MainSelectForm - Selects an item In a public class I pass a DataViewRow to ItemInformation1 Form ItemInformation2 Form
1
by: Sharon | last post by:
Hello All, Is it possible to update Sql Table through DataGrid. I have a DataGrid which is being populated through a stored procedure, all i wanted to do is to update one field...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.