10 2010 档案

C# 高级编程 里面的委托例子。
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication1{ public class Currency { public uint Dollars; public ushort Cents; public Currency() { }... 阅读全文

posted @ 2010-10-28 11:56 胖子黎 阅读(363) 评论(0) 推荐(1)

C# 模拟一个手机充值的过程,还不完美。
摘要:using System;using System.Collections.Generic;using System.Text;namespace AddMoney{ /// <summary> /// 此示例是模拟手机冲值过程 /// </summary> class Program { static void Main(string[] args) { Console.... 阅读全文

posted @ 2010-10-19 13:30 胖子黎 阅读(2507) 评论(0) 推荐(0)

C# 一个例子,北大青鸟的。自己变了下。
摘要:using System;using System.Collections.Generic;using System.Text;namespace PrintNumbers{ ///<summary> ///画一个松数. ///</summary> /// public class DrawTree { int Width; public int Width1 { get... 阅读全文

posted @ 2010-10-19 00:01 胖子黎 阅读(535) 评论(0) 推荐(0)

C# 简单的例子。
摘要:using System;using System.Collections.Generic;using System.Text;using System.Collections;namespace MyLunch{ /// <summary> /// switch的用法 /// </summary> /// public class Number { ArrayList l... 阅读全文

posted @ 2010-10-17 23:40 胖子黎 阅读(324) 评论(0) 推荐(0)

Asp.Net Html标记替换.感谢个热心人。弄了好久.
摘要:// 这一行在页面顶加入 validateRequest=falsepublic static string NoHTML(string Htmlstring) //替换HTML标记 { //删除脚本 Htmlstring = Regex.Replace(Htmlstring, @"<script[^>]*?>.*?</script>", "", RegexOpti... 阅读全文

posted @ 2010-10-15 13:31 胖子黎 阅读(622) 评论(0) 推荐(0)

SQL 基础题。
摘要:SQL code1.Create Table TableXml(id int identity(1,1) Primary Key,x xml)GoInsert Into TableXml Select ' ' Union Select ' 'Go--问题:如何把 更新成 --方法比较笨--应该有比较好的吧,可是我没想到declare @NewName varchar(20) declare @N... 阅读全文

posted @ 2010-10-15 10:56 胖子黎 阅读(393) 评论(0) 推荐(1)

C# 多维数组.
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication1{ class Program { static void Main(string[] args) { int[][] myArr = new int[2][]; myArr[0... 阅读全文

posted @ 2010-10-13 12:07 胖子黎 阅读(317) 评论(0) 推荐(0)

C# Sql 数据库 SQL验证登陆。
摘要:平台:XP3 + Vs 2008 专业版,专门下的SQL Server Management Studio Express.到现在也没有明白到登陆的时候一个windows验证和SQL 验证的区别。在里面建表过后,如果要选择成SQL 验证。首先把表的属性里面安全性改为SQL和windows混合模式。登陆名里面新建一个用户,把强制密码过期去掉。//项目里面调试的时候调用即时窗口。 public par... 阅读全文

posted @ 2010-10-11 00:51 胖子黎 阅读(1326) 评论(0) 推荐(0)

C# 2010 激活码
摘要:Visual Studio 2010:YCFHQ-9DWCY-DKV88-T2TMH-G7BHP EVEREST Ultimate Edition:C4J1I-PHG47-A9FC6-8RFPF-LAR6L CDBVF-7E347-SRFC2-CRI7F-JNRFN FQN6H-DFJ47-8WFWB-YI1ZF-TVUKDRE96E-XIB47-HM4SY-I498F-98MVU CCLH4-F... 阅读全文

posted @ 2010-10-07 11:40 胖子黎 阅读(681) 评论(0) 推荐(0)

C# 委托数组.
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication1{ /// ///定义两个操作方法 /// class MathOperations { public static double MultilyByx2(double val... 阅读全文

posted @ 2010-10-07 00:21 胖子黎 阅读(1026) 评论(0) 推荐(0)

导航