John
Mon Feb 11 04:30:51 CST 2008
Hi Miha
Many thanks for that. Fixed my problem.
Thanks again.
Regards
"Miha Markic" <miha at rthand com> wrote in message
news:uWCDE8IbIHA.5276@TK2MSFTNGP06.phx.gbl...
> Hi John,
>
> Bind like this and you'll be fine:
>
> db = New System.Windows.Forms.Binding("Text", ds, "Clients.ID")
> txtID.DataBindings.Add(db)
> db = New System.Windows.Forms.Binding("Text", ds, "Clients.Company")
> txtCompany.DataBindings.Add(db)
>
> You might also consider binding using the designer ;-)
>
> --
> Miha Markic [MVP C#, INETA Country Leader for Slovenia]
> RightHand .NET consulting & development www.rthand.com
> Blog:
http://cs.rthand.com/blogs/blog_with_righthand/
>
> "John" <John@nospam.infovis.co.uk> wrote in message
> news:OXrkKaIbIHA.4180@TK2MSFTNGP06.phx.gbl...
>>I have done a db app in vs2008 and it is not working. I am just wondering
>>if there is a bug in vs2008 and that the app may work in vs 2005.
>>
>> Here is the hugely cut down version of the app to test the problem;
>>
http://www.infovis.biz/TestingVS2008.zip
>