Howto remove last row in a repeater/datareader

  • Thread starter Thread starter Anders
  • Start date Start date
A

Anders

Hi, there dosnt seem to be function in the sqldatereader or the repeater
that can remove the last row.

Hope someone can help.
Thanks,
Anders
 
No. You will need to implement this yourself, either by simply executing a
SqlCommand or using something like a DataSet with a SqlDataAdapter instead
of a SqlDataReader.
 
Thanks Philip. I have parsed the datareader into an array as a solution.

cheers,
Anders

Philip Q said:
No. You will need to implement this yourself, either by simply executing a
SqlCommand or using something like a DataSet with a SqlDataAdapter instead
of a SqlDataReader.

--
Philip Q
Microsoft MVP [ASP.NET]

Anders said:
Hi, there dosnt seem to be function in the sqldatereader or the repeater
that can remove the last row.

Hope someone can help.
Thanks,
Anders
 
Back
Top