Hi
I have below code & i want when clicked on Add modal popup opens & in Dropdown i want to display States of selected record in a dropdown
C#
try
{
StringBuilder htmlTable = new StringBuilder();
string ParticipantType = "";
BALTrainingHeader bALTrainingHeader = new BALTrainingHeader();
List Result = bALTrainingHeader.GetRecordListDrafted();
if (Result != null)
{
BALEmployee bALEmployee = new BALEmployee();
htmlTable.Append("");
htmlTable.Append("#Training NumberAdd");
htmlTable.Append("");
foreach (var colum in Result)
{
htmlTable.Append("");
htmlTable.Append("" + colum.TrainingID + "");
htmlTable.Append("" + colum.TrainingNumber + "");
htmlTable.Append(" ");
htmlTable.Append("");
}
htmlTable.Append("");
htmlTable.Append("");
PlaceHolderTable.Controls.Add(new Literal { Text = htmlTable.ToString() });
}
}Code
Add/Update Record
×
State *
Select State
CloseThanks

Answers
Know the answer? Post it. Somebody with the same question will find it here.