mcard_list mcardlist = new mcard_list();
numberoftimes = 0;
while (numberoftimes < collectionnumbers)
var FieldName = mcardlistfields[numberoftimes, 0].ToString();
var FieldType = mcardlistfields[numberoftimes, 1].ToString();
case "String" :
mcardlist. + FieldName = "Test"; <=I know wrong here but i don't know how to do.
case "DateTime" :
mcardlist. + FieldName = "2015-1-23"; <=I know wrong here I don't know how to do it.
numberoftimes += 1;
Could Anyone help me how can add fieldname stored in variable "FieldName" for later attach with "mcardlist." (ended with dot).Thanks.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)