选择显示字体大小

利用session和hashtable制作购物车

1private void datagrid1_itemcommand(object source, system.web.ui.webcontrols.datagridcommandeventargs e)//假设前面购买命令是一个命令名为buy的linkbutton2 {//关键,建立和加如购物车3 string pid=this.datagrid1.datakeys[e.item.itemindex].tostring();//取出宠物编号4 if(e.commandname=="buy")//如果命令名是 buy,说明是购买5 {6 if(session["bus"]==null)//先就得检查购物车是否存在,如果不存在,就建立呗7 {8 system.collections.hashtable ht=new hashtable();//先建立一个哈希表 9 ht.add(pid,...

http://www.sosof.com/detail/592/71959280654127.html -by - 丰搜 缓存页面


ajax实现网易相册样式的修改

普通的ajax应用,结合javascript对html元素的动态操控,结合而成一个优美的效果。还是用ajax.net,设置与前篇文章一样,不再累述。代码如下:163phototest.aspx.csusing system;using system.data;using system.configuration;using system.collections;using system.web;using system.web.security;using system.web.ui;using system.web.ui.webcontrols;using system.web.ui.webcontrols.webparts;using system.web.ui.htmlcontrols;using system.data.sqlclient;public partial class ...

http://www.sosof.com/detail/592/37259280656793.html -by - 丰搜 缓存页面


asp.net报表解决方法

1private void datagrid1_itemcommand(object source, system.web.ui.webcontrols.datagridcommandeventargs e)//假设前面购买命令是一个命令名为buy的linkbutton2 {//关键,建立和加如购物车3 string pid=this.datagrid1.datakeys[e.item.itemindex].tostring();//取出宠物编号4 if(e.commandname=="buy")//如果命令名是 buy,说明是购买5 {6 if(session["bus"]==null)//先就得检查购物车是否存在,如果不存在,就建立呗7 {8 system.collections.hashtable ht=new hashtable();//先建立一个哈希表 9 ht.add(pid,...

http://www.sosof.com/detail/592/93559280658220.html -by - 丰搜 缓存页面


