随笔分类 -  dotnet

同时使用 C# and VB.NET 在 .net 2.0 中
摘要:.net 2.0 中可以在一个项目中使用两种不同语言开发。。。 http://www.dotnetbips.com/articles/displayarticle.aspx?id=512主要是在config 中加上这个 注意下边就明白了.. 阅读全文

posted @ 2006-08-13 16:43 gwazy 阅读(370) 评论(0) 推荐(0)

WebbUpload上传组件(cnblog 一位网友写的)
摘要:自已用了一下,很不错的。。还时开源的。。。 特性简介可上传上小于1G的文件,可以配置Web.config文件来设定上传文件的大小。 完全基于.NET开发,无需任何客户端配置。 提供同步的上传进度条,显示实时上传进度信息。 不破坏页面逻辑,提供类似ASP.NET内置上传组件的使用方法。 不受 Server.ScriptTimeout(请求的超时设置) 影响,可配置服务器处理时间。 开发测试环境操作系... 阅读全文

posted @ 2006-07-11 12:14 gwazy 阅读(1046) 评论(7) 推荐(0)

C#版数据结构 (转自msdn)
摘要:http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/datastructures_guide.asp 阅读全文

posted @ 2006-07-10 01:50 gwazy 阅读(774) 评论(0) 推荐(0)

