VB-6 Textbox data field Vs .Net Textbox property ?

L

Luqman

I have created a form in VB-6 with Adodc1 and one textbox, and set its data
source to adodc1 and datafield to customerID of Northwind Database in
Microsoft access.

After saving this project, I opened this project in Visual Studio .Net 2005,
though Datafield property was not there in .Net 2005, but when I run the
VB.Net Project, it ran fine and displayed the data, where did .Net set the
datafield property of textbox ?

Best Regards,

Luqman
 
C

Cor Ligthert [MVP]

Luqman,

See my other message about the special upgrade newsgroup.

Otherwise open in the files the plusses by clicking on it and search for
your textbox.
Than you will probably see it.

Most of us have upgraded from VB6 to VB2002, while it is in VB2005 probably
done in another way.

I hope this helps,

Cor
 
L

Luqman

Thanks, I got it, VB.Net 2005 is setting the Text Property at Runtime and
using it just like datafield of VB-6.

Best Regards,

Luqman
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top