SelectedValue

2 posts, 0 answers
  1. ehsan sadeghi
    ehsan sadeghi avatar
    11 posts
    Member since:
    May 2005

    Posted 24 May 2011 Link to this post

    I load items in combobox at runtime but when i change the selecteditem, no value is present either via selectedvalue or selecteditem.value
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 24 May 2011 Link to this post

    Hello Ehsan,

    Have you set the DataTextField and DataValueField correctly. I hope this help article will help you.
    Binding to DataTable, DataSet, or DataView.

    Thanks,
    Shinu.
Back to Top