<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>蛙蛙池塘   - 示例代码</title><link>http://blog.csdn.net/onlytiancai/category/21896.aspx</link><description>平时学习时用的一些示例代码</description><dc:language>zh-CN</dc:language><lastUpdateTime>Sat, 29 Mar 2008 13:10:58 GMT</lastUpdateTime><ttl>60</ttl><item><dc:creator>蛙蛙王子</dc:creator><title>蛙蛙请教:动态拼接表格问题的解决</title><link>http://blog.csdn.net/onlytiancai/archive/2005/04/22/358484.aspx</link><pubDate>Fri, 22 Apr 2005 14:59:00 GMT</pubDate><guid>http://blog.csdn.net/onlytiancai/archive/2005/04/22/358484.aspx</guid><wfw:comment>http://blog.csdn.net/onlytiancai/comments/358484.aspx</wfw:comment><comments>http://blog.csdn.net/onlytiancai/archive/2005/04/22/358484.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/onlytiancai/comments/commentRss/358484.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=358484</trackback:ping><description>问题是这样的,我想从数据库取出记录后输出以下形式的表格,就是每4个记录集生成一个table,在每个table里分两行两列显示每个recordset,怎么动态生成呀?注意表格里有个ID的属性要从0开始递增
rs(0)
rs(0)
rs(0)
rs(0)

rs(0)
rs(0)
rs(0)
rs(0)

