2013年2月20日

ado.net 离线数据集

摘要: 下面的程序可使数据库的数据脱离数据库,保留在客户端来操作 using System;using System.Collections.Generic;using System.Configuration;using System.Data;using System.Data.SqlClient;us 阅读全文

posted @ 2013-02-20 11:29 蔡嘉 阅读(180) 评论(0) 推荐(0) 编辑

sqlserver

摘要: select FNumber, (case when FAmount>0 then FAmountelse 0end) as Income,(case when FAmount<0 then ABS(FAmount)else 0end)as Outcomefrom Test_1 下面是截图: 还有一 阅读全文

posted @ 2013-02-20 11:10 蔡嘉 阅读(107) 评论(0) 推荐(0) 编辑

ado.net SqlHelper

摘要: 自己动手写SqlHelper类! using System;using System.Collections.Generic;using System.Configuration;using System.Data.SqlClient;using System.Linq;using System.T 阅读全文

posted @ 2013-02-20 10:34 蔡嘉 阅读(186) 评论(0) 推荐(0) 编辑

2013年2月19日

ado.net 连接数据库

摘要: 用ado.net连接数据库! using System;using System.Collections.Generic;using System.Data.SqlClient;using System.Linq;using System.Text;using System.Threading.Ta 阅读全文

posted @ 2013-02-19 12:57 蔡嘉 阅读(159) 评论(0) 推荐(0) 编辑

2013年1月31日

Dom之走马灯

摘要: <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>走马灯的程序< 阅读全文

posted @ 2013-01-31 20:39 蔡嘉 阅读(122) 评论(0) 推荐(0) 编辑

Dom之事件

摘要: 下面的代码实现了onload,onbeforeunload,onunload三个常用事件和一些常用属性: <!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="Content-Type" 阅读全文

posted @ 2013-01-31 19:19 蔡嘉 阅读(119) 评论(0) 推荐(0) 编辑

2013年1月30日

Dom之事件调用

摘要: dom事件的调用: <!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title> 阅读全文

posted @ 2013-01-30 12:54 蔡嘉 阅读(196) 评论(0) 推荐(0) 编辑

2013年1月27日

学习javascript

摘要: 下面的代码实现了javascript文件的引用: <!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=u 阅读全文

posted @ 2013-01-27 12:58 蔡嘉 阅读(264) 评论(0) 推荐(0) 编辑

2013年1月26日

学习html

摘要: 在vs2012里新建了一个html页,和老师视频中的有点差别,基本的格式是一样的,如下: <!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content=" 阅读全文

posted @ 2013-01-26 14:48 蔡嘉 阅读(229) 评论(0) 推荐(0) 编辑

2012年10月25日

object和Object

摘要: object 类型在 .NET Framework 中是 Object 的别名。——这句话引自MSDN。我的理解是object是关键字,Object是对象,我把它比成可以装下万物的箱子。所以,如果你要定义一个抽象的对象,可以:object Object; 而任何想要把Object对象变成一个具体的对 阅读全文

posted @ 2012-10-25 09:58 蔡嘉 阅读(170) 评论(0) 推荐(0) 编辑

导航