![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
.net
文章平均质量分 66
gamebox1
事 成于坚韧 毁于急躁 苟利国家生死以,岂因祸福避趋之
展开
-
ado.net 与jdbc
Ado.net[sqlserver]连接//生成连接对象 SqlConnection conn = new SqlConnection(“server=.;database=northwind;uid=sa;pwd=”);//由连接生成sqlcommandSqlCommand cmd=conn.CreateCommand();//指定命令类型 cmd.CommandTy原创 2008-07-07 09:18:00 · 812 阅读 · 0 评论 -
ado.net 与jdbc
Ado.net[sqlserver]连接//生成连接对象 SqlConnection conn = new SqlConnection(“server=.;database=northwind;uid=sa;pwd=”);//由连接生成sqlcommandSqlCommand cmd=conn.CreateCommand();//指定命令类型 cmd.CommandType=CommandTy...2008-07-07 09:18:00 · 172 阅读 · 0 评论 -
Xna将场景渲染到多个目标上
调用GraphicsDevice.setRenderTarget(target),将要渲染的目标放入.(多个调用之),然后从target中获取渲染后的纹理,使用SpriteBatch绘制的哦屏幕上,SpriteBatch需要保持状态.下面是代码:[code="java"]using System;using System.Collections.Generic;using Syst...原创 2010-10-15 21:13:21 · 88 阅读 · 0 评论 -
c# 序列与反序列
[code="c#"]using System.IO;using System.Runtime.Serialization.Formatters.Binary;using System.Collections.Generic;using System.Text;public static class ThSerializer{ /// /// 序列...原创 2011-12-31 09:46:32 · 79 阅读 · 0 评论 -
c# socket通信较完善方案1
[b]c#的socket通信应用.文件较多.附件为工程.[/b][i]core[/i] AbstractBytesWorker.cs 字节工作器(基类),用于用于同一不同功能的字节工作器 BinaryHand.cs 2进制处理器. ThDispose.cs 处理回收相关[u]crc [/u][u]entity[/u] ThPersonInfo.cs ...原创 2011-12-31 10:30:48 · 98 阅读 · 0 评论 -
c#的Equals
c#的 Equals有很多方式。[b]1 静态 object.Equals[/b][code="c#"] public static bool Equals(object objA, object objB) { return objA == objB || (objA != null && objB != null && objA.Equals(objB)); }[/c...2017-03-15 10:23:18 · 1016 阅读 · 0 评论