npgcommand = new NpgsqlCommand("Select * from tbl_trans where accnumber= (select account_number from tbl_acccountdetails where holder_name='" + label3.Text + "') and printed=1", npgconn); npgDA = new NpgsqlDataAdapter(npgcommand); npgDA.Fill(dt);
update tbl_trans set printed=0 where holder_name='" + label3.Text + "' and printed=1;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)