[RESOLVED] Inserting data using DataGrid control
On a form, I have a combo box and a data grid.
Based on user's select in the combo box, data grid displays certain data which is supplied by stored procedure.
ComboBox On_LostFocus()
dataGrid.dataSource = rsStoredProc
end ComboBoxSub
Thats how my dataGrid gets it data. I have set the AllowUpdates, AllowInsert, AllowDelete properties of the dataGrid to TRUE. But still there is no additional row on the dataGrid for the user to add data, neither can the user edit or delete.
What is wrong here. Please suggest.
thank you in advance!
Ankeet
Re: Inserting data using DataGrid control
Quote:
Originally Posted by ankeet1
... data grid displays certain data which is supplied by stored procedure. ...
Your stored proc might not return updateable recordset.