sqltransaction中的问题可以帮我吗? [英] Problem in sqltransaction can you help me?

查看:63
本文介绍了sqltransaction中的问题可以帮我吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有课要返回ionationstring

我以主要形式使用sqltransacton

但是当我写contonon.open()时(connecton是我的课)

无法打开锥体!!!!!

您能帮我吗?

I have class to return conetionstring

I use sqltransacton in main form

but when I whrite coneton.open() (The connecton is My class)

cann''t open the conection !!!!!

Can you Help me?

推荐答案



您能否发布代码.

问候
Subhendu
Hi,

Could you please post the code.

Regards
Subhendu


您的代码的主要问题是它不正确.转到任何已经定义了如何使用事务的msdn站点.然后使用它.

谢谢
Subhendu
The main problem of your code is that it is not correct. Go to any msdn site which have already defined how you could use transaction. Then use it.

Thanks
Subhendu


这篇关于sqltransaction中的问题可以帮我吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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