|
-
Jun 29th, 2009, 01:45 AM
#1
Thread Starter
Fanatic Member
-
Jun 29th, 2009, 06:21 AM
#2
Re: Example please ***
Comboboxs are not multicolumned and I do not know what you mean by "execute a combobox"?
-
Jun 29th, 2009, 11:05 AM
#3
Frenzied Member
Re: Example please ***
If you are loading a combo box using a query, then the DisplayMember? would be like
Code:
Me.ComboBox1.DisplayMember = "FirstName" & " LastName"
-
Jun 29th, 2009, 11:41 AM
#4
Addicted Member
Re: Example please ***
As hack said, Comboboxes in a datagrid are not multicolumned. You could edit the columns using the smart tag and set the desired column to datagridviewComboBoxColumn in the design area.
-
Jun 29th, 2009, 10:50 PM
#5
Thread Starter
Fanatic Member
Re: Example please ***
This is picture of it. i think to make it not very difficult but i cant still figure out.
-
Jun 29th, 2009, 11:09 PM
#6
Thread Starter
Fanatic Member
Re: Example please ***
 Originally Posted by CoachBarker
If you are loading a combo box using a query, then the DisplayMember? would be like
Code:
Me.ComboBox1.DisplayMember = "FirstName" & " LastName"
I try :
Code:
ComboBox26.DataSource = stu.dt
ComboBox26.DisplayMember = "Họ_tên" & "Ngày_sinh"
But not work....
-
Jun 29th, 2009, 11:57 PM
#7
Re: Example please ***
Have you got a multicolumn combo box control from the web? If not, that's the first thing to do. After that you need to either rewrite that control or else inherit it, then implement the IDataGridViewEditingControl interface. Do that first, then we can talk some more.
-
Jun 30th, 2009, 07:14 PM
#8
Thread Starter
Fanatic Member
Re: Example please ***
 Originally Posted by jmcilhinney
Have you got a multicolumn combo box control from the web? If not, that's the first thing to do. After that you need to either rewrite that control or else inherit it, then implement the IDataGridViewEditingControl interface. Do that first, then we can talk some more.
I haven't got it. how can i do that ?
-
Jun 30th, 2009, 07:44 PM
#9
Re: Example please ***
 Originally Posted by manhit45
I haven't got it. how can i do that ? 
There's this cool site called Google that lets you search for things on the web. Whatever will they think of next?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|