Ejemplo n.º 1
0
 private void getDocTypeAllList()
 {
     DocTypeFunc fnc = new DocTypeFunc();
     gvDoctype.AutoGenerateColumns = false;
     gvDoctype.DataSource = fnc.GetDocTypeAll(null);
 }
Ejemplo n.º 2
0
 private void SetDoctypeList()
 {
     DocTypeFunc fnc = new DocTypeFunc();
     DataTable dt = fnc.GetDocTypeAll(null);
     if (dt.Rows.Count > 0)
     {
         dgDocType.AutoGenerateColumns = false;
         dgDocType.DataSource = dt;
     }
 }