You can do pretty much same as classic asp here ... get the data and then do response.write. However if u want to be little sophisticated ... you can create a label ( or a server side span tag ) and write the data on that.
-----Original Message----- From: Don DeSando [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 7: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/ --- 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/
