资讯   |   开发   |   选机中心   |   产品大全 | IBM | 惠普 | 联想 | 戴尔 | 苹果 | 神舟
更多: | 华硕 | 明基 | 方正 | 紫光 | TCL | 夏新 | 联宝 | 宏碁 | 七喜 | 长城 | 清华同方 | 海尔 | 三星 | 东芝 | 索尼 | 富士通 | LG | 技术 | ddnoon
当前位置:笔记本 > 软件开发 >
Advertisement
文章正文

custDA.InsertCommand.Parameters.Add("@CustomerID", OdbcType.Char, 5, "CustomerID");

类型:转载   责任编辑:asp.net   日期:2007/05/23


热门软件下载:


   

 
  custDA.InsertCommand.Parameters.Add("@CustomerID","有问题的参数",   5,   "CustomerID");  
  中,我知道参数OleDbType   的类型为   OleDbType.char   或是其它的,  
  但我所知的只是字符串   "OleDbType.char"   ,如何才能把它转成类型OleDbType.char????  
   
  在线=.......

网友回答:

发表者:wangxt

帮你顶

发表者:_goto

OleDbType   是Enum,   不是普通的类型。  
  OleDbType   tp=(OleDbType)Enum.Parse(typeof(OleDbType),"Char",true);


 

 
热门推荐笔记本: IBM笔记本
相关文章:
webmaster:popbb@126.com   最佳浏览:1024X768 MSIE
©2007 popbb.net All Rights Reserved