c#序列化
工作中涉及到打印相关的代码,具体如下:/// <summary> /// 将Hashtable序列化为二进制字符串 /// </summary> /...
c# orm转贴入门
http://tech.ddvip.com/2008-09/122095095062277.html
c# datagridview显示混合数据源(oracle sql及由oracle sql派生)
此文源源于工作,TCBS中某个form展示的datagridview,其展示数据部分有些是直接来自oracle sql,而其它是源于oracle sql的派生数据源(通俗就是说:基于oracle sql的值,不是直接源于oracle sql)...
arraylist数组元素插入及显示示例
前面几篇关于arraylist的链接:http://space.itpub.net/9240380/viewspace-718831http://space.itpub.net/9240380/viewspace-706050http://space.itpub.net/9240380/viewspace-706049本文关于arraylist的代...
c#泛型续(一)
这是以前有关泛型的文章链接:http://space.itpub.net/9240380/viewspace-703696近几天看了泛型相关示例,相比以前,理解更深入了,不是晕晕,下为相关代码://定义泛型类using System;using System...
c#如何只能创建类的一个实例(一)
using System;using System.Collections.Generic;using System.Text;namespace ConsoleApplication1{ class Single { //类如何只构建一个实例 &n...
c#安全角色示例
using System;using System.Collections.Generic;using System.Text;using System.IO;using System.Reflection;using System.Collections;using System.Security;using System.Security.Permissions;using System.Se...
c# tcbs之switch多分支case示例
class Program { //学习switch多分支判断 public static string str1; public static string Setswit...
c# tcbs属性访问器
public AcctRole TheAcctRole { get { ...
c#通过反射动态执行类的实例及静态方法
using System;using System.Collections.Generic;using System.Text;using System.IO;using System.Reflection;namespace ConsoleApplication1{ class Program { &nb...
c#反射Type_gettype示例测试
using System;using System.Collections.Generic;using System.Text;using System.IO;using System.Reflection;namespace ConsoleApplication1{ class Program { &nb...
c# memorystream 内存流
//学习内存流的读与写操作class Program { static void Main(string[] args) { ...
c# 委托测试
--学习委托namespace ConsoleApplication1{ //声明委托类型 //委托返回类型为string //委托参数类型为string //委托返回类型及参数类型要与委托调用的...
转贴杨大师yangtingkun_如何为table快速添加一个默认值的新列
附上杨大师的文章链接快速增加表新加列的默认值的方法下为自己测试示例:2012年3月30日 星期五 11时53分SQL> conn scott/system已连接。SQL> create table t_add_newcol(a int,b int);表已创建。SQL> insert into t_a...
c# tcbs项目学习体悟
虽接触近半年多了,仍是一头雾水.总是抓不到重点.努力哟.学习的方法.到底是我基础知识差一些,还是学习项目的架构方法不足,或者是其它,到底如何真正的熟悉一个项目,快速入进去呢,是我真正需要的!...
c# stringreader_stringwriter写入字符及读取字符(stream流)
static void Main(string[] args) { //用stringreader读取字符串的值并显示 &nbs...
c# binaryreader之readint32与readint16区别
//检测文件是否存在 if (File.Exists(file_name)) { &n...
c# console.write_filestream.readbyte_从文件中读取并显示在控制台
using System;using System.Collections.Generic;using System.Text;using System.Collections;//arraylist派生于array类using System.IO;namespace ConsoleApplication1{ class Program &n...
c# console.read
Console.WriteLine("Input:"); int a = Console.Read(); Console.WriteLine("Out:{0}", a);&...
c#二进制读取写入流工具binaryreader_binarywriter电话薄示例
using System;using System.Collections.Generic;using System.Text;using System.IO;namespace ConsoleApplication1{ //声明结构体在phonebook类中调用 struct Record...