请帮助我,这个操作必须在VB.NET中使用可更新的查询 [英] Please kindly help me out with this operation must use an updatable query in VB.NET

查看:70
本文介绍了请帮助我,这个操作必须在VB.NET中使用可更新的查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请帮我这个,在我用installsheild部署我的项目后,每当我试图保存数据时,它一直说'操作必须使用可更新的查询



我尝试了什么:



i已尽我所能,请帮助我,让我能按时完成项目

please help me with this, After i deployed my project with installsheild whenever i tried to save a data it keeps saying 'operation must use an updatable query

What I have tried:

i have tried everything i can, please kindly help me out so i can finish the project on time

推荐答案

我们无法帮助您 - 我们无法访问您的代码!



猜测,它是你的连接字符串 - 你是否为部署软件的新网络更新了它?



所以从头开始。可能你不能使用调试器 - 目标PC不太可能安装VS - 所以你必须依靠旧的方法,即日志记录。

在代码中添加日志记录语句以尝试和隔离软件的哪个部分正在生成错误。当您知道粗糙区域时,您可以开始在该区域添加更强烈的日志记录以进一步缩小范围。在某些时候,日志记录将需要包括变量内容,字符串值,如连接字符串和使用输入,等等。每次添加更多日志记录时,您都需要将新软件重新发布到目标计算机。



这应该让您指向正确的方向,或者至少给出您可以提供给我们的信息。



修复问题后别忘了删除日志记录!
We can't help you - we don't have any access to your code!

At a guess, it's your connection string - did you update it for the new network the software is deployed on?

So start at the beginning. Probably you can't use the debugger - it's unlikely the target PC will have VS installed - so you will have to fall back on older methods, namely logging.
Add logging statements to your code to try and isolate which part of your software is generating the error. When you know the rough area, you can start adding more intense logging in that area to narrow it down further. At some point, the logging will need to include variable contents, string values such as connection strings and use input, and so forth. Each time you add more logging, you will need to reissue the new software to the target machine.

That should get you pointed in the right direction, or at least give you information you can feed to us.

Don't forget to remove the logging once you fixed the problem!


这篇关于请帮助我,这个操作必须在VB.NET中使用可更新的查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