04 2009 档案
wap开发注意事项
摘要:wap 在页面当中 全部用P包括起来。 不 不能用this.Request.Uri 之类的。 手机不支持。 WML不能有空格。。 首个元素必须与里面不能有标签,最好能做到标签里不用标签, 不支持Cookie的手机只能在URL上面传值或把Session保存到数据库内。
阅读全文
sort和反射封装方法
摘要:Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Books是一个List的类型 bs.Books.Sort(delegate(Book a, Book b) { return a.Price.CompareTo(b.Price); ...
阅读全文
反射,LINQ,线程池,WCF,自动更新
摘要:CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->通过反射机制控制前台的数据项的显示和隐藏 有个需求,笔者比较挠头,要求如果前台有数据项的话 这一行就显示,没有的话,就隐藏。 如果要是一个一个判断,并通过Panel的Visible属...
阅读全文
SQL方面
摘要:CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->title 排前面select *from tbwhere title like '%酒精灯%' or body like '%酒精灯%' order by cas...
阅读全文
cookie序列化,抓取数据,SQL取数据
摘要:CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->zhougod 等级: 可用分等级:短工 总技术分:190 总技术分排名:65790 结帖率:90.91% 发表于:2008-03-20 10:54:23 楼主 如题,已知条件:星期1,求从当...
阅读全文
downdroplist绑定树形结构,把第二个字符串改变
摘要:问题1 假设有个字符串"aspkxiexhxlaspxxjmxaspmxj"; 如何把第二次的asp替换成*号? 字符串长度不是固定的,是会变化的 string str = "aspkxiexhxlaspxxjmxaspmxj"; int i = 0; str = Regex.Replace(str, "asp", new M...
阅读全文
Javascript判断是否关闭,去除页面中的所有的Script代码 ,去除html中中的html元素
摘要:1、使用Javascript方式 在每一个页面中加入一段Javascript代码: function window.onbeforeunload() { if (event.clientX>document.body.clientWidth && event.clientY关闭时没有判断到。 常用到的WEB服务 http://topic.csdn.net/u/200...
阅读全文
SQL查询排序,自我比较,启动程序
摘要:System.Diagnostics.Process.Start(@"D:\FoxMail\Foxmail.exe"); select *from MonthlyEnterpriseMonitor where cast([Year] AS nvarchar(10))+'-0'+cast([Month] AS nvarchar(10))+'-01 00:00:00' between '20...
阅读全文
启动程序及一些时间转换
摘要:一点技术含量都没有。 只不过是我自已把它记下来而已。 System.Diagnostics.Process.Start(@"D:\FoxMail\Foxmail.exe"); select * from MonthlyEnterpriseMonitor where cast([Year] AS nvarchar(10))+'-0'+cast([Month] AS nvarchar(...
阅读全文
浙公网安备 33010602011771号