using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace NKC_WF.WebUserControls { public partial class cmp_stackBuilding : BaseUserControl { protected void Page_Load(object sender, EventArgs e) { } public int StackId { set { hfStackId.Value = value.ToString(); repCtrl.DataBind(); } get { int answ = 0; int.TryParse(hfStackId.Value, out answ); return answ; } } public string cssByPrepared(object _prepared, object _isNext) { string answ = "table-secondary"; if (_isNext.ToString() == "1") { answ = "table-primary"; } else { if (_prepared.ToString() != "") { answ = "table-success"; } } return answ; } } }