case "money":
reval= "System.Decimal";
break;
case "image":
reval= "System.Byte[]";
break;
case "real":
reval= "System.Decimal";
break;
case "smallmoney":
reval= "System.Decimal";
break;
case "timestamp":
reval= "System.Byte[]";
break;
case "uniqueidentifier":
reval= "System.Byte[]";
break;俺出现了另一个问题~~~~我要反过来转,输入一个C#数据类型要知道是什么SQl server数据类型~~~基本上不可能了....
reval= "System.Decimal";
break;
case "image":
reval= "System.Byte[]";
break;
case "real":
reval= "System.Decimal";
break;
case "smallmoney":
reval= "System.Decimal";
break;
case "timestamp":
reval= "System.Byte[]";
break;
case "uniqueidentifier":
reval= "System.Byte[]";
break;俺出现了另一个问题~~~~我要反过来转,输入一个C#数据类型要知道是什么SQl server数据类型~~~基本上不可能了....
解决方案 »
- GridView+ObjectDataSource分页问题
- 关于C#的WebBrowser为什么不执行提交表单项?
- c#如何调用dll里面的事件?
- C#什么时候可用于3G手机编程
- DataGrid删除数据的问题
- 200分请教,怎样使用caching application block实现数据缓存(存成二进制文件),请给详细代码,谢谢
- 在Win中,怎样把DataGrid中的某一列类型设成RadioButton类型???
- 公司的一个任务的要求,理不出头绪,请大家帮忙看看能不能用C#实现,先谢了!
- 怎么把3个没有关系的DataSet在同1个报表中输出(水晶报表)
- 散分了!散分了!来者有分!
- 计算器程序的实现?
- win32 api数据类型与c#的数据类型的对应关系?
bigint Int64
binary Byte[]
bit Boolean
char String
Char[]
datetime DateTime
decimal Decimal
float Double
image Byte[]
int Int32
money Decimal
nchar String
Char[]
ntext String
Char[]
numeric Decimal
nvarchar String
Char[]
real Single
smalldatetime DateTime
smallint Int16
smallmoney Decimal
sql_variant Object *
text String
Char[]
timestamp Byte[]
tinyint Byte
uniqueidentifier Guid
varbinary Byte[]
varchar String
Char[]
bigint Int64
binary Byte[]
bit Boolean
char String Char[]
datetime DateTime
decimal Decimal
float Double
image Byte[]
int Int32
money Decimal
nchar String Char[]
ntext String Char[]
numeric Decimal
nvarchar String Char[]
real Single
smalldatetime DateTime
smallint Int16
smallmoney Decimal
sql_variant Object *
text String Char[]
timestamp Byte[]
tinyint Byte
uniqueidentifier Guid
varbinary Byte[]
varchar String Char[]