GridView Selected Index!

C

Child X

Hi all,

I have a web form with two GridViews on it.

GridView 'A' populates GridView 'B' based on it 'SelectedRowValue'.

What i am after, is ...if someone delete a row from grid 'A' and it is
currently the 'SelectedRow'...

I want to decrement GridViews selected index by 1 so it falls to the
previous row.

What is the best way to do this?

What would be the best way to determine if the GridView 'A' has any rows of
data in it...and not just the Empty Data Template...before i
try to modify the SelectedIndex property?

ASP 2.0

Cheers,
Adam
 

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

Members online

No members online now.

Forum statistics

Threads
473,983
Messages
2,570,187
Members
46,747
Latest member
jojoBizaroo

Latest Threads

Top