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
  1. Home
  2. Web Development
  3. ASP.NET
  4. C#.Net ASP (Urgent)

C#.Net ASP (Urgent)

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netcomhelptutorial
3 Posts 3 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
    Muhammad Waqas Butt
    wrote on last edited by
    #1

    Hi, I have a question. I have a comobox, i've bind data something like this oleDbDataAdapter1.Fill(dataSet11); DropDownList1.DataSource = dataSet11.Tables[0].DefaultView; DropDownList1.DataTextField = dataSet11.tbacdes.ac_headColumn.ToString(); //Display AC Head DropDownList1.DataValueField = dataSet11.tbacdes.ac_idColumn.ToString(); // Display AC Id DropDownList1.DataBind(); first of all is correct. Now I want to to show Account Header in comobox and when user select any value than selectindex pass header id this my question, please help me out init. Example ======= [Student Fee] Display value and in backend of this entry in comobox header id is 2 I'm using asp.net 1.1, C#.Net.

    |Muhamad Waqas Butt| waqasb4all@yahoo.com www.sktech.freewebspace.com

    V P 2 Replies Last reply
    0
    • M Muhammad Waqas Butt

      Hi, I have a question. I have a comobox, i've bind data something like this oleDbDataAdapter1.Fill(dataSet11); DropDownList1.DataSource = dataSet11.Tables[0].DefaultView; DropDownList1.DataTextField = dataSet11.tbacdes.ac_headColumn.ToString(); //Display AC Head DropDownList1.DataValueField = dataSet11.tbacdes.ac_idColumn.ToString(); // Display AC Id DropDownList1.DataBind(); first of all is correct. Now I want to to show Account Header in comobox and when user select any value than selectindex pass header id this my question, please help me out init. Example ======= [Student Fee] Display value and in backend of this entry in comobox header id is 2 I'm using asp.net 1.1, C#.Net.

      |Muhamad Waqas Butt| waqasb4all@yahoo.com www.sktech.freewebspace.com

      V Offline
      V Offline
      Vipin d
      wrote on last edited by
      #2

      i think this is u r trying to ask ..from drpdwn list drpdwn1.selecteditem.value is AC id and drpdwn1.selecteditem.text is AC header plz,dont put "URGENT" in posting queries.. -- modified at 5:29 Saturday 7th July, 2007

      All I ever wanted is what others have....
      CrazySanker

      1 Reply Last reply
      0
      • M Muhammad Waqas Butt

        Hi, I have a question. I have a comobox, i've bind data something like this oleDbDataAdapter1.Fill(dataSet11); DropDownList1.DataSource = dataSet11.Tables[0].DefaultView; DropDownList1.DataTextField = dataSet11.tbacdes.ac_headColumn.ToString(); //Display AC Head DropDownList1.DataValueField = dataSet11.tbacdes.ac_idColumn.ToString(); // Display AC Id DropDownList1.DataBind(); first of all is correct. Now I want to to show Account Header in comobox and when user select any value than selectindex pass header id this my question, please help me out init. Example ======= [Student Fee] Display value and in backend of this entry in comobox header id is 2 I'm using asp.net 1.1, C#.Net.

        |Muhamad Waqas Butt| waqasb4all@yahoo.com www.sktech.freewebspace.com

        P Offline
        P Offline
        Paul Conrad
        wrote on last edited by
        #3

        Don't cross post. You asked this same question in the C# forum.

        "That's no moon, it's a space station." - Obi-wan Kenobi

        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