摘要:
在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.. 阅读全文
摘要:
textbox.maxlength可以限定输入内容的长度,但是如果想更精细地实现限定ansi字符串的长度该如何实现呢?ansi编码下,中文占2字节,英文1字节,textbox.maxlength无法限定混有中英文的ansi字符串。考虑一般情况下限定输入长度的方法:1.maxlength2.在KeyPress事件中处理3.在TextChanged中处理Dim oldTxt = "" Private Sub txtSingleTxt_TextChanged(sender As System.Object, e As System.EventArgs) Handles txtSi 阅读全文
摘要:
No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version of iOS to run your application or choose an iOS simulator as the destination.1.选择与ios设备同版本的sdk2.在organizer中启用设备的debug模式,确保设备指示为绿色 阅读全文