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

Forum statistics

Threads
473,769
Messages
2,569,577
Members
45,054
Latest member
LucyCarper

Latest Threads

Top