Thursday, 18 October 2012

dataset select method



            DataSet ds = (DataSet)ViewState["ds"];
            DataRow[] dr;
            dr = ds.Tables[0].Select("DDO_CODE='" + txtDdocode.Text.Trim() + "'");
            if (dr.Length > 0)
                ScriptManager.RegisterClientScriptBlock(UpdatePanel1, this.GetType(), "PopupScript", "alert('DDO CODE already Inserted ')", true);
            else
            {

No comments:

Post a Comment