sourabh choubey

sourabh choubey

  • NA
  • 174
  • 46.5k

how to add dynamic model

Jul 15 2016 7:52 AM
how to add dynamic model .suppose if there is five column created dynamically than there is five object is created .for example
if in datatable i have
 
name address id 
aaa   wer          1
 
name ,address,id created dynamically it has also more field like mobileno,pincode...etc
and am not fixed in model class as
like public string name{get;set;} and so on........
 
now my ques is that how to add dynamic model as because i dont know how many columns are created