How to pass values from aspx(html) page to codebehind page.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jayachandrav
    New Member
    • Jul 2008
    • 1

    How to pass values from aspx(html) page to codebehind page.

    Hello,
    How to pass values from the html page to the codebehind of the same page.
    Thanks for advance,
    JC.
  • kunal pawar
    Contributor
    • Oct 2007
    • 297

    #2
    It is depends on ur control. If u hv server control then in code behind using .Text or SelectedValue properties u will get values

    There is another way is using Request variables
    request.QuerySt ring("Control Id") or
    Request.Form("C ontrol Id")

    Comment

    • Frinavale
      Recognized Expert Expert
      • Oct 2006
      • 9749

      #3
      What have you tried so far?

      It seems as if you are asking how to create an ASP.NET website/web application.
      A great resource to use when you start learning ASP.NET is the MSDN Library.


      Please take the time to research the problem before you post your question. The experts here are more than willing to help you with a specific problem but you have to do your part to learn the basics. Please take the time to read over the posting guidlines specifically the section on Before you post your question.

      Comment

      Working...