protected string WhereCondition(CY.Utility.Common.CodeInterface.TagType TagType) { System.Text.StringBuilder sbResult = new System.Text.StringBuilder(); try { if (TagType == null) { TagType = CY.Utility.Common.CodeInterface.TagType.Equip; } sbResult.Append(string.Format("ContentType={0}", TagType.Type.ToString())); } catch (Exception ex) { throw ex; } return sbResult.ToString(); }
protected void Page_Load(object sender, EventArgs e) { if (TagType == null) { TagType = CY.Utility.Common.CodeInterface.TagType.Equip; } Tags = Initial(TagType); }