public void Insert() { DataTable table= Dbc.GetDataTable( "select //sql command continue where ıd>3 ,commandtype.text ); if(table.rows.count>0) { List<int> List=(from row in table select //sql command continue)).ToList(); if(List.Count() != 2) { Complete(table); } DeleteFalse(); } }
public void Insert() { try{ DataTable table= Dbc.GetDataTable( "select //sql command continue where ıd>3 ,commandtype.text ); if(table.rows.count>0) { List<int> List=(from row in table select //sql command continue)).ToList(); if(List.Count() != 2) { Complete(table); } DeleteFalse(); } } catch (Exception exceptions) { Console.WriteLine("Error"); } }
try - catch
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)