|
-
May 4th, 2005, 11:42 AM
#3
Thread Starter
Member
Re: Datagrid Question
Here's what I had...
sqlcon.Open()
Dim drManagers As SqlDataReader = cmdGetManagers.ExecuteReader
While drManagers.Read
dgrid_ViewAllUsers.DataSource = drManagers
dgrid_ViewAllUsers.DataBind()
End While
drManagers.Close()
sqlcon.Close()
sqlcon is my connection string and cmdGetManagers is my SQL Command. I'm trying to figure out why the first line in my datagrid is left out. The datagrid looks fine just that first row is showing up. The first row in my datagrid is actually the second row in my table. Any help would be much appreciated.
Thanks,
M
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|