예제 #1
0
 public void Show(DataTable DT, decimal Archive_ID)
 {
     radGridViewSelected.DataSource = null;
     tempTable.Rows.Clear();
     foreach (DataRow item in DT.Rows)
     {
         if ((decimal)item["Archive_ID"] == Archive_ID)
         {
             tempTable.Rows.Add(null, null, null, null, null, null, null
                                , ItemsPublic.GetPersianDate((DateTime)item["Time"])
                                , ItemsPublic.GetPersianHour((DateTime)item["Time"]));
         }
     }
     radGridViewSelected.DataSource = tempTable;
     radGridViewSelected.Refresh();
 }