Пример #1
0
    public int saverecord()
    {
        string query = "Insert into account_head values('" + ah_id + "','" + ah_name + "','" + school_id + "','" + school_dept_id + "','" + font_id + "','" + create_login_id + "','" + sdate + "','" + modify_login_id + "','" + sdate + "')";

        con.updaterecord(query);
        return(1);
    }
Пример #2
0
    public int saverecord()
    {
        string query = "Insert into account_head values(" + accgroup_id + ",'" + accgroup_name + "'," + prt_no + "," + mainaccgrid + "," + rpdisp + ",'" + create_login_id + "','" + sdate + "','" + modify_login_id + "','" + sdate + "'," + school_id + "," + school_dept_id + "," + font_id + ",'" + create_login_id + "','" + sdate + "','" + modify_login_id + "','" + sdate + "')";

        con.updaterecord(query);
        return(1);
    }