Click here to Skip to main content
15,892,809 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi to all

Check bellow link and suggest me.

How to find gridview cell value when i click on cell[^]
Posted
Updated 7-Sep-11 15:40pm
v2
Comments
Al Moje 7-Sep-11 22:24pm    
Hi, I See your code and
I think the most appropriate way to your solution is to store those images in the database field.
Then make a handler (.ashx) code file to handle the retrieving of such image. By then the indexing of your rows and columns in your grid is fix and is easily pin point. I had been ecounter such problem of your's and the best solution I did is that first I've mention rather that storing image in target sub directory.

1 solution

why u need col index & row index
do u need them to get set no
if that in the image button it self for example dd commandargument =seat value " commandname="image1" in the gridview row comand
somthing like taht
switch(e.commandargument)
case "img1"
your code for reserv seat

break;
if i miss understand your request just explain more for me
 
Share this answer
 

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