|
-
Jul 26th, 2005, 10:36 AM
#1
Thread Starter
Member
[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
-
Jul 26th, 2005, 12:01 PM
#2
Re: Inserting data using DataGrid control
 Originally Posted by ankeet1
... data grid displays certain data which is supplied by stored procedure. ...
Your stored proc might not return updateable recordset.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|