Click here to Skip to main content
15,892,674 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
hi i have two columns a and b.and i have data like this format
column a column b
x v1
x v2
x v3
y u1
y u2
y u3

i want an message to be shown when i click on v1 saying u have clicked v1 or v2 saying u have clicked v2..

the data in column a and column b will be shown in grid view and the data is brought from db..
Posted

1 solution

Hi. First you need to implement row selecting, and then data from selected row will be available for you and you'll do with it what you want.
 
Share this answer
 
Comments
spandananair 5-Oct-10 5:05am    
no that way i tried but it has not yielded my requirement..here every row i ma for explaining showing u x ..but in grid view it is not like that.
Pavel Yermalovich 5-Oct-10 5:13am    
When you select some row in GridView control you can get data from every column

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900