Tuesday 30 April 2013

delete query in windows forms

string dquery = "delete from IBS_DC_DTLS where Sl_No = '" + desid + "' and DC_No = '" + dcno + "'";
                                    SqlCommand dcmd = new SqlCommand(dquery, con);
                                    dcmd.ExecuteNonQuery();

No comments:

Post a Comment