&lt;img src ="http://blog.csdn.net/onlytiancai/aggbug/358484.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>蛙蛙王子</dc:creator><title>蛙蛙推荐:全选DataGrid里的复选框</title><link>http://blog.csdn.net/onlytiancai/archive/2005/04/03/335356.aspx</link><pubDate>Sun, 03 Apr 2005 13:56:00 GMT</pubDate><guid>http://blog.csdn.net/onlytiancai/archive/2005/04/03/335356.aspx</guid><wfw:comment>http://blog.csdn.net/onlytiancai/comments/335356.aspx</wfw:comment><comments>http://blog.csdn.net/onlytiancai/archive/2005/04/03/335356.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/onlytiancai/comments/commentRss/335356.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=335356</trackback:ping><description>我们经常会在DataGrid里选择一组数据,然后批量操作,如果要全部操作的话需要一个全选的功能,如果你用这个全选按钮的服务器端事件来让DataGrid里复选框的全选的话,会多一次向服务器的回传,我们可以写一个js函数来简化这一步骤.
其实DataGrid在客户端会生成一个html表格,表格的id属性就是DataGrid的ID,这个ID可以用ClientID获取,然后你的全选按钮也可以在后台编码里添加一个onclick属性来让他执行你写好的js代码,比如你声明了一个DataGrid1的DataGrid,然后里面在一个模板列里放了一个复选框,然后又在外面声明了一个CheckBox1来全选DataGrid1里面的复选框,语法如下.
&lt;img src ="http://blog.csdn.net/onlytiancai/aggbug/335356.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>蛙蛙王子</dc:creator><title>演示HTML的一个新标签 </title><link>http://blog.csdn.net/onlytiancai/archive/2005/03/26/330965.aspx</link><pubDate>Sat, 26 Mar 2005 13:03:00 GMT</pubDate><guid>http://blog.csdn.net/onlytiancai/archive/2005/03/26/330965.aspx</guid><wfw:comment>http://blog.csdn.net/onlytiancai/comments/330965.aspx</wfw:comment><comments>http://blog.csdn.net/onlytiancai/archive/2005/03/26/330965.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/onlytiancai/comments/commentRss/330965.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=330965</trackback:ping><description>演示HTML的一个新标签 &lt;img src ="http://blog.csdn.net/onlytiancai/aggbug/330965.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>蛙蛙王子</dc:creator><title>蛙蛙推荐:一套.net窗体身份验证方案(解决了防止用户重复登陆,session超时等问题)</title><link>http://blog.csdn.net/onlytiancai/archive/2005/03/10/316433.aspx</link><pubDate>Thu, 10 Mar 2005 13:14:00 GMT</pubDate><guid>http://blog.csdn.net/onlytiancai/archive/2005/03/10/316433.aspx</guid><wfw:comment>http://blog.csdn.net/onlytiancai/comments/316433.aspx</wfw:comment><comments>http://blog.csdn.net/onlytiancai/archive/2005/03/10/316433.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/onlytiancai/comments/commentRss/316433.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=316433</trackback:ping><description>蛙蛙推荐:一套.net窗体身份验证方案(解决了防止用户重复登陆,session超时等问题)
&lt;img src ="http://blog.csdn.net/onlytiancai/aggbug/316433.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>蛙蛙王子</dc:creator><title>蛙蛙推荐:第一个实际应用中开发的自定义web服务器控件</title><link>http://blog.csdn.net/onlytiancai/archive/2005/03/03/309516.aspx</link><pubDate>Thu, 03 Mar 2005 16:02:00 GMT</pubDate><guid>http://blog.csdn.net/onlytiancai/archive/2005/03/03/309516.aspx</guid><wfw:comment>http://blog.csdn.net/onlytiancai/comments/309516.aspx</wfw:comment><comments>http://blog.csdn.net/onlytiancai/archive/2005/03/03/309516.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/onlytiancai/comments/commentRss/309516.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=309516</trackback:ping><description>主要是有好多个地方要显示事务所的详细信息,一气之下就写了一个自定义控件&lt;img src ="http://blog.csdn.net/onlytiancai/aggbug/309516.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>蛙蛙王子</dc:creator><title>[蛙蛙推荐]用JS自动生成等比例缩略图</title><link>http://blog.csdn.net/onlytiancai/archive/2005/01/06/241899.aspx</link><pubDate>Thu, 06 Jan 2005 10:40:00 GMT</pubDate><guid>http://blog.csdn.net/onlytiancai/archive/2005/01/06/241899.aspx</guid><wfw:comment>http://blog.csdn.net/onlytiancai/comments/241899.aspx</wfw:comment><comments>http://blog.csdn.net/onlytiancai/archive/2005/01/06/241899.aspx#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://blog.csdn.net/onlytiancai/comments/commentRss/241899.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=241899</trackback:ping><description>本示例演示图片加载时自动显示等比例缩略图,在做web程序的时候往往会遇到客户上传很大的图片,但是显示的时候如果把所略图的高宽比手工设置好,由于图片的形状不同会造成显示变形,这里用一段小脚本程序来解决这个问题,你可以把它修改一下做的更通用一些,比如说把Wa_SetImgAutoSize()函数加个img参数,然后在图片的onload=事件里传送自己去调用函数.&lt;img src ="http://blog.csdn.net/onlytiancai/aggbug/241899.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>蛙蛙王子</dc:creator><title>蛙蛙推荐：把文件转换成xml</title><link>http://blog.csdn.net/onlytiancai/archive/2004/12/23/226510.aspx</link><pubDate>Thu, 23 Dec 2004 12:58:00 GMT</pubDate><guid>http://blog.csdn.net/onlytiancai/archive/2004/12/23/226510.aspx</guid><wfw:comment>http://blog.csdn.net/onlytiancai/comments/226510.aspx</wfw:comment><comments>http://blog.csdn.net/onlytiancai/archive/2004/12/23/226510.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/onlytiancai/comments/commentRss/226510.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=226510</trackback:ping><description>把Office文件转换为xml文件，其实Office好像saveas可以直接保存成xml格式的&lt;img src ="http://blog.csdn.net/onlytiancai/aggbug/226510.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>蛙蛙王子</dc:creator><title>蛙蛙推荐：分栏显示记录集的表格演示，并实现了分页</title><link>http://blog.csdn.net/onlytiancai/archive/2004/11/05/168304.aspx</link><pubDate>Fri, 05 Nov 2004 11:05:00 GMT</pubDate><guid>http://blog.csdn.net/onlytiancai/archive/2004/11/05/168304.aspx</guid><wfw:comment>http://blog.csdn.net/onlytiancai/comments/168304.aspx</wfw:comment><comments>http://blog.csdn.net/onlytiancai/archive/2004/11/05/168304.aspx#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://blog.csdn.net/onlytiancai/comments/commentRss/168304.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=168304</trackback:ping><description>&lt;img src ="http://blog.csdn.net/onlytiancai/aggbug/168304.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>蛙蛙王子</dc:creator><title>蛙蛙推荐:通过注册表添加受信任站点</title><link>http://blog.csdn.net/onlytiancai/archive/2004/09/20/110258.aspx</link><pubDate>Mon, 20 Sep 2004 11:24:00 GMT</pubDate><guid>http://blog.csdn.net/onlytiancai/archive/2004/09/20/110258.aspx</guid><wfw:comment>http://blog.csdn.net/onlytiancai/comments/110258.aspx</wfw:comment><comments>http://blog.csdn.net/onlytiancai/archive/2004/09/20/110258.aspx#Feedback</comments><slash:comments>7</slash:comments><wfw:commentRss>http://blog.csdn.net/onlytiancai/comments/commentRss/110258.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=110258</trackback:ping><description>蛙蛙推荐:通过注册表添加受信任站点&lt;img src ="http://blog.csdn.net/onlytiancai/aggbug/110258.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>蛙蛙王子</dc:creator><title>蛙蛙推荐:最近开发一个小型的OA,把常用代码和大家分享一下先</title><link>http://blog.csdn.net/onlytiancai/archive/2004/08/29/88080.aspx</link><pubDate>Sun, 29 Aug 2004 15:46:00 GMT</pubDate><guid>http://blog.csdn.net/onlytiancai/archive/2004/08/29/88080.aspx</guid><wfw:comment>http://blog.csdn.net/onlytiancai/comments/88080.aspx</wfw:comment><comments>http://blog.csdn.net/onlytiancai/archive/2004/08/29/88080.aspx#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://blog.csdn.net/onlytiancai/comments/commentRss/88080.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=88080</trackback:ping><description>蛙蛙推荐:最近开发一个小型的OA,把常用代码和大家分享一下先&lt;img src ="http://blog.csdn.net/onlytiancai/aggbug/88080.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>蛙蛙王子</dc:creator><title>蛙蛙推荐:asp.net中的身份验证</title><link>http://blog.csdn.net/onlytiancai/archive/2004/08/18/78116.aspx</link><pubDate>Wed, 18 Aug 2004 14:51:00 GMT</pubDate><guid>http://blog.csdn.net/onlytiancai/archive/2004/08/18/78116.aspx</guid><wfw:comment>http://blog.csdn.net/onlytiancai/comments/78116.aspx</wfw:comment><comments>http://blog.csdn.net/onlytiancai/archive/2004/08/18/78116.aspx#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://blog.csdn.net/onlytiancai/comments/commentRss/78116.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=78116</trackback:ping><description>我用的是基于窗体的验证,这也是最常用的,我只写一下摘要,源代码太长,但应该不影响理解代码.
&lt;img src ="http://blog.csdn.net/onlytiancai/aggbug/78116.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>蛙蛙王子</dc:creator><title>蛙蛙推荐:偶做的用户管理系统</title><link>http://blog.csdn.net/onlytiancai/archive/2004/08/18/78117.aspx</link><pubDate>Wed, 18 Aug 2004 14:51:00 GMT</pubDate><guid>http://blog.csdn.net/onlytiancai/archive/2004/08/18/78117.aspx</guid><wfw:comment>http://blog.csdn.net/onlytiancai/comments/78117.aspx</wfw:comment><comments>http://blog.csdn.net/onlytiancai/archive/2004/08/18/78117.aspx#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://blog.csdn.net/onlytiancai/comments/commentRss/78117.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=78117</trackback:ping><description>蛙蛙推荐:偶做的用户管理系统
因为代码比较多,只贴一下,添加用户的代码,我把表示层和业务逻辑层分开了,单独建立了一个Cls_user的类来对用户集中进行管理,里面包括了对用户的添加,删除,修改的方法,以及访问用户的名称,密码,权限等的字段,这样分开做也符合多层架构的原则,我没有单独做dal层,因为我部打算以后换数据库.
在前台的窗体中有几个下拉列表控件,我是分别用散列表和DataTable来做数据动态绑定的,也算是一个小技巧吧.
在业务逻辑的类里我用使用了方法的输出参数,大家可以顺便看一下输出参数怎么用.&lt;img src ="http://blog.csdn.net/onlytiancai/aggbug/78117.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>蛙蛙王子</dc:creator><title>使用 XML 模板 </title><link>http://blog.csdn.net/onlytiancai/archive/2004/08/05/66093.aspx</link><pubDate>Thu, 05 Aug 2004 14:06:00 GMT</pubDate><guid>http://blog.csdn.net/onlytiancai/archive/2004/08/05/66093.aspx</guid><wfw:comment>http://blog.csdn.net/onlytiancai/comments/66093.aspx</wfw:comment><comments>http://blog.csdn.net/onlytiancai/archive/2004/08/05/66093.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/onlytiancai/comments/commentRss/66093.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=66093</trackback:ping><description>使用 XML 模板 &lt;img src ="http://blog.csdn.net/onlytiancai/aggbug/66093.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>蛙蛙王子</dc:creator><title>蛙蛙推荐:css样式表的优先级别演示</title><link>http://blog.csdn.net/onlytiancai/archive/2004/08/04/64042.aspx</link><pubDate>Wed, 04 Aug 2004 15:39:00 GMT</pubDate><guid>http://blog.csdn.net/onlytiancai/archive/2004/08/04/64042.aspx</guid><wfw:comment>http://blog.csdn.net/onlytiancai/comments/64042.aspx</wfw:comment><comments>http://blog.csdn.net/onlytiancai/archive/2004/08/04/64042.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/onlytiancai/comments/commentRss/64042.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=64042</trackback:ping><description>蛙蛙推荐:css样式表的优先级别演示


 
  
  H1{color:red; } 
  .myclass{color:green}
  H2.myclass{color:blue}
  #myid{color:brown}
  
 
 
