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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Rajeev PunhaniRank #551 · 4.4K reputationPosted May 2, 2016, 11:06 PM EDT
Hi Vaishali,
Please find the code
assign value to number using form class name.
Rajeev PunhaniRank #551 · 4.4K reputationPosted May 2, 2016, 10:24 PM EDT
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.
Rajeesh MenothRank #118 · 18.4K reputationPosted May 2, 2016, 10:30 PM EDT
Ravi PatelRank #439 · 5.7K reputationPosted May 2, 2016, 10:32 PM EDT
Vaishali Uchekar43 reputationPosted May 2, 2016, 10:37 PM EDT
Rajeesh MenothRank #118 · 18.4K reputationPosted May 2, 2016, 10:44 PM EDT