自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 收藏
  • 关注

原创 javascript获取日期

<!--var myDate = new Date(); myDate.getYear(); //获取当前年份(2位) myDate.getFullYear(); //获取完整的年份(4位,1970-????) myDate.getMonth(); //获取当前月份(0-11,0代表1月) myDate.getDate(); //获

2012-03-13 10:00:35 339

原创 javascript 日期验证

<!-验证日期 验证格式:年-月-日 或 年/月/日-!> function checkDate(str) { try { if(/\-/.test(str) && /\//.test(str)) { return false;

2012-03-12 13:41:02 468

原创 jQuery语法

基本语法: $("HTML元素").action()实例:  $(this).hide();  隐藏当前元素    $("p").hide();   隐藏所有段落    $("p.test").hide();   隐藏所有 class="test"的段落    $("#test").hide();   隐藏所有id="test"的元素  文档就绪

2012-02-24 10:01:15 510

原创 循环dictionary

Dictionary test = new Dictionary(); test.Add("userName", "jiou"); test.Add("u2", "xx"); foreach (va

2011-10-11 10:20:59 1713

转载 Web Service 调用

1.1、Web Service基本概念 Web Service也叫XML Web Service WebService是一种可以接收从Internet或者Intranet上的其它系统中传递过来的请求,轻量级的独立的通讯技术。是:通过SOAP在Web上提供的软件服务,使

2011-10-09 11:49:32 520

原创 winform判断输入是否是数字

private bool IsNum(string str) { try { foreach (char c in str) {

2011-09-09 16:37:44 4803 1

原创 使用StreamReader读,写 文件

使用StreamReader读文件 //得到sr对象,sr对象可对文件进行读取(使用了Encoding编码方式) StreamReader sr = new StreamReader(textBox2.Text,Syst

2011-08-30 10:42:45 5742

原创 C# 判断文件是否为空

/* 在代码头部引入 System.IO 命名空间 */ // 第一种方法 using(FileStream fs=new FileStream(@"C:\a.txt",FileMode.Open){ using(StreamReader s

2011-08-01 12:12:27 7138 1

原创 C# winform split 分割字符串

string s = "123a223a456a63223sa"; string[] sArray = s.Split('a'); foreach (string ii in sA

2011-07-29 14:10:10 5052

原创 winform单实例

// Program.csusing System;using System.Windows.Forms;using System.Threading;using Microsoft.Win32;using System.Diagnostics;nam

2011-07-28 11:23:17 978

原创 c#使用winnet检测网络连接状况 .

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using Sys

2011-07-26 17:36:27 483

转载 sql 删除相同记录

SQL code<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->--如何按字段删除重复记录一张表

2011-07-15 09:15:33 2018 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除