.net 中 varchar 类型中处理 换行 ,空格
摘要:.net 中 varchar 类型中处理 换行 ,空格 if(tempcontent=="") { tempcontent=""; } else { tempcontent=tempcontent... 阅读全文

posted @ 2006-07-09 17:22 gwazy 阅读(461) 评论(0) 推荐(0)

做了个上传下载任意文件到数据库
摘要:效果如下 效果如上 using System;using System.Collections;using System.ComponentModel;using System.Data;using System.Drawing;using System.Web;using System.Web.SessionState;using System.Web.UI;using System.Web... 阅读全文

posted @ 2006-07-06 17:47 gwazy 阅读(639) 评论(0) 推荐(0)

Asp.net中的页面乱码的问题
摘要:1. 或者 如果还不行 加上语言文化culture.en-AU 是澳洲的语言文化编码2.下载文件时指定文件名,中文的文件名出现了乱码? Response.AddHeader("Content-Disposition", "attachment; filename="+HttpUtility.UrlEncoding(filename.ToString ())); 3.如何识别字符串中是否包含... 阅读全文

posted @ 2006-07-06 17:24 gwazy 阅读(435) 评论(0) 推荐(0)

NET委托:一个C#睡前故事
摘要:英文原版地址:http://www.sellsbrothers.com/writing/default.aspx?content=delegates.htm .NET委托:一个C#睡前故事 英文版原作者:Chris Sells(www.sellsbrothers.com) 翻译:袁晓辉(www.farproc.com http://blog.csdn.net/uoyevoli) 紧... 阅读全文

posted @ 2006-06-22 09:22 gwazy 阅读(385) 评论(1) 推荐(0)

web 安装中配置 config 和 数据库
摘要:参考下边http://www.aspxboy.com/286/default.aspx中间代码是vb 的,改了一下 作者:李洪根 出处:csdn NET平台下WEB应用程序的部署(安装数据库和自动配置) 李洪根 在.net平台下,部署 Web 解决方案是比较方便的。我们可以利用Visual Studio.NET 2003添加一个WEB安装项目,在部署的“文件系统编辑器”中添加项目... 阅读全文

posted @ 2006-06-06 18:33 gwazy 阅读(537) 评论(2) 推荐(0)

web报表的匿名访问 reportservice
摘要:http://firmwolf.cnblogs.com/archive/2005/08/04/207062.aspx上边网友写的很详细的..... 阅读全文

posted @ 2006-05-11 11:40 gwazy 阅读(328) 评论(0) 推荐(0)

gdi+实现多种统计图表(饼状,折线,柱状)支持负从标
摘要:using System;using System.Web.UI;using System.Data;using System.Web.UI.WebControls;using System.Drawing;using System.Drawing.Imaging;using System.IO;using System.Web;using System.ComponentModel;using ... 阅读全文

posted @ 2006-05-09 08:54 gwazy 阅读(750) 评论(0) 推荐(0)

Improve performance using ADO.NET 2.0 batch update feature
摘要:Introduction When you use SqlDataAdapter for performing updates, the SqlDataAdapter propagates the updates one by one. That means if there are 100 rows to be updated the SqlDataAdapter will execute 1... 阅读全文

posted @ 2005-12-30 09:28 gwazy 阅读(1016) 评论(0) 推荐(0)

asp2.0 中不安装sqlexpress 的解决办法
摘要:\Windows\Microsoft.NET\Framework\[.Net Framework]\iisreg_Sql.exe 设置aspnetdb 的数据存放数据库 然后在 web.config 中设置 注意那个 更详细的可以在这看看 http://aspalliance.com/739 阅读全文

posted @ 2005-12-07 11:42 gwazy 阅读(711) 评论(0) 推荐(0)

owc11生成饼状图
摘要:using System;using System.Collections;using System.ComponentModel;using System.Data;using System.Drawing;using System.Web;using System.Web.SessionState;using System.Web.UI;using System.Web.UI.WebContr... 阅读全文

posted @ 2005-10-27 09:36 gwazy 阅读(2091) 评论(1) 推荐(0)

owc11生成柱状统计图
摘要:using System;using System.Collections;using System.ComponentModel;using System.Data;using System.Drawing;using System.Web;using System.Web.SessionState;using System.Web.UI;using System.Web.UI.WebContr... 阅读全文

posted @ 2005-10-27 09:34 gwazy 阅读(1588) 评论(0) 推荐(0)

可编辑的 select (当然也可以是 DropDownList)
摘要:在 csdn 找的,感觉还不错.....转自 http://community.csdn.net/Expert/topic/3915/3915919.xml?temp=.9949152 阅读全文

posted @ 2005-08-22 15:29 gwazy 阅读(2059) 评论(0) 推荐(0)

asp.net 2.0中异步调用数据
摘要:今天在老外的网上发现在一篇asp.net 2.0 中异步调用的文章。。。。。 http://fredrik.nsquared2.com/viewpost.aspx?PostID=282&showfeedback=true 按原来的代码写了一下,又不用异步试了一下,感觉调用异步稍微快一点,不过不是很明显.. 可能是调用异步时,webDev.WebServe 占用内存... 阅读全文

posted @ 2005-08-05 11:03 gwazy 阅读(645) 评论(0) 推荐(0)

asp.net 2.0中用 ICallbackEventHandler 实现无刷新联动
摘要:vs2005beta2 中通过 Untitled Page " SelectCommand="SELECT [au_id], [au_lname], [au_fname] FROM [authors]"> using System;using System... 阅读全文

posted @ 2005-08-04 16:10 gwazy 阅读(911) 评论(3) 推荐(0)

asp.net 2.0 中ICallbackEventHandler的使用(无刷新页面)
摘要:Untitled Page Result : using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;... 阅读全文

posted @ 2005-08-04 16:05 gwazy 阅读(611) 评论(0) 推荐(0)

asp.net2.0 中 web.config 的一些改变
摘要:using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.We... 阅读全文

posted @ 2005-08-01 17:39 gwazy 阅读(1949) 评论(0) 推荐(0)

开始asp.net2.0
摘要:最近没正儿八经做什么事,昨天老板给加了块条子,机子速度爽了不少,明天开始好好工作,,学习 asp.net2.0 ..... 今天发现了 asp.net 中的 webpart 不好用.....为什么要sqlexpress 数据库呢... 它在动行中会自动在根目录下的一个文件中生成一个数据库.. 害得我重装了一遍sql2005...... 阅读全文

posted @ 2005-07-30 22:20 gwazy 阅读(482) 评论(0) 推荐(0)

导航