gdjlc

培养良好的习惯,每天一点一滴的进步,终将会有收获。

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 37 下一页

2010年6月27日

摘要: 见:http://topic.csdn.net/u/20100625/21/cb7295e6-0514-4e28-888f-2935537208f4.html有个表pages ,有5个属性,id, url, title, body, site.问: 用一条SQL语句搜出url,body,或site中包含’test’字符串的数据,且将含有‘test’的url 的结果放在最前面,其次是body, 然后是site 且不能有重复数据如:id url title body site1 'a' 'b' 'c' 'd'2 'a' 阅读全文
posted @ 2010-06-27 14:20 gdjlc 阅读(177) 评论(0) 推荐(0) 编辑

2010年6月25日

摘要: 来源:http://coffeescripter.com/code/ad-gallery/<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head><link rel="stylesheet" type="text/css" href="jquery.ad-gallery.css"> <script 阅读全文
posted @ 2010-06-25 17:25 gdjlc 阅读(6187) 评论(4) 推荐(2) 编辑

2010年6月22日

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Net;using System.Text.RegularExpressions;public partial class Default7 : System.Web.UI.Page{ // C#应用正则表达式将相当路径转化为绝对路径 //(来源:http://code.nontalk.com/2007/0 阅读全文
posted @ 2010-06-22 21:10 gdjlc 阅读(517) 评论(0) 推荐(0) 编辑

2010年6月21日

摘要: jQuery.getJSON(url,[data],[callback]),通过 HTTP GET 请求载入 JSON 数据。参数: url (String) : 发送请求地址。 data (Map) : (可选)待发送 Key/value 参数。 callback (Function) : (可选)载入成功时回调函数。例子:test.htm<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transit 阅读全文
posted @ 2010-06-21 23:45 gdjlc 阅读(315) 评论(0) 推荐(0) 编辑

2010年6月20日

摘要: jQuery统计Repeater列的总和 <script type="text/javascript"> $(function () { StatSum("lblAAcount", "spAAcount"); StatSum("lblBBcount", "spBBcount"); } functio 阅读全文
posted @ 2010-06-20 23:45 gdjlc 阅读(1588) 评论(3) 推荐(1) 编辑

摘要: 主页:http://galleria.aino.se/下载使用非常简单,下面是例子:<html xmlns="http://www.w3.org/1999/xhtml"><head><script type="text/javascript" src="jquery-1.4.2.min.js"></script><script type="text/javascript" src="aino-galleria-84fe808/src/galleria. 阅读全文
posted @ 2010-06-20 22:58 gdjlc 阅读(1502) 评论(0) 推荐(0) 编辑

2010年6月18日

摘要: 简写 : $(document).ready(function(){ alert("Hello"); }); //可简写为 $(function(){ alert("Hello"); }); 解决jQuery和其它库的冲突方法之一 : var $j = jQuery.noConflict(); $j 阅读全文
posted @ 2010-06-18 14:26 gdjlc 阅读(517) 评论(0) 推荐(0) 编辑

摘要: DataBase.cs Web.config 阅读全文
posted @ 2010-06-18 13:20 gdjlc 阅读(480) 评论(0) 推荐(0) 编辑

摘要: 来源:http://code.google.com/p/lwrte/应用例子:<html xmlns="http://www.w3.org/1999/xhtml"><head><title>A Light weight RTE jQuery Plugin</title><link type="text/css" rel="stylesheet" href="jquery.rte.css" /><script type="text/javas 阅读全文
posted @ 2010-06-18 13:14 gdjlc 阅读(1549) 评论(0) 推荐(0) 编辑

2010年6月17日

摘要: 从表中随机取4条记录: select * from (select * from 表 order by dbms_random.random) where rownum < 5 伪列2type: select * from ( select ai.activityId,ai.owner,ai.cre 阅读全文
posted @ 2010-06-17 12:14 gdjlc 阅读(343) 评论(0) 推荐(0) 编辑

上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 37 下一页