摘要: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() { }...
阅读全文
摘要:using System;using System.Collections.Generic;using System.Text;namespace AddMoney{ /// <summary> /// 此示例是模拟手机冲值过程 /// </summary> class Program { static void Main(string[] args) { Console....
阅读全文
摘要:using System;using System.Collections.Generic;using System.Text;namespace PrintNumbers{ ///<summary> ///画一个松数. ///</summary> /// public class DrawTree { int Width; public int Width1 { get...
阅读全文
摘要:using System;using System.Collections.Generic;using System.Text;using System.Collections;namespace MyLunch{ /// <summary> /// switch的用法 /// </summary> /// public class Number { ArrayList l...
阅读全文
摘要:// 这一行在页面顶加入 validateRequest=falsepublic static string NoHTML(string Htmlstring) //替换HTML标记 { //删除脚本 Htmlstring = Regex.Replace(Htmlstring, @"<script[^>]*?>.*?</script>", "", RegexOpti...
阅读全文
摘要: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...
阅读全文
摘要: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...
阅读全文
摘要:平台:XP3 + Vs 2008 专业版,专门下的SQL Server Management Studio Express.到现在也没有明白到登陆的时候一个windows验证和SQL 验证的区别。在里面建表过后,如果要选择成SQL 验证。首先把表的属性里面安全性改为SQL和windows混合模式。登陆名里面新建一个用户,把强制密码过期去掉。//项目里面调试的时候调用即时窗口。 public par...
阅读全文
摘要: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...
阅读全文
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication1{ /// ///定义两个操作方法 /// class MathOperations { public static double MultilyByx2(double val...
阅读全文