List<Model> modelList=new List<Model>();
var m = new Model() { no = "123",id="456",flag=false };
modelList.Add(m);
dg.DataContext = modelList;

    class Model
    {
      public string no { get; set; }
      public string id { get; set; }
      public bool flag { get; set; }
    }