url rewriting with regex for asp.net 2.0(在asp...

a new feature in asp.net 2.0 is it's built-in url rewriting support. when i looked into this new feature i found out it lacked regular expressions support, wich is really the point of an url mapper. scottglu at his blog, explains the reason why the asp.net team didn't implemented this feature. basically they realized that a full featured version would want to take advantage of the next iis 7.0...

http://www.sosof.com/detail/028/169028161033.html -by - 丰搜 缓存页面


12个.net 开发者值得去读的国外blog

为什么会是12个?来自weblogs.asp.net 的jon galloway 为广大.net开发爱好者推荐了10个值得阅读的技术blog。一位来自scobleizer blog 的热心读者在留言中也推荐了2个,加在一起12个。christopher steen - link blogger extrordinaire. coding horror (jeff atwood) - excellent writer with a lot to say about how software development ought to be done, fun stuff about technology and games, must have tools and utilities, and regular doses of slick code. computer zen (scott h...

http://www.sosof.com/detail/028/227028167659.html -by - 丰搜 缓存页面


在asp.net中自动给url地址加上超链接

作为一个程序员,在完成设计后还要根据程序的情况以及用户的反映不断对程序进行改进,这样才能不断地完善自己的作品。我在制作完软件商务网 http://www.bizsofts.com 的论坛后,发现人们总喜欢在帖子中加上各种有用的url链接或email地址。而我当初设计时没有考虑到这一点,使得这些url链接或email地址只能以文字的形式而并不是以超链接的形式显示,其它浏览帖子的人还必须把这些url链接拷贝到浏览器中或把email地址拷贝到outlook中才能转到相应的链接地址或发送电子邮件到相应的email地址。 发现这个问题后,我就着手进行解决。首先是从网上查找有关这方面的现在代码,可惜的是,在搜索引擎上反复查找也没有发现这方面的文章。后来我一想,干脆我自己用asp.net编写一个。 要想自动显示超链接的关键在于如何能正确识别超链接,毫无疑问的,最有效的方法是用正则表达式。正则表达式是由普...

http://www.sosof.com/detail/028/209028168769.html -by - 丰搜 缓存页面


asp.net 2.0中gridview里嵌套dropdownlist

在asp.net 2.0中,在一个gridview里,可以嵌套进一个dropdownlist,这是十分容易的事情,而这里讲的是,在每个dropdownlist里,都绑定的是不同的内容,比如在northwind数据库中,可以用gridview显示出每个category类别,同时每一行的category类别里可以已dropdonwlist下拉框的形式,列出该分类下的所有产品.下面介绍实现的方法首先是页面部分的代码<asp:gridview id="gridview1" runat="server" autogeneratecolumns="false" onrowdatabound="gridview1_rowdatabound"><columns><asp:boundfield datafield="categoryid" headertext="categor...

http://www.sosof.com/detail/028/601028169233.html -by - 丰搜 缓存页面


编写高性能web应用程序的10个技巧

作者:rob howard 译:寒带鱼这篇文章讨论了:·一般asp.net性能的秘密·能提高asp.net表现的有用的技巧和窍门·在asp.net中使用数据库的建议·asp.net中的缓存和后台处理 使用asp.net编写一个web应用程序是难以置信的简单的。太简单了,以至于很多开发者都不花费时间来构建他们的应用程序来达到很好的表现。在这篇文章里,我将为编写高性能的web应用程序推荐10个技巧。我不会讲我的论述局限于asp.net应用程序,因为asp.net应用程序只是web应用程序的一个子集而已。这篇文章不会是针对优化web应用程序的性能的权威性指导——一本完整的书可以很容易的做到这一点。相反,我们应该把这篇文章当成一个好的起点。 在成为一个工作狂以前,我会经常去攀岩。在做任何攀岩活动之前,我更愿意看看旅行指南里面的路线,再读读那些曾经到过峰顶的人做的推荐。但是,不管旅行指南写的有多好,...

http://www.sosof.com/detail/028/9730281610105.html -by - 丰搜 缓存页面


利用asp.net的内置功能抵御web攻击

asp.net 开发人员应当始终坚持的做法 如果您正在阅读本文,可能就不需要再向您灌输 web 应用程序中的安全性愈来愈重要这一事实了。您需要的可能是一些有关如何在 asp.net 应用程序中实现安全性的实际建议。坏消息是,没有任何开发平台 — 包括 asp.net在内 — 能够保证一旦采用了该平台,您就能够编写百分百安全的代码。谁要是这么说,一准在撒谎。好消息是,就 asp.net 来说,asp.net,特别是版本 1.1 和即将发行的版本 2.0,集成了一些便于使用的内置防御屏障。 光是应用所有这些功能并不足以保护 web 应用程序,使其免受任何可能和可预见的攻击。但是,如果与其他防御技巧和安全策略相结合,内置的 asp.net 功能将可以构成一个强大的工具包,有助于确保应用程序在安全的环境中运行。 web 安全性是各种因素的总和,是一种范围远超单个应用程序的策略的结果,这种策略涉及数...

http://www.sosof.com/detail/028/8940281611357.html -by - 丰搜 缓存页面


使用 asp.net atlas pagenavigator控件实现客户端分页导航

english version: http://dflying.dflying.net/1/archive/127_paging_your_list_using_aspnet_atlas_pagenavigator_control.html 在这个系列中,我将介绍一些atlas sys.ui.data中较高级的控件,包括:sys.ui.data.listview:使用asp.net atlas listview控件显示列表数据 sys.ui.data.itemview:使用asp.net atlas itemview控件显示集合中的单个数据 sys.ui.data.datanavigator:使用 asp.net atlas pagenavigator控件实现客户端分页导航 sys.ui.data.sortbehavior:待续 sys.ui.data.xsltview:待续 这篇是其中的...

http://www.sosof.com/detail/028/9470281613686.html -by - 丰搜 缓存页面


上一页 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 下一页

 


相关 与本文相关文章

分类 所有文章关键字导航

源码编程相关

Java   Asp   PHP   .Net   XML   C/C++   CGI   VB   Jsp   J2ee   J2se   J2me   EJB   Servlet   Tomcat   Resin   Struts   Weblogic   Eclipse   ANT   GUI   JMS   Web servise   IDEA   Webphere   Hibernate   Spring   Jboss   Applet   Swing   Socket   Javamail   Perl   Ajax   P2P   安全   模式   框架   测试   开源   游戏

SQL数据库相关

My-SQL   Ms-SQL   Access   DB2   Oracle   Sybase   SQLserver   索引   存储过程   加密   数据库   分页   视图  

手机无线相关

3G   Wap   CDMA   GRPS   GSM   IVR   彩信   短信   无线   增值业务

网页设计制作相关

HTML   CSS   网页配色   网页特效   Javascript   VBscript   Dreamweaver   Frontpage   JS   Web   网站设计

网站建设推广相关

建站经验   网站优化   网站排名   推广   Alexa

操作系统/服务器相关

Windows XP   Windows 2000   Windows 2003   Windows Me   Windows 9.x   Linux   UNIX   注册表   操作系统   服务器   应用服务器

图形图像多媒体相关

Photoshop   Fireworks   Flash   Coreldraw   Illustrator   Freehand   Photoimpact   多媒体   图形图像

标准 网站致力的规范

Valid CSS!

无不良内容,无不良广告,无恶意代码

Valid XHTML 1.0 Transitional

creativecommons