DataTable DttblNew = new DataTable();
DttblNew.Columns.Add("fld_capa_cd_desc_arr", typeof(System.Array));
drConvertedRaw["fld_capa_cd_desc_arr"] = [];//Error showing how to assign blank array
DataTable DttblNew = new DataTable();
DttblNew.Columns.Add("fld_capa_cd_desc_arr", typeof(System.Array));
drConvertedRaw["fld_capa_cd_desc_arr"] = [];//Error showing how to assign blank array
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sachin SinghPosted Apr 4, 2022, 9:01 AM
Gajendra JangidPosted Apr 3, 2022, 5:48 PM
Srashti JainPosted Mar 31, 2022, 11:11 AM
You will have to write the full name of a Type then you can find it using GetType the method. If you want to get int32 the type you will have to specify like this System.Int32
string[,] values = new string[,] { { "ID", "System.Int32" }, { "Name", "System.String" }, { "ColorID", "System.Int16" } };
To know more information in detail, you should have learned Dot Net Training.