gdjlc

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

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  364 随笔 :: 3 文章 :: 49 评论 :: 132万 阅读

06 2010 档案

摘要:见: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 阅读(181) 评论(0) 推荐(0) 编辑

摘要:来源: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 阅读(6202) 评论(4) 推荐(2) 编辑

摘要: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 阅读(523) 评论(0) 推荐(0) 编辑

摘要: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 阅读(320) 评论(0) 推荐(0) 编辑

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

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

摘要:DataBase.cs Web.config 阅读全文
posted @ 2010-06-18 13:20 gdjlc 阅读(489) 评论(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 阅读(1552) 评论(0) 推荐(0) 编辑

摘要:从表中随机取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 阅读(351) 评论(0) 推荐(0) 编辑

摘要:jqModal网站:http://dev.iceburg.net/jquery/jqModal/整理的几个例子:<html xmlns="http://www.w3.org/1999/xhtml" ><head runat="server"> <title>http://dev.iceburg.net/jquery/jqModal/</title> <link href="jqModal.css" mce_href="jqModal.css" rel=" 阅读全文
posted @ 2010-06-12 14:18 gdjlc 阅读(8317) 评论(0) 推荐(0) 编辑

摘要:一、活动倒计时 //将字符串格式化为时间 function parseDate(str) { var bb = document.getElementById("bb"); if (typeof str == 'string') { var results = str.match(/^ *(\d{4 阅读全文
posted @ 2010-06-11 15:28 gdjlc 阅读(802) 评论(0) 推荐(0) 编辑

摘要:/// <summary> /// 判断传入的字符串是否是为整数 /// </summary> /// <param name="strContent">待判断的字符串</param> /// <returns>判断结果</returns> public static bool IsInteger(string strContent) { bool IsInt = false; int result; if (!System.String.IsNullOrEmpty(strContent)) { IsI 阅读全文
posted @ 2010-06-11 11:10 gdjlc 阅读(206) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示