N
needin4mation
Is it a bad to page a datalist by using a dataadapter's fill method and
adjusting the int startRecord (in one of the overloads) as needed?
Example:
myAdap.Fill(myDS, index, 15, "contacts");
and changing the variable "index" as I need to? It would be 0 first,
then maybe 15 each time. index+=15 or index-=15? It seems to work so
far, but I do not know if it is "right." I am using SQL Server 2000 on
my host, so I cannot use ROWNUMBER(), afaik.
Thanks for advice.
adjusting the int startRecord (in one of the overloads) as needed?
Example:
myAdap.Fill(myDS, index, 15, "contacts");
and changing the variable "index" as I need to? It would be 0 first,
then maybe 15 each time. index+=15 or index-=15? It seems to work so
far, but I do not know if it is "right." I am using SQL Server 2000 on
my host, so I cannot use ROWNUMBER(), afaik.
Thanks for advice.