JiafanZhou
版主
发贴: 736
积分: 61
|
于 2008-06-09 20:27
Hi, lzq198491, welcome to CJSDN. There are some conventions here people adapt to follow: - embed your source code in code tag so that other people can read - describe your problem more detailed and clear e.g. In your first comment, I have seen no question (except some tiny hint:"no database connection") but a horrible source code. Then you told xuxiaolei that there are two database connections and the second does not work. Ok, do you want us to guess that?? Simply, sorry we cannot.
lzq198491 wrote: 这里有两个数据库连接,第一个在窗体加载的时候进行连接,那个连接没有问题。第二个是按钮btn1的监听事件里进行数据库连接,这个连接无法实现。没有任何的错误提示。
I see only one database invocation, don't understand why there are two?
When I was a kid I used to pray every night for a new bike. Then I realized that The Lord doesn't work that way, so I stole one and asked him to forgive me.
|