Hi
I want to Disable btnADd if column.status = "O"
try
{
StringBuilder htmlTable =new StringBuilder();
string ParticipantType ="";
BALTrainingHeader bALTrainingHeader =new BALTrainingHeader();
List
if (Result !=null)
{
BALEmployee bALEmployee =new BALEmployee();
htmlTable.Append(""
");
htmlTable.Append(" "Training NumberActions Add ); htmlTable.Append("");
foreach (var columin Result) { htmlTable.Append("" ");
htmlTable.Append(""); htmlTable.Append("" "+ colum.TrainingNumber +"); htmlTable.Append("); } htmlTable.Append("); htmlTable.Append(");
PlaceHolderTable.Controls.Add(new Literal { Text = htmlTable.ToString() });
}
}
Thanks
Uday DodiyaPosted Sep 10, 2022, 11:31 AM
Change Your For Loop Code As Per Following