Binding date to textBox

P

PawelR

Hello group
I have problem with binding data to textBox.
If in dataBease - dataSet I'va varchar or char I use:
textBox1.DataBindings.Add(new Binding("Text",myDS ,"MyTable.MyColumn"));

If I want binding int or decimal for example I have blank textBox. My
question is
How property name use instead of "Text"?

Thanks

PawelR
 
C

Cor Ligthert

Pawel,
textBox1.DataBindings.Add(new Binding("Text",myDS ,"MyTable.MyColumn"));
I thought that I have showed you this in an earlier message.

Using a strongly typed dataset and using a non strongly typed dataset. Did
you look at that?

Cor
 
P

PawelR

Sorry Cor
Whats meaning "strongly type "?

U¿ytkownik "Cor Ligthert said:
Pawel,

I thought that I have showed you this in an earlier message.

Using a strongly typed dataset and using a non strongly typed dataset. Did
you look at that?

Cor
 

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