Avatar of Adam_Li
Adam_LiFlag for Norway

asked on 

Display info from DB to Label in asp.net (C#)

Hi
Is there any simple way to display text from database to label in asp.net?  NB! c#
ASP.NETDatabasesC#

Avatar of undefined
Last Comment
Kyle Abrahams, PMP
Avatar of Russ Suter
Russ Suter

The question is very broad. Text from a database could mean just about anything. If you want to display the value from a single column of a single row of a single table then what you're asking is trivial. If you want to display all the text of the entire database then that's probably not possible. I suspect what you want is either the first case or somewhere in between. Can you elaborate?
Avatar of Adam_Li
Adam_Li
Flag of Norway image

ASKER

just one single string from a table Field. Actually two tables, left Outer join Query, but that isnt important.
On page load.
ASKER CERTIFIED SOLUTION
Avatar of Kyle Abrahams, PMP
Kyle Abrahams, PMP
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Shows how to go to the database and put the information on a label.
ASP.NET
ASP.NET

The successor to Active Server Pages, ASP.NET websites utilize the .NET framework to produce dynamic, data and content-driven web applications and services. ASP.NET code can be written using any .NET supported language. As of 2009, ASP.NET can also apply the Model-View-Controller (MVC) pattern to web applications

128K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo