Bound Control Problem

  • Thread starter Thread starter Peder Y
  • Start date Start date
P

Peder Y

I have a DataTable with "FirstName" and "LastName" columns.

How can I get my bound combo to show both these values as DisplayMember?


Thanks!


- Peder -
 
Add a new DataColumn to the underlying DataTable and set the DataColumns
Expression property to concatenate the two other column field values in the
same row.

Expression = "LastName + ', ' + FirstName"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top