摘要:
--多条记录插入,用逗号分开值。 INSERT dbo.studentinfor ( id, name, class, age, hpsw ) VALUES ( N'3', -- id - nvarchar(50) N'test3', -- name - nvarchar(50) N'3', -- class - nvarchar(50)... 阅读全文
摘要:
1:游标方式 2:goto方式 阅读全文
摘要:
1 namespace MonitorService 2 { 3 public partial class MonitorSv : ServiceBase 4 { 5 string AppName = "",MusicName = ""; 6 string apppath = ""; 7 Threa 阅读全文
摘要:
1:路径:C:\Windows\Microsoft.NET\Framework\v4.0.30319 2:执行指令:C:\Windows\Microsoft.NET\Framework\v4.0.30319>installutil E:\MonitorService\MonitorService\M 阅读全文
摘要:
//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",""... 阅读全文
摘要:
DataTable dt = null; if (dt != null && dt.Rows.Count > 0)//不报错,因为先执行dt != null 成立时才执行dt.Rows.Count > 0 { } if (dt.Rows.Count > 0 && dt != n... 阅读全文
摘要:
string[] arraymax = new string[5]; string[] arraymin = new string[3]; string[] arraystr = new string[] {"11","22","33","44" }; arraymax = arraystr;//变成和arraystr一样 ... 阅读全文
摘要:
--len(string exepress)select yunlen,* from dbo.ctm where LEN(yunlen)=0 阅读全文
摘要:
listview单列多行的显示,以后再加多列多行的实例。 阅读全文
摘要:
1 [Activity(Label = "MainGridViewActivity", LaunchMode = LaunchMode.SingleTop)]//设置Activity启动模式 2 public class MainGridViewActivity : Activity 3 { 4 private GridView gview; 5 JavaList> data_list... 阅读全文