Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dataview lost the first row ?
Message
From
10/02/2011 21:37:46
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Dataview lost the first row ?
Environment versions
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01499713
Message ID:
01499713
Views:
114
Why a Gridview control miss o dont show the row 0 of a Datareader ?

I write a simple webpage to get records from MS-SQL into a datareader.
verify the numbers of row with Fieldcount I check the numbers of rows are 3.
but when I use a Gridview to show data using :
GridView2.DataSource = dbDataReader2
GridView2.DataBind()

the row(0) is lost, Dataview if filled with only 2 rows (row(1), row(2)


Thanks for any advice.
- On the Road
In circle of Life
Reply
Map
View

Click here to load this message in the networking platform