Click here to Skip to main content
15,879,184 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Dim RS = CMD.ExecuteResultSet(SqlServerCe.ResultSetOptions.Insensitive)

i cannot find ExecuteResultSet in mysql commond can you tell me what i can do?
Posted
Comments
tjnapster555 20-Sep-14 14:30pm    
and i am using c# and this code is in vb so it convert like this
dynamic RS= CMD.ExecuteResultSet(SqlServerCe.ResultSetOptions.Insensitive);

1 solution

This is a method of System.Data.SqlServerCe.SqlCeResultSet, not "command" or something else:
http://msdn.microsoft.com/en-us/library/zcfxd5se%28v=vs.100%29.aspx[^].

If you ask such questions, you should at least show the declaration of "CMD" and everything which is relevant.

—SA
 
Share this answer
 
Comments
tjnapster555 20-Sep-14 18:39pm    
SqlCeCommand CMD=new SqlCeCommand();
Sergey Alexandrovich Kryukov 20-Sep-14 20:40pm    
All right, confirmed: you are trying to call the method on command, which does not exist. There is the method... referenced above. This is the answer. Will you accept it formally (green "Accept" button)?
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900