By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 1,665 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

DataGrid, ItemDataBound

P: n/a
Jon
Hello all,

Within the ItemDataBound event of the datagrid, what is the best way to
detect if the current item is the last row?

Thanks,

Jon
Nov 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Jon,

I can think of getting the table row count before making a DataBind call and
then just keeping a count of items in the event handler. But often you can
do the same things in PreRender event, when the grid is already fully built.
Consider this.

Eliyahu

"Jon" <Jo*@discussions.microsoft.com> wrote in message
news:26**********************************@microsof t.com...
Hello all,

Within the ItemDataBound event of the datagrid, what is the best way to
detect if the current item is the last row?

Thanks,

Jon

Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.