摘要: mciSendString 为嘛有的能取音频文件长度有的却不能View Code using System.Runtime.InteropServices;using System;using System.Collections.Generic;using System.Text;using System.IO;public class ClassMp3{ [DllImport("winmm.dll", EntryPoint = "mciSendString", CharSet = CharSet.Auto)] private static exter阅读全文
posted @ 2012-04-01 01:58 aiouluosi 阅读(15) 评论(0) 编辑
摘要: 在把Repeater 弄成用户控件时候,由于我用属性来接收得到的各种数据源(DataTable格式),所获得的列 也是不一样的,因此前台要拼脚本,如下:我用EVAL绑值的时候arr[k]这里会报错说k找不到,试了好几种方式都不行,不知道如何动态绑定它,大虾们有知道的救命啊!GetColName();方法是后台方法,返回当前数据源每列列名的链表集合Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--><ItemTemplate> <阅读全文
posted @ 2011-07-21 09:17 aiouluosi 阅读(174) 评论(0) 编辑
posted @ 2011-07-14 17:52 aiouluosi 阅读(37) 评论(0) 编辑
摘要: 他的页面代码和UI分离了,看案例你就知道了 http://dtcms.it134.cn/download/show/6.aspxURL非常友好 这点做到了貌似CMS也做得不错哦 http://www.it134.cn/download/show/7.aspx学习一下阅读全文
posted @ 2011-06-08 15:42 aiouluosi 阅读(43) 评论(0) 编辑
摘要: cookie版购物车 添加商品到购物车的方法 #region 添加到购物车AddShoppingCar /// <summary> /// 添加到购物车AddShoppingCar /// </summary> /// <param name="num">数量 如果存在产品 负数是减少 正数是增加 如果不存在 直接增加</param> /// <param name="id">货物ID</para...阅读全文
posted @ 2011-05-14 12:01 aiouluosi 阅读(153) 评论(0) 编辑
摘要: <system.net> <settings> <servicePointManager expect100Continue="false"/> </settings> </system.net>阅读全文
posted @ 2011-05-12 14:32 aiouluosi 阅读(138) 评论(0) 编辑
摘要: 1.左外连接和右外连接查询 Sql2000下是 a.ID *= b.ID 可以这样写;Sql2005下一律使用 left/right outer join 2.Ntext在Sql2000有长度16 而在Sql2005没有 并且Nvarchar(max)取代了Ntext类型 StringBuilder strSql = new StringBuilder(); strSql.Append("ins...阅读全文
posted @ 2011-04-27 22:39 aiouluosi 阅读(68) 评论(0) 编辑
摘要: 完全自主开发 个性化十足 基本满足客户的需求 前身是NetCms 以自己的努力做到极致 目前还在更新当中 还会继续完善。以此自勉 有一天自己的价值终会有所体现!阅读全文
posted @ 2011-04-21 23:59 aiouluosi 阅读(70) 评论(0) 编辑
摘要: 这是效果图。有想要此效果的朋友可以加我QQ:303795259 版权所有 - 购买无版权地址:http://www.access2008.cn/阅读全文
posted @ 2011-04-10 22:49 aiouluosi 阅读(53) 评论(0) 编辑
摘要: 测试Windows Live Writer 发布到博客园 很好 这工具怎么才用哦 以前就是觉得登录好麻烦 所以就很少写博客 呵呵 现在可以补下咯!阅读全文
posted @ 2011-04-10 22:40 aiouluosi 阅读(15) 评论(0) 编辑
摘要: 这是效果图。有想要此效果的朋友可以加我QQ:303795259阅读全文
posted @ 2011-04-10 22:33 aiouluosi 阅读(111) 评论(0) 编辑
摘要: http://www.cnblogs.com/chsword/archive/2008/09/29/aspnetmvc_video.html郁闷啊 win7旗舰本装不了Microsoft Visual Studio 2008 Sp1 只得装2010了今天终于装上了2010 感觉界面好不习惯啊 用惯了08以前的风格! 从0开始 MVC将会在我的世界种下美好的回忆阅读全文
posted @ 2011-04-05 23:20 aiouluosi 阅读(19) 评论(0) 编辑
摘要: 因为公司的产品用asp开发, 前一段时间用asp写了一个生成静态页面并分页的程序,但缘于对.net的热爱,写了这个.net下的生成静态页面并分页的程序。主要的原理就是替换模板里的特殊字符。1、静态模板页面 template.html,主要是定义了一些特殊字符,用来被替换。<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http阅读全文
posted @ 2011-02-25 09:50 aiouluosi 阅读(25) 评论(0) 编辑
摘要: <script>var test = function() {};test.prototype.aa=function(){alert("你好");};test.testt=function(){alert("hello");};var a = new test();a.aa();test.testt();</script><script>//参考jQueryvar test = function(){};test.prototype={init_1:function(){alert("你好");}阅读全文
posted @ 2010-03-16 16:40 aiouluosi 阅读(30) 评论(0) 编辑
摘要: 几个删除重复记录的SQL语句来源:68design.net 2007年11月29日 09:53 网友评论:0条 点击: 3420比如现在有一人员表 (表名:peosons)若想将姓名、身份证号、住址这三个字段完全相同的记录查询出来 select p1.* from persons p1,persons p2 where p1.id<>p2.id and p1.cardid = p2.c...阅读全文
posted @ 2010-03-16 09:10 aiouluosi 阅读(112) 评论(1) 编辑
摘要: http://www.jqueryajax.com/ 今晚找了好久都没有找到jQuery下载地址,最终直接到jQuery的官方上下载,目前jQuery最新版是1.3.2,下面是jQuery的下载地址:jquery-1.3.2.min(压缩版)有55.9Khttp://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.3.2.min.js&downloadBtn=%3CSPAN%3EDownload%3C%2FSPAN%3Ejquery的官方是:http://jquery.com/中文版jquery框架在线帮助地址:htt阅读全文
posted @ 2010-03-04 11:22 aiouluosi 阅读(88) 评论(1) 编辑
摘要: 见图阅读全文
posted @ 2008-07-19 11:39 aiouluosi 阅读(38) 评论(0) 编辑
摘要: <%@ Register TagPrefix="skm" Namespace="ActionlessForm" Assembly="ActionlessForm" %><skm:form runat="server" method="post"></skm:form>/Files/aiouluosi/ActionlessForm.rar阅读全文
posted @ 2008-06-18 10:44 aiouluosi 阅读(157) 评论(1) 编辑
摘要: img,label,button 都可以用这个<%=this.ControlID.ClientID%>获取控件对象就是textbox不行要用txt1.Attributers.Add.....阅读全文
posted @ 2008-06-13 18:29 aiouluosi 阅读(198) 评论(0) 编辑
摘要: 如何解决ASP.NET中的文件上传大小限制的问题,我们知道在默认情况下ASP.NET的文件上传大小限制为2M,一般情况下,我们可以采用更改WEB.Config文件来自定义最大文件大小,如下: <httpRuntime executionTimeout="300" maxRequestLength="40960" useFullyQualifiedRedirectUrl="false"/>...阅读全文
posted @ 2008-05-10 09:41 aiouluosi 阅读(84) 评论(0) 编辑
摘要: 请查看附件:/Files/aiouluosi/XMLNews2.0.rar阅读全文
posted @ 2008-05-10 09:32 aiouluosi 阅读(146) 评论(0) 编辑
摘要: 首先:你的域名要支持泛解析其次:确保你的重写dll修改后版本,下载地址:http://www.cnblogs.com/Files/aiouluosi/UrlRewriter.rar 第一步:<section name="RewriterConfig" type="URLRewriter.Config.RewriterConfigSerializerSectionHandler, URLRew...阅读全文
posted @ 2008-04-14 18:13 aiouluosi 阅读(82) 评论(0) 编辑
摘要: 如果改不好的话可以用一种傻瓜似的方法解决这个问题。。。。将所有文件另存为UTF-8.....阅读全文
posted @ 2008-04-09 17:53 aiouluosi 阅读(24) 评论(0) 编辑
摘要: 有两点做错了1 生成sql语句是没有选择 "排序规则"2 不应该选择优化/事务那个,选了那个就会变成自动增长http://topic.csdn.net/u/20070419/12/84884b29-3100-4ee3-ac9a-b24569ce43b0.html阅读全文
posted @ 2008-04-09 17:51 aiouluosi 阅读(62) 评论(0) 编辑
摘要: String.substr(N1,N2) 这个就是我们常用的从指定的位置(N1)截取指定长度(N2)的字符串; String.substring(N1,N2) 这个就是我们常用的从指定的位置(N1)到指定的位置(N2)的字符串; 这样更容易理解啊 对于http://localhost:8003/index.aspx substr(22,5)=substring(22,27) Result:inde...阅读全文
posted @ 2008-03-20 12:50 aiouluosi 阅读(850) 评论(0) 编辑
摘要: usingSystem;usingSystem.Data;usingSystem.Configuration;usingSystem.Collections;usingSystem.Web;usingSystem.Web.Security;usingSystem.Web.UI;usingSystem.Web.UI.WebControls;usingSystem.Web.UI.WebControls...阅读全文
posted @ 2008-03-12 11:25 aiouluosi 阅读(54) 评论(0) 编辑
posted @ 2008-02-23 17:20 aiouluosi 阅读(50) 评论(0) 编辑
posted @ 2008-01-30 16:58 aiouluosi 阅读(85) 评论(0) 编辑
posted @ 2008-01-30 16:41 aiouluosi 阅读(1665) 评论(0) 编辑
摘要: 其中包含三个类方法的调用:1.Common 常用的类方法2.SQLDBM 直接写Sql语句的模式3.XMLDBM 将Sql语句写到XMLsqlDB.xml里,该文件和Access数据库一起置于App_Data目录里Web.config的配置:<add name="DBType" connectionString="Access"/> <add name="Access" connectionString="ccConnectionString"/> <add name="cc阅读全文
posted @ 2007-11-17 19:14 aiouluosi 阅读(42) 评论(0) 编辑
posted @ 2007-09-10 09:50 aiouluosi 阅读(270) 评论(0) 编辑
posted @ 2007-08-30 09:18 aiouluosi 阅读(73) 评论(0) 编辑
posted @ 2007-08-17 14:19 aiouluosi 阅读(34) 评论(0) 编辑
posted @ 2007-08-17 14:17 aiouluosi 阅读(100) 评论(0) 编辑
posted @ 2007-08-17 14:15 aiouluosi 阅读(2059) 评论(0) 编辑
posted @ 2007-08-17 14:14 aiouluosi 阅读(55) 评论(0) 编辑
posted @ 2007-08-14 19:21 aiouluosi 阅读(237) 评论(0) 编辑
posted @ 2007-08-14 12:59 aiouluosi 阅读(101) 评论(0) 编辑
posted @ 2007-08-14 11:59 aiouluosi 阅读(167) 评论(0) 编辑
posted @ 2007-08-06 12:19 aiouluosi 阅读(64) 评论(0) 编辑