Link to home
Start Free TrialLog in
Avatar of Adam_Li
Adam_LiFlag for Norway

asked on

Display info from DB to Label in asp.net

Hi
Is there any simple way to display text from database to label in asp.net?
Avatar of D Patel
D Patel
Flag of India image

"Label2".DataBindings.Add("Text", DataSet1, "db.fname")
You will need to setup database connection, dataset, command and data adapter.
Avatar of Adam_Li

ASKER

You got an example of how code is written? Then its easier for me to get it right.
yes
Avatar of Adam_Li

ASKER

need for c#
ASKER CERTIFIED SOLUTION
Avatar of D Patel
D Patel
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial