Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Session management

Session management

Scheduled Pinned Locked Moved ASP.NET
databasecareer
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mritnjai
    wrote on last edited by
    #1

    sir/madam sir i am fresher.i am working on job portal.how we pass information fron one page to anther page and save in database.like jobseeker form.please send me the coding of this portion Thanks mritunjai

    N J B 3 Replies Last reply
    0
    • M Mritnjai

      sir/madam sir i am fresher.i am working on job portal.how we pass information fron one page to anther page and save in database.like jobseeker form.please send me the coding of this portion Thanks mritunjai

      N Offline
      N Offline
      Nizha J
      wrote on last edited by
      #2

      you can either pass them through session or query string. then insert them. suppose your first page is first.aspx then a href = "first.aspx?name=sss & ?jobc=j200" and retrieve this in second page as request.querysyring("name")

      Nizha

      1 Reply Last reply
      0
      • M Mritnjai

        sir/madam sir i am fresher.i am working on job portal.how we pass information fron one page to anther page and save in database.like jobseeker form.please send me the coding of this portion Thanks mritunjai

        J Offline
        J Offline
        Jay_se
        wrote on last edited by
        #3

        Hi, As a fresher, you can easily understand it by following the below link. If you are using ASP.NET 2.0, then all the four methods will help you.:) Cross Page Post[^] Also u may refer msdn article http://msdn2.microsoft.com/en-us/library/ms178139.aspx[^]

        Regards, Jay

        1 Reply Last reply
        0
        • M Mritnjai

          sir/madam sir i am fresher.i am working on job portal.how we pass information fron one page to anther page and save in database.like jobseeker form.please send me the coding of this portion Thanks mritunjai

          B Offline
          B Offline
          Britney S Morales
          wrote on last edited by
          #4

          Check this example in order to transfer information from page 1 to page 2 This Example transfer the text and date string from page 1 and capture the information on page 2 page1.aspx Five Controls TextBox1 Calendar1 Button1 Button2 Label1 codeBehind for page1.aspx public partial class page1 : System.Web.UI.Page { string text1 = ""; string text2 = ""; protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { text1 = TextBox1.Text; text2 = Calendar1.SelectedDate.ToShortDateString(); Label1.Text = text1 + text2; } protected void Button2_Click(object sender, EventArgs e) { text1 = TextBox1.Text; text2 = Calendar1.SelectedDate.ToShortDateString(); Response.Redirect("page2.aspx?message1="+text1+"&message2="+text2 ,true); } } Page2.aspx Two Controls Label1 Button1 code behind for page2.aspx public partial class page2 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { string ms1 = Request.QueryString["message1"].ToString(); string ms2 = Request.QueryString["message2"].ToString(); Label1.Text = ms1 + ms2; } } :)

          keep Learning and you never will be out of date...

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups