
Signature
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com
Miha,
Thanks for your reply but I don't really understand what
you mean. I think I may not have explained myself well.
I am not attempting to use both the lines of code at the
same time. I try using one and then comment it out and
then use the other. The purpose of this is to update the
text of a TextBox which is bound to the Installers table
of the DataSetInstallers DataSet.
So, is your answer still the same? If it is then do you
know what the difference is between
(DataSetInstallers, "Installers") and
(DataSetInstallers.Installers) is?
many thanks,
liam
>-----Original Message-----
>Hi,
[quoted text clipped - 24 lines]
>
>.
Miha Markic [MVP C#] - 15 Jul 2004 12:03 GMT
> Miha,
>
> Thanks for your reply but I don't really understand what
> you mean. I think I may not have explained myself well.
You did :-)
> I am not attempting to use both the lines of code at the
> same time. I try using one and then comment it out and
[quoted text clipped - 6 lines]
> (DataSetInstallers, "Installers") and
> (DataSetInstallers.Installers) is?
The difference is the way you pass parameters. In first line you pass
dataset and string while in second line you pass DataTable. This matters.
Yes, they both refer to the same table but they don't refer to the same
BindingManagerBase (this often confuses people).
You should pass parameters in the same way you do the binding.

Signature
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com
liam - 15 Jul 2004 16:19 GMT
Ah, that make more sense now. Thanks for your help.
>-----Original Message-----
>
[quoted text clipped - 21 lines]
>BindingManagerBase (this often confuses people).
>You should pass parameters in the same way you do the binding.