473,386 Members | 1,734 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Change in DataGrid Cell (combobox) should cause change in another cell (TextBox)

Dear fellows!

I have designed a form having SaleMasterTable and SaleDetailTable.
SaleDetailTable is Bounded with DataGrid.

Now I want that if in2nd Column's cell (it is combobox) value is
changed then as a result of this change in 3rd column's cell (it is
textbox) value is inserted from another table in database named
Product.

e.g: If in saledetail table ProductNameComboBox's (cell)value is
changed is should cause the change in
ProductPurchasePriceTextBox(cell) that should be fetched from
PriceTable.

Keep in mind it is in DataGrid.

Please help me regarding this issue.

Thanks and Regards.

Zulfiqar Ali Chaudhry

Apr 5 '07 #1
0 1176

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Kevin | last post by:
Hi Al I have two questions about a datagrid, I need to decide which way to go.... I have a datagrid that will show me all the entries in a table. When I click on any cell(actually I would...
0
by: metamedia | last post by:
How do I get a datagrid to register a data change from a custom control cell (combobox) I've got a Windows Application with a Windows Form Datagrid that has a custom combobox column. When the user...
3
by: PeterZ | last post by:
G'day, After doing much searching and pinching bits of ideas from here there and everywhere I came up with a fairly 'clean' solution of including a comboBox into a dataGrid column. You can...
3
by: TT (Tom Tempelaere) | last post by:
Hay there, I'm writing my own DataGridComboBoxColumn because .NET 1.1 does not have one (I hope .NET 2.0 supplies one). I based it on this article:...
0
by: JL3574 l | last post by:
i have a datagrid with a combo box added in it's columns . the combobox pulls values from a database in it's dropdownlist fashion. my problem is that when i pick a select on the combo box it...
14
by: scorpion53061 | last post by:
In this code what do I have to do to get the read only and Height property to work? this is going into a datagrid. Dim BOOKSLABEL As New ColoredTextBoxColumn BOOKSLABEL.TextBox.BackColor =...
4
by: Anthony | last post by:
Hi Folks, I'm adding some columns to my datagrid which are of Combo Box type. I'm inheriting DataGridTextBoxColumn and doing all the usual stuff to get them populated. This is working fine. I...
0
by: zhuang | last post by:
Hi, Adding combobox to datagrid has been posted many times. I have a datagrid which has multiple combobox columns and normal textbox columns. But how could I change other combo box values at...
0
by: adh | last post by:
Hi, I'm looking how to place a Combobox above a cell (current row or new datagrid.row.cell) for datagrid edditing, and exchange data between the cell/Combobox (or textbox)(WinForms!) Please...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
jinu1996
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.