vb.Net 's inherited DataGrid dosen't Work in parent-Child mode

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • alreva

    vb.Net 's inherited DataGrid dosen't Work in parent-Child mode

    hi
    I have inherited from Datagrid Class and just add a new method there.
    while using this new inherited calss in a master-detail mode
    (master Grid and detail grid) I used a datatable as the master for
    binding first grid and a permanet ralation with child table for
    binding other grid. the problem is that after loading data ,no detail
    shows for first row in master grid. but if Current row change in
    master then details will be shown properly.
    this problem just exist in inherited classes from Datagrid. if you use
    ..Net's dataGrid you will not experiance this problem.
  • Rick Rothstein

    #2
    Re: vb.Net 's inherited DataGrid dosen't Work in parent-Child mode

    Almost everybody in this newsgroup is using VB6 or lower. While you may get
    a stray answer to VB.NET questions here, you should ask them in newsgroups
    devoted exclusively to .NET programming. Look for newsgroups with either the
    word "dotnet" or "vsnet" in their name.

    For the microsoft news server, try these newsgroups...

    microsoft.publi c.dotnet.genera l
    microsoft.publi c.dotnet.langua ges.vb
    microsoft.publi c.vsnet.general

    There are some others, but these should get you started.

    Rick - MVP



    "alreva" <alreva1360@yah oo.com> wrote in message
    news:f7a1eaf8.0 401100105.6cd52 ae5@posting.goo gle.com...[color=blue]
    > hi
    > I have inherited from Datagrid Class and just add a new method there.
    > while using this new inherited calss in a master-detail mode
    > (master Grid and detail grid) I used a datatable as the master for
    > binding first grid and a permanet ralation with child table for
    > binding other grid. the problem is that after loading data ,no detail
    > shows for first row in master grid. but if Current row change in
    > master then details will be shown properly.
    > this problem just exist in inherited classes from Datagrid. if you use
    > .Net's dataGrid you will not experiance this problem.[/color]


    Comment

    Working...