这是红色的一号标题。 
使用了"myclass"伪类的P标签中的正文是绿色的。
但"myclass"类中的二号标题是蓝色的,因为H2.myclass{color:blue}重写了myclass伪类。
以"myid"为标识的正文则是棕色的,这个是优先级别最高的。


&lt;img src ="http://blog.csdn.net/onlytiancai/aggbug/64042.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>蛙蛙王子</dc:creator><title>蛙蛙推荐:如何做一个高效的ASP数据库操作程序</title><link>http://blog.csdn.net/onlytiancai/archive/2004/07/22/48865.aspx</link><pubDate>Thu, 22 Jul 2004 17:35:00 GMT</pubDate><guid>http://blog.csdn.net/onlytiancai/archive/2004/07/22/48865.aspx</guid><wfw:comment>http://blog.csdn.net/onlytiancai/comments/48865.aspx</wfw:comment><comments>http://blog.csdn.net/onlytiancai/archive/2004/07/22/48865.aspx#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://blog.csdn.net/onlytiancai/comments/commentRss/48865.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=48865</trackback:ping><description>蛙蛙推荐:如何做一个高效的ASP数据库操作程序
一般情况下我们做的ASP数据库程序都是ADO+ACCESS,并且都是使用一些查询字符串加记录集来操作数据库,最多也只使用了connection和recordset两个对象以及它们的几个常用的属性和方法,其实ADO的使用远不仅这些,我们还有command对象和Parameters对象没有用呢,而这两个对象用好了会提高你整个ASP程序的性能.
我这里写了一个歌词管理程序,用的是sqlserver数据库和存储过程实现的,(这里没有用参数化查询,也正是为了演示ado对sqlserver和存储过程的用法).
希望大家能从我的示例代码中学到新的东西,嘿嘿.
注意:我把示例代码里面的asp边界符(就是尖括号加上一个百分号的那个标识)替换成了全角中文的尖括号,因为很多论坛会过滤这个符号,再你复制后记着把它替换成英文半角的.
&lt;img src ="http://blog.csdn.net/onlytiancai/aggbug/48865.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>