Monday, March 26, 2012

help with binding

hi guys! help please..how will bind my texbox (TxtLastName) to my dataset (dsLastName) column (User_LastName). Thanks in avdance!well first of all i guess this is the wrong section you have posted in....

secondly if you want to add the value of a specific row in a dataset to a textbox you can use something like

TxtLastName.Text = dsLastName.Tables[index].Rows[index].Columns["User_LastName"]

if however you want to bind it you might as well look over here and get some clue
http://www.velocityreviews.com/forums/t95227-bind-textbox-to-dataset.html

No comments:

Post a Comment