Passing trough a datagrid value
Posted
by
Tonz
on Stack Overflow
See other posts from Stack Overflow
or by Tonz
Published on 2010-12-26T16:49:16Z
Indexed on
2010/12/26
16:53 UTC
Read the original article
Hit count: 161
I have a datagrid with 2 columns.
One databound which display names and the other one is a hyperlink column.
Column1 = databound column, Column2 = hyperlink column.
column1: column2:
---------------------
Name1 Modify
Name2 Modify
Next when i click on any of the values in Column2 i simply get redirected to a other page.
This page contains 2 buttons/hyperlinks with Yes or No. (does not mather wich control, which one would bring the most easy to implement solution atm)
When clicked on No it simply redirects back to the orignal page.
Now the question is when i press "Yes" how exactly do i acces "Name1" (or Name2 if i press on the second modify)?
Meaning if i press Yes i want to use this Name for certain opertions (xml).
To put it short if i press on "modify" i want to be able to get that name associated with it (which is already displayed in the first bound column left of it).
So the goal is to use that name in Xpath for example so i can make a query towards that node with that certain name.
Hopefully this made some sence.
© Stack Overflow or respective owner