Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SqlDataReader Data Class Question
Message
From
28/10/2004 16:41:27
 
General information
Forum:
ASP.NET
Category:
Web forms
Environment versions
Environment:
C# 1.1
OS:
Windows 2000 SP3
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00954923
Message ID:
00955499
Views:
17
Try the following, by the way, I program in VB.NET so my C# syntax may be off.


dim objReader as sqlDataReader

objReader = ScrapDB.GetUsers();
DdlUsers.DataSource = objReader;
DdlUsers.DataTextField = “UsersID”;
DdlUsers.DataBind();

objReader.Close;
Randy Belcher
AFG Industries, Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform