上一页 1 ··· 3 4 5 6 7 8 9 下一页
摘要: //两个结构一样的DT合并 DataTable DataTable1 = new DataTable(); DataTable DataTable2 = new DataTable(); DataTable newDataTable = DataTable1.... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(795) 评论(0) 推荐(0) 编辑
摘要: 最新楼盘 热门楼盘 同价位 //用T1接收THIS function tabzxrmtjw(t1,index) { $("#zxrmtjw... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 打开任意一个word文档。 按Alt+F11,进入VBE界面 选择 Normal — 右键单击 —“插入”—“模块”— 修改模块名称为“NewMacros” 在右侧空白处编辑,以下内容: Sub AutoOpen() ActiveWindow.A... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 1、首先,先打开电脑的注册表,点击左下角图标,在输入栏输入regedit,按enter键进入 2、然后在左侧目录树中,按路径HKEY_LOCAL_MACHINE---SOFTWARE---Microsoft---Windows---CurrentVersion... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(657) 评论(0) 推荐(0) 编辑
摘要: SQLServer中小转大也是同样的默认快捷键,大转小换成L了 1、小写转换大写 Ctrl + shift + U 2、大写转换小写 Ctrl + shift + L 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(152) 评论(0) 推荐(0) 编辑
摘要: ---开启事务 begin tran delete from newscate where _cateid=22 commit tran --提交事务,执行sql语句 rollback tran; --回滚事务,撤消执行 ... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(45) 评论(0) 推荐(0) 编辑
摘要: 景点列表 ... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(41) 评论(0) 推荐(0) 编辑
摘要: ... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 推荐用第一种方法 -- SELECT TOP 2 * --页大小FROM ( SELECT ROW_NUMBER() OVER (ORDER BY id) AS RowNumber,* FROM sceneryType ) ... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 主要用到sql 函数 DATEDIFF(datepart,startdate,enddate) sql 语句,设 有 数据库表 tableA(日期字段ddate) ——查询 今日 select * from tableA where DateDiff(d... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(1208) 评论(0) 推荐(0) 编辑
摘要: ashx层 using System;using System.Text;using System.Web;using Model;using BLL;using System.Drawing;using System.IO;using System.Net;... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(598) 评论(0) 推荐(0) 编辑
摘要: 网页版登录。https://blog.csdn.net/wybshyy/article/details/103121598 WebService.ashx using System;using System.Text;using System.Web;us... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 接口版登录。https://blog.csdn.net/wybshyy/article/details/103121796 //phone.aspx ... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 方法一。 1、建立List用于存放多条语句 /// /// 保存表单/// /// protected void save(){ List list = new List(); list.Add(string.Format("insert into... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(88) 评论(0) 推荐(0) 编辑
摘要: DELETE 语句与 REFERENCE 约束"fk_newstypeid"冲突 解决办法: 在数据库中新建查询: alter table news drop CONSTRAINT fk_newstypeid 再重新执行delete就可以了 ... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 背景:我需要做一个动态名片。背景图固定,把名字或其他区域的字,动态换 然后生成一张新图, 这是后台.CS类 有哪里不懂留言一起研究 using System;using System.Collections;using System.Collections.G... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(338) 评论(0) 推荐(0) 编辑
摘要: Bitmap => byte[] Bitmap b = new Bitmap( "test.bmp "); MemoryStream ms = new MemoryStream(); b.Save(ms,Syste... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(1476) 评论(0) 推荐(0) 编辑
摘要: 转自cloud.tencent.com/developer/article/1068483 只贴快速使用的片段了 ... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(86) 评论(0) 推荐(0) 编辑
摘要: HTML部分 上传图片: ... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 在安装sqlserver2008、2012等时选择的是默认实例,服务器名称也就是电脑的名称,特别是登录本地的数据库,需要输入电脑用户名称加上SQLEXPRESS 例如:zhangsan\SQLEXPRESS 而不是自己本机的ip地址:192.168.1.xx ... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(1266) 评论(0) 推荐(0) 编辑
摘要: 也不知道啥原因,昨天还行,今天就连不上了,查半天,我重启下就可以了。 net stop mysql net start mysql 如果重启前,找不到MYSQL服务。 上个文章:https://blog.csdn.net/wybshyy/article/det... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 昨天还好好的,今天就自己消失了 CMD命令行输入 mysqld.exe -install 然后再去系统服务中找到mysql 点击之后 左侧栏中点击启动 然后在输入 mysql -uname -ppassword 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(177) 评论(0) 推荐(0) 编辑
摘要: [mysqld] character-set-server=utf8 #绑定IPv4和3306端口 bind-address = 0.0.0.0 port = 3306 sql_mode="STRICT_TRANS_TABLES,NO_ENGINE_SUBST... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 点开ABS或ABP的设置中心,点以文本编辑,把下面的复制进去,保存 163.com##[id="dlFrame_l"] 里面放ID 规则开始------------------------------------------------------------... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(1155) 评论(0) 推荐(0) 编辑
摘要: Sql Prompt---Unable to connect to the Redgate Client Service 今天在使用SQLPrompt时,突然发现所有的提示都不能用了,在百度上搜索无果,刚刚在Google搜索,果然找到了自己想要的答案,今天... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(263) 评论(0) 推荐(0) 编辑
摘要: WHERE CAST(CONVERT(varchar,T0.TempInTime,112) AS int) >=20190101 AND CAST(CONVERT(varchar,T0.TempInTime,112) AS int)<=2019031... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 两种方法: 原: SELECT (Quantity*Price)/(Quantity*UnitPrice) AS [平均值] FROM ##表 报错:遇到以零作除数错误 1、在除数那里判断分母是否为0(用‘NULLIF’函数) SELECT (Quant... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(863) 评论(0) 推荐(0) 编辑
摘要: 1,工具免不要积分的百度盘的 方法连接:https://pan.baidu.com/s/1saNRIv6_FdPcjEQV2puWpQ 工具连接:https://pan.baidu.com/s/1I4AQss2UKCBq5D7BNCX4PQ 2,安装SQL P... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(616) 评论(0) 推荐(0) 编辑
摘要: jquery ajax调用webservice(C#)要注意的几个事项: 1、web.config里需要配置2个地方 在之间加入 /// ... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 如果想用ajax进行访问 首先在web.config里进行设置 添加在 节点之下 这样就是可以通过url进行访问了 不然就会报错 后台。 [WebService(Namespace = "http://tempuri.org/")] [W... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 在做数据统计的时候,行转列,列转行是经常碰到的问题。case when方式太麻烦了,而且可扩展性不强,可以使用 PIVOT,UNPIVOT比较快速实现行转列,列转行,而且可扩展性强 一、行转列 1、测试数据准备 CREATE TABLE [StudentSc... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(3731) 评论(0) 推荐(0) 编辑
摘要: Location 对象包含有关当前 URL 的信息。 Location 对象是 Window 对象的一个部分,可通过 window.location 属性来访问。 hash 设置或返回从井号 (#) 开始的 URL(锚)。 host ... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 1-100 级帮派技能费用表 等级 银币 帮贡 等级 银币 帮贡 1 100 0 51 71668 33 2 180 0 52 76760 36 3 280 0 53 82116 39 4 440 0 5... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(4276) 评论(0) 推荐(0) 编辑
摘要: style="pointer-events: none;" 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 之前懒得写判断ie版本js,因为网上关于这方面的代码太多了,所以从网上拷贝了一个,放到项目上才发现由于时效性的问题,代码不生效。就自己写一个吧。 怎么去看浏览器的内核等信息 ---- js的全局对象window子属性navigator.userAgent,这个... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 最近做了一个响应式网站,主要用到了CSS3里的@media screen,今天无意用IE8打开发现网站竟然不正常,才知道原来IE8不兼容响应式@media screen呢。下面跟大家分享下青岛星网的解决方法。 我看了下IE6-IE8下加载网站,网站不能正常显示... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(219) 评论(0) 推荐(0) 编辑
摘要: public static string GetValue(string key)//读取指定节点 { XmlDocument doc = new XmlDocument(); string nodeV... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(25) 评论(0) 推荐(0) 编辑
摘要: $('input[type=number]').keypress(function(e) { if (!String.fromCharCode(e.keyCode).match(/[0-9\.]/)) { return false; } });... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(382) 评论(0) 推荐(0) 编辑
摘要: protected void Button3_Click(object sender, EventArgs e) { DataTable dt = null; string tempprovince =... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(177) 评论(0) 推荐(0) 编辑
摘要: downtime.js /*! * jQuery downtime plugin * version 0.2 * Author: Rob Griffiths http://github.com/bytespider/downtime * Licence:... 阅读全文
posted @ 2022-03-23 08:45 离。 阅读(93) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 下一页