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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top