Re: A question about dataset loading
From: Cor Ligthert (notmyfirstname_at_planet.nl)
Date: 11/22/04
- Next message: Agnes: "Datagrid, disable the cell programically"
- Previous message: Cor Ligthert: "Re: Memory management in .Net framework"
- In reply to: Rudy: "A question about dataset loading"
- Next in thread: Rudy: "Re: A question about dataset loading"
- Reply: Rudy: "Re: A question about dataset loading"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 22 Nov 2004 09:22:03 +0100
Rudy,
The article you show is in my opinion a very bad article. It says that is
about beta (and probably the solution is beta), than it tells it applies to
all current non beta versions as well.
I do not know if the error still exist however it is possible. The addrange
is as far as I know not used as this, all controls are seperatly added to
the form.
Me.Controls.Add(Me.Button1)
Me.Controls.Add(Me.TextBox1)
Me.Controls.Add(Me.ComboBox1)
What you can do is check if that exist in the designer generated code and
the problem still exist like it is described in the article.
I hope it helps something?
Cor
"Rudy" <Rudy@discussions.microsoft.com>
> Hello all!
> So I get the following error when I try to update my dataset from a
> windows
> form. "Can't create a child list for field 'TableName'" This is the error
> I
> get in my application, I found this error in the KB (Article ID : 816799 )
> The error is built by design, and the cause is from in my case deleating
> the
> table that was bound to a control. They do have a fix or a workaround by
> modifying a line of code. My problem is I can't find the line of code they
> speak of. The code is in the form, In the InitializeComponent procedure of
> the Windows Form Designer generated code region, locate the following
> statement in the Form1 code:
>
> Microsoft Visual Basic .NET codeMe.Controls.AddRange(New
> System.Windows.Forms.Control() {Me.TextBox2, Me.TextBox1, Me.ListBox1})
>
> If i could find this, i could modify it, and hopefully it will fix my
> problem. Of course, I could be totally off base, and this has nothing to
> do
> with anything that I'm doing. Which means I will post again, LOL. If
> somebody could take a peak at this KB, and see if this seems right, and
> tell
> me what I'm missing.
>
> As always, TIA!
>
> Rudy
>
- Next message: Agnes: "Datagrid, disable the cell programically"
- Previous message: Cor Ligthert: "Re: Memory management in .Net framework"
- In reply to: Rudy: "A question about dataset loading"
- Next in thread: Rudy: "Re: A question about dataset loading"
- Reply: Rudy: "Re: A question about dataset loading"
- Messages sorted by: [ date ] [ thread ]