上一页 1 ··· 6 7 8 9 10 11 下一页
摘要: --多条记录插入,用逗号分开值。 INSERT dbo.studentinfor ( id, name, class, age, hpsw ) VALUES ( N'3', -- id - nvarchar(50) N'test3', -- name - nvarchar(50) N'3', -- class - nvarchar(50)... 阅读全文
posted @ 2017-07-09 11:50 longdb 阅读(1541) 评论(0) 推荐(0) 编辑
摘要: 1:游标方式 2:goto方式 阅读全文
posted @ 2017-07-07 16:36 longdb 阅读(2941) 评论(0) 推荐(0) 编辑
摘要: 1 namespace MonitorService 2 { 3 public partial class MonitorSv : ServiceBase 4 { 5 string AppName = "",MusicName = ""; 6 string apppath = ""; 7 Threa 阅读全文
posted @ 2017-07-06 14:07 longdb 阅读(2637) 评论(0) 推荐(0) 编辑
摘要: 1:路径:C:\Windows\Microsoft.NET\Framework\v4.0.30319 2:执行指令:C:\Windows\Microsoft.NET\Framework\v4.0.30319>installutil E:\MonitorService\MonitorService\M 阅读全文
posted @ 2017-07-05 11:27 longdb 阅读(288) 评论(0) 推荐(0) 编辑
摘要: //BackGroundColor表达式中填写:=IIf((Month(Now()) - Month("2017/7/1") = 0) AND ((Day(Now()) - Day("2017/7/1") >= -3) AND (Day(Now()) - Day("2017/7/1") 0)) OR (Month(Now()) - Month("2017/7/7") > 0),"Red",""... 阅读全文
posted @ 2017-07-04 16:12 longdb 阅读(393) 评论(0) 推荐(0) 编辑
摘要: DataTable dt = null; if (dt != null && dt.Rows.Count > 0)//不报错,因为先执行dt != null 成立时才执行dt.Rows.Count > 0 { } if (dt.Rows.Count > 0 && dt != n... 阅读全文
posted @ 2017-07-04 11:28 longdb 阅读(1848) 评论(2) 推荐(1) 编辑
摘要: string[] arraymax = new string[5]; string[] arraymin = new string[3]; string[] arraystr = new string[] {"11","22","33","44" }; arraymax = arraystr;//变成和arraystr一样 ... 阅读全文
posted @ 2017-07-04 11:20 longdb 阅读(4287) 评论(0) 推荐(0) 编辑
摘要: --len(string exepress)select yunlen,* from dbo.ctm where LEN(yunlen)=0 阅读全文
posted @ 2017-07-03 15:03 longdb 阅读(3353) 评论(0) 推荐(0) 编辑
摘要: listview单列多行的显示,以后再加多列多行的实例。 阅读全文
posted @ 2017-06-12 20:29 longdb 阅读(2314) 评论(0) 推荐(0) 编辑
摘要: 1 [Activity(Label = "MainGridViewActivity", LaunchMode = LaunchMode.SingleTop)]//设置Activity启动模式 2 public class MainGridViewActivity : Activity 3 { 4 private GridView gview; 5 JavaList> data_list... 阅读全文
posted @ 2017-06-10 13:11 longdb 阅读(1671) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 下一页