public bool veriTablosuKaydet(DataTable dt, string tabloAd, string kullanici) { bool flag = false; try { SqlDataAdapter adapter = DataAdapter.veriAdaptoruGetirTablo(tabloAd, baglantiStr); adapter.Update(dt); adapter.Dispose(); flag = true; } catch (Exception exception1) { throw exception1; } return(flag); }
public DataTable veriTablosuGetir(string tabloAd) { DataTable table2; try { SqlDataAdapter adapter = DataAdapter.veriAdaptoruGetirTablo(tabloAd, baglantiStr); DataTable dataTable = new DataTable(); adapter.Fill(dataTable); adapter.Dispose(); table2 = dataTable; } catch (Exception exception1) { throw exception1; } return(table2); }