|
-
Nov 15th, 2000, 03:45 PM
#1
Thread Starter
New Member
I donno why, but I cannot add record in the DataGrid with the following code.
Cnn.Execute ("create table [Table1] " & _ "
(Field1 INT,Field2 DateTime,Field3 VarChar(8000))")
Adodc1.ConnectionString = Cnn.ConnectionString
Adodc1.CommandType = adCmdText
Adodc1.RecordSource = "select * from [Table1]"
Adodc1.Refresh
DataGrid1.DataSoruce = Adodc1
When I try to add a row in it
it will have a not fatal error message
"The current row is not available"
What is this mean?
Thanks
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
|