Michael

Michael

  • 1.4k
  • 234
  • 18.3k

Convert string[] to sqldbtype[] ?????

Aug 31 2014 5:44 AM
Hi All,
 
I need your help!!!
 
I have a string array of sqldbtypes (example dbtypes = { "NVARCHAR","INT","BIT" } ), and I need to convert it to sqldbtypes array (example stypes = { SqlDbType.Nvarchar, SqlDbType.Int, SqlDbType.Bit } ). I  am working on C#.net
 
Can anyone help me??
 
Thank you in advance for your help. 

Answers (3)