469,927 Members | 1,329 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,927 developers. It's quick & easy.

how to pass more parameters into the datagrid with hyperlink

2
pls anyone tell me that how to pass more parameter into the datagrid with hyperlink column at client side because i required a value of the selected hyperlink cell for fetching another table and also want to bind the data with other datagrid which is selected by the client.

so i basically required the value which is selected by the client and then pass the value of that link to other table and bind the data with other grid.

pls answer me for that because i wasted so many hours behind it so its urgent if any one can help me
Aug 9 '07 #1
4 1662
pls anyone tell me that how to pass more parameter into the datagrid with hyperlink column at client side because i required a value of the selected hyperlink cell for fetching another table and also want to bind the data with other datagrid which is selected by the client.

so i basically required the value which is selected by the client and then pass the value of that link to other table and bind the data with other grid.

pls answer me for that because i wasted so many hours behind it so its urgent if any one can help me
Hi
Try this..
Add select template field in ur grid view..Whenever client select a row u need to populate another grid.
To do this write grid1_selectedIndexChanged event for first grid and than get the selected index by grid1.selectedindex.
To get the value of particular column by grid1.item(index).(0..N-1).Tostring()...or ur need.
I hope this will help you.


Regards
Gyanendar
Aug 9 '07 #2
hirnis
2
Hi
Try this..
Add select template field in ur grid view..Whenever client select a row u need to populate another grid.
To do this write grid1_selectedIndexChanged event for first grid and than get the selected index by grid1.selectedindex.
To get the value of particular column by grid1.item(index).(0..N-1).Tostring()...or ur need.
I hope this will help you.


Regards
Gyanendar
thanks for ur reply but i required the datagird code not for gridview so pls can u give me solution for that if it is possible pls sir
Aug 10 '07 #3
thanks for ur reply but i required the datagird code not for gridview so pls can u give me solution for that if it is possible pls sir
I think u r working on .net 1.X framework.There u have datadrid which is upgraded as gridview in .net 2.0.

This solution work for datagrid too.

Regards
Gyanendar
Aug 10 '07 #4
pls anyone tell me that how to pass more parameter into the datagrid with hyperlink column at client side because i required a value of the selected hyperlink cell for fetching another table and also want to bind the data with other datagrid which is selected by the client.

so i basically required the value which is selected by the client and then pass the value of that link to other table and bind the data with other grid.

pls answer me for that because i wasted so many hours behind it so its urgent if any one can help me

ya u can pass more than one parameter in dbgrid class..
at the last there is a code of pagination and in that there are different parameter in that u can us ?id = {$id}& operation = {$operation} like these u can pass the more than one parameter..
Aug 10 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by cksj | last post: by
1 post views Thread by Machelle Chandler | last post: by
5 posts views Thread by sincethe2003 | last post: by
1 post views Thread by Greg Reynolds | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.