Hi..
can any one please tell me, is it possible to run this code.? please provide with some code.
in my .aspx file i have a button btnSearch and a panel panelResult
on a btnSearch_Click i want to dynamically create some controls and add them to the panel.
protected void Page_Load(object sender, EventArgs e)
{
}
protected void btnSearch_Click(object sender, EventArgs e)
{
List<Investor> list = new List<Investor>
{
new Investor{name="Jon" , id=1} ,
new Investor{name="Kim" , id=2}
};
displayInvestorList(list);
}
private TableRow createTableHeader()
{
TableRow tr = new TableRow();
tr.Font.Bold = true;
tr.Font.Size = 18;
tr.BackColor = System.Drawing.ColorTranslator.FromHtml("#B8B8B8");
TableCell tc1 = createTableCell("Name");
Ta ...
Go to the complete details ...