41 lines
786 B
C#
41 lines
786 B
C#
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)
|
|
{
|
|
string answ = "col-6 table-secondary";
|
|
if (_prepared.ToString() != "")
|
|
{
|
|
answ = "col-6 table-success";
|
|
}
|
|
return answ;
|
|
}
|
|
}
|
|
} |