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 1765 RedSon 5,000
Recognized Expert Expert
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,combo box2 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,combobo x2 should be filled with values "D","F","G" and if I select "B"
from combobox1,combo box2 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,combobo x2 should be filled with values "D","F","G" and if I select "B"
from combobox1,combo box2 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.
RedSon 5,000
Recognized Expert Expert
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 combobox, open up another datagridview instead
of the combobox dropdownlist. The reason I want to do this, is so I can
show more than one column at a time in the drop down list. Instead of
trying to make a multi-column combo, I thought it would be much...
|
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 tell me if this is even possible, and if
so, how to do it? If this is completely impossible, how would you suggest going
about sorting a ComboBox wherein the text displayed in the column is the
client's name, and the underlying value is an ID?
...
|
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 datagridview control? I am at a loss.
Thanks,
David
|
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 Interface). I am binding
DataGridViewTextBoxColumn to the property of the objects in my
collection.
I have a combobox that should display a choice of ranges. Initiallly
combobox should be bound to a different datatable from a look up table.
How do...
|
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 database. For example:
table JobTypes
1 | Manager
2 | Controller
3 | Supervisor
table Employee
| |
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 combo box column.
Data binding is working fine for the first two columns. I am able to
edit values and persist them back to the bound object and ultimately
back to the database.
|
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 like this
<new>
First
Second
Third
|
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 to get the data in a
datagridview to change. For example 2 columns are ID and amount_paid, the
datagridview loads on form load with all ID's and amounts. How do I get it to
only bring back the selected ID. Sounds like I may need to change the SQL...
|
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 that new row should not added and
presses up arrow.
DataGridView does not show this unfinished row anymore.
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |