Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I have question about if something is possible.

 

I want to bind a combobox to my database. The problem is that the table I want to bind to have composite primary key made up of three entity sets. Is there a way that I can get a combo box to show all three columns of data as opposed to just one column like I have always seen. Any suggestions or a notice that it is not possible would be great.

Thanks

  • *Experts*
Posted

With the bult in combobox, you can only show one column. You can put an expression column in your DataTable that merges 3 fields into one and show that in the drop down. Or, you can use another control (many 3rd party controls can have multiple columns).

 

-Nerseus

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...