如何检查哪些数据发送到数据库
问题描述:
在我的表单中,我有一个与数据库(mydatabase.mdb)的连接,在我的表单中,我想提交一个日期.
我使用绑定到该字段的DateTimePicker.
如果我在程序提交之前检查DateTimePicker的.Value或.Text不是Null,则程序表示不是.
因此它提交了记录,但是如果我回头看该记录,则该字段为Null.
希望有人能帮助我.
Hi,
In my form I have a connection to my database (mydatabase.mdb) and in my form I want to submit a date.
I use a DateTimePicker that is bind to the field.
If i check, before the program submit, the DateTimePicker''s .Value or .Text isn''t Null, the program says that it isn''t.
So it submits the record, but if I look back at the record the field is Null.
Hope someone can help me.
答
希望SQL事件探查器将帮助您查看发送到数据库服务器的查询.
Naveen
Hi,
Hope SQL profiler will help you to view what are the queries that are sent to the database server.
Naveen