TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
brss
NA
2
4k
Argument are of wrong type?
Aug 31 2013 7:30 AM
Hi there, I have error as image shows."{"Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another."}" please need your advice to work this out. appreciated.
// Return the records you need
rs = new ADODB.Recordset();
rs.let_ActiveConnection(cn);
rs.CursorLocation = ADODB.CursorLocationEnum.adUseServer;
rs.CursorType = ADODB.CursorTypeEnum.adOpenForwardOnly;
rs.LockType = ADODB.LockTypeEnum.adLockReadOnly;
rs.let_Source("SELECT Blockno, Number FROM Table1 Where Date between " + "#" + S_Date + "#" + " and " + "#" + E_Date + "# ORDER BY Blockno");
rs.Open(null, null, (ADODB.CursorTypeEnum)(-1), (ADODB.LockTypeEnum)(-1), -1);
Reply
Answers (
1
)
Automating vmware virtual machine tasks using C# language
how to export datagridview to single excel sheet using c#?