J
Jordi Rico
Hi,
I've been searching quite a lot and can't find any answer.
Let's put an example:
I have 2 tables:
Master:
idMaster int
masterName nvarchar(50)
Details:
idDetails int
idMaster int
detailsName nvarchar(50)
quantity int
I have a datagridview and I want to display data from Details table,
but I also want to display a column with masterName from it's parent
table. This column won't be editable, but I must be able to change
some columns from details (for example quantity) and update database
with this changes. I remark that masterName will be only informative.
I have been searching and can't do this thing. I thought it would be
easier but I'm stuck with this. Any help will be appreciated.
Thanks in advance,
Jordi Rico
I've been searching quite a lot and can't find any answer.
Let's put an example:
I have 2 tables:
Master:
idMaster int
masterName nvarchar(50)
Details:
idDetails int
idMaster int
detailsName nvarchar(50)
quantity int
I have a datagridview and I want to display data from Details table,
but I also want to display a column with masterName from it's parent
table. This column won't be editable, but I must be able to change
some columns from details (for example quantity) and update database
with this changes. I remark that masterName will be only informative.
I have been searching and can't do this thing. I thought it would be
easier but I'm stuck with this. Any help will be appreciated.
Thanks in advance,
Jordi Rico