摘要: ~/Config/Config.xml 文件: 公用类和方法:using System; using System.Xml; namespace Common { /// /// Summary description for XMLHelper. /// public class XMLHelper { public X... 阅读全文
posted @ 2019-04-12 10:31 又是我 阅读(147) 评论(0) 推荐(0)
摘要: 项目中的代码,拿出来记着。 阅读全文
posted @ 2019-04-12 09:01 又是我 阅读(391) 评论(0) 推荐(0)
摘要: //AppSettings.config 节点代码 //.cs 后台代码 using System.Configuration; //导入命名空间 var IsUpdate=ConfigurationManager.AppSettings["IsUpdate"];//获取value值 if(IsUpdate=="true"){ //...执行的代码 } 阅读全文
posted @ 2017-10-23 11:46 又是我 阅读(1596) 评论(0) 推荐(0)
摘要: declare @totalCount1 int output declare @id1 varchar(10) declare @strsql1 nvarchar(max)=N'' declare @strsql2 nvarchar(max)=N'' select @strsql1=N' SELE 阅读全文
posted @ 2017-09-26 12:36 又是我 阅读(943) 评论(0) 推荐(0)
摘要: USE pro GO SELECT * INTO temp_budget_price@201704170950 FROM OPENDATASOURCE('Microsoft.Jet.OLEDB.4.0', 'Data Source="F:\avg_price.xls";User ID=sa;Pass 阅读全文
posted @ 2017-06-21 10:40 又是我 阅读(178) 评论(0) 推荐(0)
摘要: <script type="text/javascript"> $('input [name="ckball"]').click(function () { if ($('input [name="ckball"]').attr("checked", true)) { $('input [name= 阅读全文
posted @ 2017-06-21 10:35 又是我 阅读(160) 评论(0) 推荐(0)
摘要: function Show_TopDiv(msg,msg_Width,msg_Height) { var titleheight = "22px"; // 提示窗口标题高度 var bordercolor = "#666699"; // 提示窗口的边框颜色 var titlecolor = "#FF 阅读全文
posted @ 2017-06-21 10:34 又是我 阅读(1024) 评论(0) 推荐(0)
摘要: --實現split功能的函數create function [dbo].[func_split]( @SourceSql varchar(max), @StrSeprate varchar(10))returns @temp table(a varchar(100)) --根據需要﹐可以改變定義長度 阅读全文
posted @ 2017-06-21 10:24 又是我 阅读(477) 评论(0) 推荐(0)
摘要: /*--调用示例 gb_to_big和big_to_gb表存放着常用的简繁字 --可以百度到常用的简体汉字,然后用excel转换成繁体 再导入数据库。 --转换为繁体 select dbo.f_GB2BIG('我是中国人',1) --转换为简体 select dbo.f_GB2BIG('我是中國人' 阅读全文
posted @ 2017-06-21 10:17 又是我 阅读(999) 评论(0) 推荐(0)
摘要: <!DOCTYPE html><head><script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script><script>function testing(){ var string = '1u2,1u3,1 阅读全文
posted @ 2017-06-21 10:13 又是我 阅读(6185) 评论(0) 推荐(0)
点击右上角即可分享
微信分享提示