随笔分类 - .NET
摘要:https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/common-type-system .NET中的所有类型不是值类型就是引用类型。 值类型是使用对象实际值来表示对象的数据类型。 如果向一个变量分配值类型的实例,则该变量将被赋以该
阅读全文
摘要://oracle版 new OracleParameter(); //SqlServer版 new SqlDataParameter(); //OleDb版 new OleDbParameter(); //Odbc版 new OdbcParameter(); //IDbCommand引用存储过程的参数信息的导出。得到的参数添加到IDbCommand参数集合 ...
阅读全文
摘要://oracle版 new OracleDataAdapter(); //SqlServer版 new SqlDataAdapter(); //OleDb版 new OleDbDataAdapter(); //Odbc版 new OdbcDataAdapter();
阅读全文
摘要://oracle版 //程序集 System.Data.OracleClient using System.Data.OracleClient; new OracleConnection(connectionString); //SqlServer版 //程序集 System.Data using System.Data.SqlClient; new SqlConnection(connect...
阅读全文
摘要:1 创建服务器通道 并在.Net Remotion运行时注册该通道 注册一个知名对象\客户端激活对象 1 TcpServerChannel channel = new TcpServerChannel(9000); 2 3 ChannelService...
阅读全文
摘要:1编写远程对象MyRemoteObject.dll 1 namespace Shen.RemoteTest 2 { 3 public class MyRemoteObject:System.MarshalByRefObject 4 { 5 public MyRemot...
阅读全文
摘要:1 配置App.Config 和引入微软库--> 1 2 3 4 5 6 7 8 9 10 11 12 View Code192.168.10.10\SERVER 为数据库地址 ServerDb 为数据库名字2 建立数据库对象 ...
阅读全文
浙公网安备 33010602011771号