摘要: 在after delete触发器中执行update语句,更新另外一个表单数据ALTER TRIGGER [dbo].[UpdateBookOfStudentFlag]on [dbo].[tblBookInvoiceDetail] AFTER DELETEAS BEGIN update BookOfStudent set flag_orderUsed=0 where BookOfStudent.id = 52812--(select Book_ofStudent_Id from deleted)END表错,提示受影响的行数多于1The row value(s) updated or dele.. 阅读全文
posted @ 2012-12-21 11:20 zyip 阅读(770) 评论(0) 推荐(0) 编辑
摘要: public static string path = "LDAP://192.168.8.1"; public static string admin = "administrator"; public static string pwd = ""; public static DirectoryEntry createDirectoryEntry(string admin, string pwd) { DirectoryEntry ldapConnection = new DirectoryEntry(... 阅读全文
posted @ 2012-12-21 09:48 zyip 阅读(204) 评论(0) 推荐(0) 编辑