文章分类 -  .Net

摘要:ParameterizedThreadStart parStart = new ParameterizedThreadStart(BeginCutImg); Thread thread = new Thread(new ParameterizedThreadStart(parStart)); thread.Start(row); 阅读全文
posted @ 2013-05-28 09:31 顺手 阅读(104) 评论(0) 推荐(0)
摘要:/* 菜单部分 */.top_bar{ background-image:url(../images/top_bar.jpg); width:100%; text-align:center; }.nav{width: 968px;height: 33px; margin:auto;}.nav ul{list-style-type: none;margin: 0;padding: 0;line-height: 33px;}.nav li{float: left;text-align: center;}.nav li a{width: 138px;display: block;text-decor 阅读全文
posted @ 2013-03-28 18:28 顺手 阅读(234) 评论(0) 推荐(0)
摘要:select * from ( select row_number() over(order by code) row , * from CSH_GCBH) as a where a.row between 101 and 110 阅读全文
posted @ 2012-07-18 15:55 顺手 阅读(126) 评论(0) 推荐(0)
摘要://转换成swf // 实例一个Process类,启动一个独立进程 System.Diagnostics.Process p = new System.Diagnostics.Process(); // 设定程序名 p.StartInfo.FileName = "cmd.exe"; // 关闭Shell的使用 p.StartInfo.UseShellExecute = false; // 重定向标准输入 p.StartInfo.RedirectStandardInput = true; // 重定向标准输出 p.StartInfo.RedirectStandardOutpu 阅读全文
posted @ 2012-07-09 15:50 顺手 阅读(191) 评论(0) 推荐(0)
摘要:<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>注册按钮在倒计时后才可以点击的效果</title></head><body><form id="form1" name="form1" ><input type="submit" name="Submit" 阅读全文
posted @ 2012-05-16 14:40 顺手 阅读(82) 评论(0) 推荐(0)
摘要:private int z1 = 0, z2 = 13; private int Left_LONG = 115, Right_LONG = 125; private int Top_LAT = 31, Botton_LAT = 29; private string url = "http://mt3.google.cn/vt/lyrs=m@174000000&hl=zh-CN&gl=cn&src=app&x={0}&y={1}&z={2}&s=Ga"; string filepath = @"F:\&quo 阅读全文
posted @ 2012-04-25 18:25 顺手 阅读(216) 评论(0) 推荐(0)
摘要:/// <summary> /// 根据纵面轴线,获取Z坐标 /// </summary> public double GetZByMZongMian(MZongMian model, double lc) { DTAVLine line = new DTAVLine( model.QXLX, model.QSLC, model.ZZLC, model.QSZZB, model.ZZZZB, model.QSPD, model.ZZPD, model.BJ); return line.Get_Local_Z(lc); } /// <summary> /// 阅读全文
posted @ 2012-04-25 13:30 顺手 阅读(673) 评论(0) 推荐(0)
摘要:1.JSON解析 (1).解析Object之一:?1{"url":"http://www.cnblogs.com/qianxudetianxia"} 解析方法:?12JSONObject demoJson = new JSONObject(jsonString);String url = demoJson.getString("url"); (2).解析Object之二:?1{"name":"android","name":"iphone"} 解析方法:? 阅读全文
posted @ 2012-03-30 10:45 顺手 阅读(6126) 评论(0) 推荐(1)
摘要:[WebMethod] public static string UpdateJinDuNew(string lvlx) {。。。。。。。。。}--------------------------------- 阅读全文
posted @ 2011-12-27 09:48 顺手 阅读(180) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2011-12-23 11:19 顺手 阅读(79) 评论(0) 推荐(0)
摘要:System.Configuration.Configuration conf = System.Configuration.ConfigurationManager.OpenExeConfiguration(System.Configuration.ConfigurationUserLevel.None); conf.AppSettings.SectionInformation.ProtectSection(null); conf.Save(System.Configuration.ConfigurationSaveMode.Full); 阅读全文
posted @ 2011-12-23 11:16 顺手 阅读(258) 评论(0) 推荐(0)