Microsoft在线合作伙伴支持 安全! - www.microsoft.com/security 此帖子原样是按原样提供的。没有保证,也没有赋予任何权利。Hi Neil,First of all, I would like to confirm my understanding of your issue.From your description, I understand that you execute a SQL statementagainst a Access 2000 database, you got error.Have I fully understood you? If there is anything I misunderstood, pleasefeel free to let me know.Can you post the exact error message when the error occurs?Also you may try to run the SQL statement in Access directly to see whatyou will get.Please apply my suggestion above and let me know if it helps resolve yourproblem.Best regards,Peter HuangMicrosoft Online Partner SupportGet Secure! - www.microsoft.com/securityThis posting is provided "AS IS" with no warranties, and confers no rights.嗨Neil, 你试图成就什么,你想要选择一些东西,但是它会停留 无处。 而且当你第一次尝试时,首先选择简单的选择 " ;从mytable中选择*。 我也看到你在msdn上直接使用了这个样本。 我认为这是一个非常古老的样本。 /> 在我看来你想做的就是 myaggregateValue = myCommand.ExecuteScalar() 但是我在怀疑这是否是你想要的,所以告诉你想要什么 archieve CorHi Neil,What you try to archieve, you want to select something however it staysnowhere.And than when you try things the first time, start with a simple select as"Select * from mytable.Also I saw you took this direct form a sample on msdn.I think it is a very old sample.In my opinion you want to do somenting asmyaggregateValue = myCommand.ExecuteScalar()However I am in doubt if this is what you want, so tell what you want toarchieveCor 这篇关于在vb.net中执行make table查询时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-18 22:05