Пример #1
0
 /// <summary>
 /// ��ȡվ�����������Ϣ
 /// </summary>
 /// <param name="SiteID"></param>
 /// <param name="EditorID"></param>
 /// <returns></returns>
 public static DataTable GetSitePersonalSet(string SiteID,string EditorID)
 {
     SiteGlobalSettings SiteGlobalSet = new SiteGlobalSettings();
     string sql = "select * from SitePersonalSettings where SiteID='" + SiteID + "' and EditorID='" + EditorID + "' Limit 1";
     DataTable dt = SQLiteHelper.GetTable(sql);
     return dt;
 }
Пример #2
0
        /// <summary>
        /// 获取站点个人设置信息
        /// </summary>
        /// <param name="SiteID"></param>
        /// <param name="EditorID"></param>
        /// <returns></returns>
        public static DataTable GetSitePersonalSet(string SiteID, string EditorID)
        {
            SiteGlobalSettings SiteGlobalSet = new SiteGlobalSettings();
            string             sql           = "select * from SitePersonalSettings where SiteID='" + SiteID + "' and EditorID='" + EditorID + "' Limit 1";
            DataTable          dt            = SQLiteHelper.GetTable(sql);

            return(dt);
        }