VB.NET

Moderators: seancampbell
Number of threads: 4022
Number of posts: 10035

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
kindly help me in working of datagrid Posted by mahamjee on 26 Nov 2006 at 8:52 AM
i'm working on a datagrid as i have a form level master_detail form
master table has a detail and the detail has a further detail means i master record has multiple records and each detail record has multiple records also, to show the records i,ve to maintain the indexing it's all working well but now i'm facing a problem when i give values directly in the datagrid and assigning the values to a dataset, when i click the detail row the further detail shows accordingly so the visible rows are different for each row but the same dataset for all rows as for the purpose of save , update, delete.
i'm not able to maintain dataset i lost the values while nevigating for the other rows according to detail(for further detail).

another problem is when i create the checkbox column in a datagrid it has three states and never be enabled i only want 2 states and enabled check box in a datagrid please help me!
Report
Re: kindly help me in working of datagrid Posted by PavlinII on 27 Nov 2006 at 1:47 PM
: i'm working on a datagrid as i have a form level master_detail form
: master table has a detail and the detail has a further detail means i master record has multiple records and each detail record has multiple records also, to show the records i,ve to maintain the indexing it's all working well but now i'm facing a problem when i give values directly in the datagrid and assigning the values to a dataset, when i click the detail row the further detail shows accordingly so the visible rows are different for each row but the same dataset for all rows as for the purpose of save , update, delete.
: i'm not able to maintain dataset i lost the values while nevigating for the other rows according to detail(for further detail).
:
: another problem is when i create the checkbox column in a datagrid it has three states and never be enabled i only want 2 states and enabled check box in a datagrid please help me!
:
Hi,
this is part when I lost the clue..
>when i click the detail row the further detail shows accordingly so >the visible rows are different for each row but the same dataset for >all rows as for the purpose of save , update, delete.

Try to describe your sittuation more detailed :)

I guess you're using asp.net..
Are you saving newly entered values after each change, or do you use ViewState to persist changes..?

Pavlin II[/size]

Don't take life too seriously anyway you won't escape alive from it!


Report
Re: kindly help me in working of datagrid Posted by mahamjee on 29 Nov 2006 at 6:32 AM
: : i'm working on a datagrid as i have a form level master_detail form
: : master table has a detail and the detail has a further detail means i master record has multiple records and each detail record has multiple records also, to show the records i,ve to maintain the indexing it's all working well but now i'm facing a problem when i give values directly in the datagrid and assigning the values to a dataset, when i click the detail row the further detail shows accordingly so the visible rows are different for each row but the same dataset for all rows as for the purpose of save , update, delete.
: : i'm not able to maintain dataset i lost the values while nevigating for the other rows according to detail(for further detail).
: :
: : another problem is when i create the checkbox column in a datagrid it has three states and never be enabled i only want 2 states and enabled check box in a datagrid please help me!
: :
: Hi,
: this is part when I lost the clue..
: >when i click the detail row the further detail shows accordingly so >the visible rows are different for each row but the same dataset for >all rows as for the purpose of save , update, delete.
:
: Try to describe your sittuation more detailed :)
:
: I guess you're using asp.net..
: Are you saving newly entered values after each change, or do you use ViewState to persist changes..?
:
: Pavlin II[/size]
:
: Don't take life too seriously anyway you won't escape alive from it!
:
:
:
Hi,
i'm working in vb.net on a desktop application in which i have to use the master detail form
as u know one master record has many records and if this detail has another detail then each detail row would have many other rows but i have to display only those records of third level detail which r related to one of second level detail if i select the second level detail row, i want that when i change the values in 3rd level detail grid the same will affect the dataset but on selecting another row of the 2nd level grid the display changes and values lost

Report
Re: kindly help me in working of datagrid Posted by jbassmanp on 29 Nov 2006 at 10:31 AM
This message was edited by jbassmanp at 2006-11-29 10:34:41

: Hi,
: i'm working in vb.net on a desktop application in which i have to use the master detail form
: as u know one master record has many records and if this detail has another detail then each detail row would have many other rows but i have to display only those records of third level detail which r related to one of second level detail if i select the second level detail row, i want that when i change the values in 3rd level detail grid the same will affect the dataset but on selecting another row of the 2nd level grid the display changes and values lost
:
:
:

Hi, Your description is very confusing. You have a Master file which is linked to a transcation file (one to many) by way of a common field(s). Which in turn is also linked to another file in like manner. You want the changes done to your master file to filter down to the child linked files or vise versa. Are we on the same page now......





Report
Re: kindly help me in working of datagrid Posted by mahamjee on 2 Dec 2006 at 9:08 AM
: This message was edited by jbassmanp at 2006-11-29 10:34:41

: : Hi,
: : i'm working in vb.net on a desktop application in which i have to use the master detail form
: : as u know one master record has many records and if this detail has another detail then each detail row would have many other rows but i have to display only those records of third level detail which r related to one of second level detail if i select the second level detail row, i want that when i change the values in 3rd level detail grid the same will affect the dataset but on selecting another row of the 2nd level grid the display changes and values lost
: :
: :
: :
:
: Hi, Your description is very confusing. You have a Master file which is linked to a transcation file (one to many) by way of a common field(s). Which in turn is also linked to another file in like manner. You want the changes done to your master file to filter down to the child linked files or vise versa. Are we on the same page now......
:
:
:
:
:
:
oh no,
i'm not saying like that
any ways i got the right solution thanx God
thanks for replying and remembering me
now just tell me about the graphical dashboard
i've posted a message before

with best regards

:
:
:






 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.