Click here to Skip to main content
15,915,611 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I have a DetailView in my webpage that will display the company details, in that one field name is cusid, now my requirement is i have to assign the custid value to a variable in same page could you please help.

Thanks
Posted

1 solution

Hi Arokia,
If you want to use the custid value in the same page, place hidden field in datalist and you can use it in samepage.
If you still have a problem, send me a query.
 
Share this answer
 
Comments
Lancy.net 21-Nov-11 4:13am    
Hi Srinivas

Thanks for your reply.
string id = DetailsView1.Rows[0].Cells[1].Text.Trim(); is correct.
But i am able to take all row value and the cell value except what i want?
Rows[0].Cells[1].Text i am getting null value any suggestion?
srinivas vadepally 21-Nov-11 4:33am    
Arokia,
http://www.codingforums.com/showthread.php?t=129946
check this link.
Lancy.net 21-Nov-11 9:09am    
Thanks..

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