i can't get te text in a label change. i'm using VS2005 and this code:
myReader.Read()
lblNombre.Text = myReader(
MessageBox.Show(myReader("nombre").ToString)
myReader.Close()
The message box displays the right information, but the text in the label doesn't.

Label Lext
austriana
are you sure that is the correct code I'm guessing not otherwise you would not be able to compile at all.
should be:
myReader.Read()
lblNombre.Text = myReader("nombre").ToString()
MessageBox.Show(myReader("nombre").ToString())
myReader.Close()
Also, what is actually shown in the label when you set the text anything at all
sql-bie
Ok, i put Me.Show() after i changed the value and it worked, but opened a new instance of the form, but i've solved that. thanks for the tip
and ahmedilyas, intellisense didn't put the () so i'm guessing its also correct. And i'd tried both ways, with text in the labels and without text, but thank you anyways
Thanks . . .
dsl_beginner