Hi DD,
Not sure if I really understand the question? Surely this is not a task?
Get the value via the relevant objects properties, and then place it in the variable?!?!
e.g.
string x = dataView1[0][0].ToString(); //first row, first column.
FormView (Not too familiar with web, but I am sure it has its own object model for retrieving contained values.
string x = form1.Controls["textBox1"].Text;
etc.
Rob
The Developing Developer
Currently Working Towards:
MCAD C#
My Blog: http://www.robzyc.spaces.live.com
<center>
"Nothing can stop the man with the right mental attitude from achieving his goal;
nothing on earth can help the man with the wrong mental attitude".
Thomas Jefferson</center>