Don,
  Place a label on your page and then set the text property to the value
you want to display in your code-behind page, under the Page_Load Sub.

Example:
myLabel.Text = "Good Morning " & (your data value) & "."

There are other ways but this is a pretty easy way to accomplish it and
will help you get familiar with .NET

John Black 

-----Original Message-----
From: Don DeSando [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, October 08, 2002 8:16 PM
To: dotnet
Subject: Newbie Question


Hey all,

I'm new to ASP.NET and had a simple question.

I'd like to perform a select on a SQL database, then.. Greet the visitor
by their name. Such as.. "Good morning Don". Should I be using the
repeater control, datagrid, datalist, or none of these to accomplish
this task?

I'm a little confused. With the previous version of ASP, I would
connect, select the name, using the recordset and spit out the name.
Hope this makes some sense..


 D- Don

-


---
You are currently subscribed to dotnet as: [EMAIL PROTECTED] To
unsubscribe send a blank email to
%%email.unsub%%

---------
Administrated by 15 Seconds : http://www.15Seconds.com
List Archives/Search : http://local.15Seconds.com/search Subscription
Information : http://www.15seconds.com/listserv.htm
Advertising Information: http://www.internet.com/mediakit/



TWTC Disclaimer: The content contained in this electronic message is
neither intended to signify an invitation to contract nor formation of a
contract and TWTC will not be bound by this communication. TWTC will be
contractually bound only upon execution of a contract and by the terms and
conditions in applicable tariffs as approved by its legal department.

This message is intended only for the use of the individual or entity to
which it is addressed.  If the reader of this message is not the intended
recipient, or the employee or agent responsible for delivering the message
to the intended recipient, you are hereby notified that any dissemination,
distribution or copying of this message is strictly prohibited. If you have
received this communication in error, please notify us immediately by
replying to the sender of this E-Mail or by telephone.


---
You are currently subscribed to dotnet as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

---------
Administrated by 15 Seconds : http://www.15Seconds.com
List Archives/Search : http://local.15Seconds.com/search
Subscription Information : http://www.15seconds.com/listserv.htm
Advertising Information: http://www.internet.com/mediakit/


Reply via email to