public static void TagParameterImport(TagParameterModel tagParameter)
        {
            DbCommand Command = db.GetStoredProcCommand("UP_cmsTagParameter_Import");

            db.AddInParameter(Command,"@pageid",DbType.Int32,tagParameter.PageID);
            db.AddInParameter(Command,"@tagid",DbType.Int32,tagParameter.TagID);
            db.AddInParameter(Command,"@serverid",DbType.String,tagParameter.ServerID);
            db.AddInParameter(Command,"@parameter",DbType.String,tagParameter.Parameter);

            db.ExecuteNonQuery(Command);
        }
        public void ProcessRequest(HttpContext context)
        {
            context.Response.ContentType = "text/plain";
            if (!String.IsNullOrEmpty(context.Request["tagid"])) TagID = Convert.ToInt32(context.Request["tagid"]);

            NameValueCollection Parameter = TagControler.GetTagParameter(TagID, context.Request);

            context.Response.Write(TagControler.GenerateDefaultCode(TagID, Parameter));

            TagParameterModel tagParameter = new TagParameterModel();

            tagParameter.PageID = Convert.ToInt32(context.Request["pageid"]);
            tagParameter.ServerID = Convert.ToString(context.Request["sid"]);
            tagParameter.TagID = TagID;
            tagParameter.Parameter = HttpUtil.GetParameterString(Parameter);

            TagControler.TagParameterImport(tagParameter);
        }
 public static void TagParameterImport(TagParameterModel tagParameter)
 {
     TagDataAccess.TagParameterImport(tagParameter);
 }