Ejemplo n.º 1
0
        public string GetVisitorsLogOut(string id)
        {
            string ddate = DateTime.Now.ToString();

            clsSQLCommond.Update("update Visitors set DDate2='" + ddate + "',II2='3' where iiID=" + id);
            return(ddate);
        }
Ejemplo n.º 2
0
    public bool Delete(string vchrUid)
    {
        sSQL = "delete from " + tablename + " where vchrUid='" + vchrUid + "' ";
        bool b = clsSQLCommond.Update(sSQL);

        return(b);
    }
Ejemplo n.º 3
0
        public bool Delete(string iID)
        {
            sSQL = "delete from " + tablename + " where iID='" + iID + "'";
            bool b = clsSQLCommond.Update(sSQL);

            return(b);
        }
Ejemplo n.º 4
0
    protected void ToDel(object sender, EventArgs e)
    {
        int    iRow  = ASPxGridView1.FocusedRowIndex;
        string iID   = ASPxGridView1.GetRowValues(iRow, "iID").ToString();
        string iType = ASPxGridView1.GetRowValues(iRow, "iType").ToString();

        sSQL = "delete from _LookUpDate where iID='" + iID + "' and iType='" + iType + "'";
        clsSQLCommond.Update(sSQL);
        ASPxGridView1.DataBind();
    }