คำตอบ How to save a dropdown value from a site page to SQL DB?

  • 8 มิถุนายน 2555 6:38
     
     

    Hi,

     I have a site page created on MySite web app and have a dropdown control and a save button on it. Once the user saves a button, the dropdown's selected value has to be updated in SQL DB based on the user's account name.

    I tried using Client Object Model for this, but then I'm not sure if we can access/update SQL DB using Client Model? Can anyone help me on how to go about this?

    Thanks in advance,

    Melvin

ตอบทั้งหมด

  • 14 มิถุนายน 2555 2:55
    ผู้ดูแล
     
     
    Hi Melvin,

    Thank you for your question.
    I am trying to involve someone familiar with this topic to further look at this issue.

    Thanks,
    Lhan Han
  • 28 มิถุนายน 2555 0:15
     
     คำตอบ
    I think you can modify the site page using SPD and add server side code which has logic to grab the drop down value and add it SQL DB.
    • ทำเครื่องหมายเป็นคำตอบโดย Lhan HanModerator 5 กรกฎาคม 2555 3:48
    •