Hello
I have class in that i have write some code and assign value to variable ,
now i want that value to aspx.cs page how to pass class value to aspx file.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rajeev PunhaniPosted May 3, 2016, 3:06 AM
Hi Vaishali,
Please find the code
assign value to number using form class name.
Rajeesh MenothPosted May 3, 2016, 2:44 AM
Vaishali UchekarPosted May 3, 2016, 2:37 AM
Ravi PatelPosted May 3, 2016, 2:32 AM
Rajeesh MenothPosted May 3, 2016, 2:30 AM
Rajeev PunhaniPosted May 3, 2016, 2:24 AM
Hi Vaishali,
Create a property in the code behind. Assign it the valuefrom the output of class method.This property is easily accessible in your aspx page.
If the above solution is helpful then,accept the answer.