>> oledbDA.SelectCommand = oledbCMD
>> oledbDA.Fill(oledbDS, "NotesHistoryType")
>> cboNotesHistoryType.DataSource = oledbDS.Tables("NotesHistoryType")
>
>>After this you need:
>
>>cboNotesHistoryType.DataTextField = "Type";
>>cboNotesHistoryType.DataBind();
>
>Bob,
>
>Maybe this is a bad question, but don't you need to supply the DataValueField as well? (the unique id). Just curious...I haven't worked as much with web forms.
>
>Kevin
I don't want to circumvent the question... I hope Bob does give you an answer, but as it worked out in my case...
The table I needed to update is storing the text value as opposed to the unique_id, so in my case, I didn't need it...
normally, I think you're right... but if you look at my various posts, you'll see I don't know much yet... so, I hope Bob does give you/us an answer.
Rick
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only