see I have a question
I values in a datagridview combobox like,I named my combobox column as c1 and then I entered
values in it like
c.item.add("a")
c.item.add("b")
c.item.add("c")
Then I made another column next to this column as a datagridview combobox and named it as combobox c2
Now what I want is if I select "a" from the combobox1 the value corresponding to it should be
displayed in combobox2 may be (f,g,h) and if I select "b" the value corresponding to it should be displayed
like(j,k,l) and also till I enter value in the last column a new row should not be displayed
8 1742
The title of this thread is unacceptable. Please read the FAQ before posting again.
-MODERATOR
Welcome to the site. I am unsure of your question - which event to use? Thanks.
I have a doubt related with the datagridview combobox in vb.net 2005
That is I have made on column as combobox in datagridview and named it
as c1 using the property window and then entered value in this manually
like
c1.items.add("A")
c1.items.add("B")
c1.items.add("C")
After that I entered another cell next to this cell as combobox and
named it as c2, now my problem is if I select a value from combobox1,like if I choose
"A" I want the other combobox2 to be filled with "D","E"and "F" and if I select
"B" from first combobox1,combobox2 should be filled with value "G",
"H" and"I".Please help me as soon as possible.
Let it be any event I just want.....
First of all on load event of the form I entered a datgridview object and using the
column property window I made two columns as combobox and named them
as c1 and c2 .And then in the load event of the form I entered values"A","B","C"
in combobox1 .After that I ran the application.The first combobox contained
values "A","B"and "C".Now if I select "A" from combobox1 while the application i
s running,combobox2 should be filled with values "D","F","G" and if I select "B"
from combobox1,combobox2 should be filled with values "H","I" and"J"...like
that.Please give me a solution.
First of all on load event of the form I entered a datgridview object and using the
column property window I made two columns as combobox and named them
as c1 and c2 .And then in the load event of the form I entered values"A","B","C"
in combobox1 .After that I ran the application.The first combobox contained
values "A","B"and "C".Now if I select "A" from combobox1 while the application i
s running,combobox2 should be filled with values "D","F","G" and if I select "B"
from combobox1,combobox2 should be filled with values "H","I" and"J"...like
that.Please give me a solution.
Please don't repost questions, it is against site rules - see FAQs
Nobody is answering my question thats why I'm repeating it.Instead of solving
my problem people read this and inform me that this topic is reposted.
Nobody is answering my question thats why I'm repeating it.Instead of solving
my problem people read this and inform me that this topic is reposted.
If you are having trouble getting a response you might want to consider reading the part of the FAQ that discusses how to ask a question. It is not our job to solve your problem, if someone has some helpful advice then they will share it with you. Otherwise do not think for one second that we are here to do your bidding. Just because no one is responding to your post does not give you the right to continue posting more and more of the same question. How to ask a question READ IT! Sign in to post your reply or Sign up for a free account.
Similar topics
by: Aaron Smith |
last post by:
Ok, this is an odd one, but I could use some assistance with the
framework 2 in VB.Net...
I want to have a DataGridViewColumn, only have it use the ComboBox, then
when they drop down the...
|
by: Matt |
last post by:
I have been searching all over the web for a way to sort a DataGridView based on
the actual text being shown in a ComboBox column as opposed to the underlying
value (an ID in this case). Can anyone...
|
by: |
last post by:
I am sure this has been asked and answered, but here goes anyway...
VS.Net 2005, VB.Net
How can you display more than one field in the displaymember property of a
combobox inside the...
|
by: c_shah |
last post by:
I have the controls on my form display the values of the currently
selected row of the DataGridView. I am binding my DataGridView to a
collection
(Collection - which implements IBindingList...
|
by: sklett |
last post by:
I'm changing from a DataGrid to a DataGridView and have run across a
problem. The items that are bound to the DataGrid have an int Property that
represents a primary key of a lookup table in my...
|
by: Brian Pelton |
last post by:
This is on .Net 2.0 in a WinForms application.
I have a DataGridView that is bound to a BindingSource. The
DataGridView has 3 columns. The first two are "normal" text columns and
the last is a...
|
by: David Jackson |
last post by:
Hello,
I have an unbound DataGridView of which one of the columns is a ComboBox
colum containing category data, plus an additional option called <newSo
when the ComboBox is dropped down it looks...
|
by: =?Utf-8?B?Sm9obiBCdW5keQ==?= |
last post by:
New to databinding in vs2005, I always did it manually in 2003. I have no
problem loading comboboxes, and a change in that combobox changes the data in
the textboxes but I can not figure out a way...
|
by: Andrus |
last post by:
I tried to use modeless picklist for DataGridView custom ComboBoxColumn
without success.
Steps to reproduce issue:
1. Run code
2. Enter some character
3. Press Tab
Observed:
|
by: Andrus |
last post by:
Marc,
Thank you very much. I have issue on implementing add row properly using
this.
User presses down arrow in last row in grid starting adding new row.
Then user changes its mind desiding...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |