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. How to update value of combobox in editItem mode

How to update value of combobox in editItem mode

Scheduled Pinned Locked Moved ASP.NET
questiondatabasehelptutorialannouncement
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.
  • A Offline
    A Offline
    AaronNeo
    wrote on last edited by
    #1

    Hi guys, Thanks for the help previously for helping me to display combobox in editItem mode. I have a followup question, which is how do i update my database if the user had changed the value there? And how do i set the combobox to show the retreive value from the database ? Thank you everyone....;) AaronNeo

    P S 2 Replies Last reply
    0
    • A AaronNeo

      Hi guys, Thanks for the help previously for helping me to display combobox in editItem mode. I have a followup question, which is how do i update my database if the user had changed the value there? And how do i set the combobox to show the retreive value from the database ? Thank you everyone....;) AaronNeo

      P Offline
      P Offline
      PSK_
      wrote on last edited by
      #2

      To Save data from combo box. a> Iterate each row of the Gridview find the dropdown control in the gridview row using control id, get the selected value and update the value to the database. b> Set the auto-post back of the dropdown to true and handle the selected change event, get the value and update it to the database. To bind the control. a> Set the datasource property at design time only by calling a server side function which returns a datatable or dataview object. b> Or handle the row created event of the grid view, get the dropdown from the gridview row, set the datasource property. Regards, Prakash Kalakoti

      1 Reply Last reply
      0
      • A AaronNeo

        Hi guys, Thanks for the help previously for helping me to display combobox in editItem mode. I have a followup question, which is how do i update my database if the user had changed the value there? And how do i set the combobox to show the retreive value from the database ? Thank you everyone....;) AaronNeo

        S Offline
        S Offline
        Sherin Iranimose
        wrote on last edited by
        #3

        I allready replied for this... Check it out...

        Sherin Iranimose

        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