Hello All,
I am creating windows application in that i wan create dynamic controls so that i want to give line break after each control in panel.I had tried
panel1.Controls .Add(new LiteralControl( "<BR>"));
but it gives error like :
"The type or namespace name 'LiteralControl ' could not be found (are you missing a using directive or an assembly reference?)"
Also have tried adding namespace for leteral control bt it not accepting.VS10 automaticaly get restart if i trying to add system.web.dll
I am creating windows application in that i wan create dynamic controls so that i want to give line break after each control in panel.I had tried
panel1.Controls .Add(new LiteralControl( "<BR>"));
but it gives error like :
"The type or namespace name 'LiteralControl ' could not be found (are you missing a using directive or an assembly reference?)"
Also have tried adding namespace for leteral control bt it not accepting.VS10 automaticaly get restart if i trying to add system.web.dll
Comment