08 2012 档案

摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text; namespace 前序遍历_中序遍历_后序遍历{ class Program { static void Main( string[ 阅读全文
posted @ 2012-08-21 08:20 blog_yuan 阅读(165) 评论(0) 推荐(0)
摘要:<!-- <script type="text/javascript"> function Person(name, age) { this.name = name; this.age = age; this.show=function() { alert(this.name +"\t"+ this.age); } } var oss = new Person("yuan", 33); oss.show(); var oss2 = new Person("zhao", 45); oss2.show 阅读全文
posted @ 2012-08-19 17:53 blog_yuan 阅读(242) 评论(0) 推荐(0)
摘要:class Program { static void Main( string[ ] args ) { SumEx1( ); } class package { public string Company { get; set; } public double weight { get; set; } } public static void SumEx1( ) { List<package> pack = new List<package> { new package {Company = "aaa",weight=11.00}, new pac 阅读全文
posted @ 2012-08-19 02:27 blog_yuan
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using Microsoft.Practices.EnterpriseLibrary.Data;using System.Data.Common;namespace cnblog.DAL{ public class CnblogUserDal { public void CreateUser( string username, string password, string displayName, string email, s 阅读全文
posted @ 2012-08-10 02:29 blog_yuan
摘要:create table t3(a char(10),b char(10),c char(10),d char(10))create table te(a varchar(10) primary key not null,b int)insert into te values('1',200)insert into te values('',1)select * from teALTER TABLE te ADD CONSTRAINT CK_b CHECK(b>=1)GO------------------------------------------- 阅读全文
posted @ 2012-08-05 19:31 blog_yuan