update inner join
摘要:string sql = @"update a set a.M_ParentID=b.M_ParentID, a.M_Name=b.M_Name, a.M_Seq=b.M_Seq from SysMenu_BySchool a inner join ("; foreach (SysMenu_BySchoolEntity m in lstMenu) { sql += string.Format(...
阅读全文
posted @
2016-03-29 10:42
雪原日暮
阅读(192)
推荐(0) 编辑
一种循环方式
摘要:SELECT @Count=COUNT(Id) FROM #RecordTemp SET @i=0 WHILE @i<@Count BEGIN SET @i=@i+1 SELECT @Id=Id,@CoachIcNo=CoachIcNo,@StuIcNo=StuIcNo,@BeginTime=BeginTime,@EndTime=EndTime, @ActualTime=ActualTime...
阅读全文
posted @
2016-03-24 18:00
雪原日暮
阅读(194)
推荐(0) 编辑
SqlServer循环读取配置
摘要:USE [DB_JP_BaseInfo00] GO /****** Object: StoredProcedure [dbo].[sp_wx_getAppointmentInfo_Str] Script Date: 03/22/2016 14:48:24 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO -- ...
阅读全文
posted @
2016-03-22 14:47
雪原日暮
阅读(398)
推荐(0) 编辑
app抓包
摘要:http://www.360doc.com/content/14/1126/11/9200790_428168701.shtml 记得下载证书 不然有些网站是抓不到的
阅读全文
posted @
2016-03-20 16:46
雪原日暮
阅读(136)
推荐(0) 编辑
c# 前端写代码的情况
摘要:<%for(int i=0;i<list_model.Count;i++) { %> <div style=" padding-left:35px;padding-right:35px; background-color:white; margin-top:10px; height:160px; "
阅读全文
posted @
2016-03-16 16:34
雪原日暮
阅读(643)
推荐(0) 编辑
css样式
摘要:border: 1px solid #DDDDDD; 灰色样式
阅读全文
posted @
2016-03-14 17:59
雪原日暮
阅读(133)
推荐(0) 编辑
api图片传输,转成64位字符串进行传输
摘要:byte[] getImageByte = HttpHelper.getImageByte(HttpContext.Current.Server.MapPath(("~/UploadFiles/StuImgs/" + result_Model.StuImage))); if (getImageByt
阅读全文
posted @
2016-03-14 08:49
雪原日暮
阅读(352)
推荐(0) 编辑
c#获取远程图片的方法
摘要:public static int SaveImageFromWeb(string imgUrl, string path) { var aaa = Environment.CurrentDirectory; string imgName = imgUrl.ToString().Substring(
阅读全文
posted @
2016-03-14 08:43
雪原日暮
阅读(1794)
推荐(0) 编辑
分页
摘要:USE [DTMIS_LZ] GO /****** Object: StoredProcedure [dbo].[spPaginationPK] Script Date: 03/10/2016 18:33:32 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDEN
阅读全文
posted @
2016-03-10 18:33
雪原日暮
阅读(204)
推荐(0) 编辑
使用微信js接口的方法 ,以调用相机为例
摘要:protected string GetTimeStamp_Str=""; protected string nonceStr_Str = ""; protected string signature_Str = ""; protected void Page_Load(object sender,
阅读全文
posted @
2016-03-10 18:08
雪原日暮
阅读(3038)
推荐(0) 编辑
某个文件下下面的文件批量改名
摘要:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.IO;using System.Text;usi
阅读全文
posted @
2016-03-08 15:51
雪原日暮
阅读(201)
推荐(0) 编辑
查找本地文件中的特定字符串并替换代码
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Te
阅读全文
posted @
2016-03-08 15:50
雪原日暮
阅读(804)
推荐(0) 编辑
guid 新建
摘要:var guid = Guid.NewGuid();foreach (var i in new string[] { "P", "N", "B", "P", "X" }) Console.WriteLine("{0}:{1}", i, guid.ToString(i).ToUpper());P:(F
阅读全文
posted @
2016-03-07 14:36
雪原日暮
阅读(161)
推荐(0) 编辑
phpcms 换域名
摘要:修改/caches/configs/system.php里面所有和域名有关的,把以前的老域名修改为新域名就可以了。 进行后台设置-》站点管理 对相应的站点的域名进行修改。 更新系统缓存。点击后台右上角的“更新缓存”按钮。 进入内容-》附件管理-》附件地址替换。把附件地址批量的替换为新的地址。当你点击
阅读全文
posted @
2016-03-07 10:09
雪原日暮
阅读(182)
推荐(0) 编辑