Example #1
0
        /// <summary>
        /// Delete the picture. Set the ID before doing this.
        /// </summary>
        /// <param name="sUserID">User ID of person deleting it.</param>
        public void Delete(string sUserID)
        {
            SortedList sParam = new SortedList();

            sParam.Add("@PictureID", PictureID.ToString());
            sParam.Add("@UserID", sUserID);
            cUtilities.PerformNonQuery("uspDelMDBPictures", sParam, "LARPortal", sUserID);
        }
Example #2
0
 public override string ToString()
 {
     return("ID: " + PictureID.ToString() + "  " + PictureFileName);
 }