M
Matt M.
I have a DataGrid that contains records from a SQL view. I would like to be
able to update those records from the DataGrid. I am getting this error
when I try to add a Data Adapter with a SQL view:
Could not determine which columns uniquely identify the rows for
"viewMM04Section1".
Is there something wrong my view (no primary key or something?)? I don't
want to have to manually write the Update statement.
Here is my view:
CREATE VIEW dbo.viewMM04Section1
AS
SELECT EmployeeNumber, LastName, S0101, S0102, S0103, S0104, S0105,
S0106, S0107, S0108, S0109, S0110
FROM dbo.MM2004
Thanks,
Matt
able to update those records from the DataGrid. I am getting this error
when I try to add a Data Adapter with a SQL view:
Could not determine which columns uniquely identify the rows for
"viewMM04Section1".
Is there something wrong my view (no primary key or something?)? I don't
want to have to manually write the Update statement.
Here is my view:
CREATE VIEW dbo.viewMM04Section1
AS
SELECT EmployeeNumber, LastName, S0101, S0102, S0103, S0104, S0105,
S0106, S0107, S0108, S0109, S0110
FROM dbo.MM2004
Thanks,
Matt