摘要:
在新建SqlConnection对象,连接资料库时连接失败,出现“常规网络错误。请检查您的网络文档。” DataSource直接写IP的话,通信协议是按照TCP/IP协议连接的,如果服务器端TCP/IP服务没有开启,则会报错“不允许远程连接” An error has occurred while establishing a connection to the server. W... 阅读全文
摘要:
create trigger dd on Chat For Insert,Update as if(Update(chat) and Update(cmaster)) begin declare @c char(15) set @c=(select chat from inserted) print @c raiserror('chat',16,10) rollback tran return e... 阅读全文
摘要:
在GridView控件中,一个是CommandField按钮,做选择用的,还有一个是ButtonField按钮,触发事件的时候,CommandField的Page.IsPostBack为true,ButtonField的Page.IsPostBack却为false 解决方案: - To solve it you can: - Remove update panel ... 阅读全文