ASP.NET C# separate, how to paint a web form without knowing it in advance

  • Thread starter Thread starter Hai Nguyen
  • Start date Start date
H

Hai Nguyen

I'm using Visual Studio .NET 2003. I keep ASP.NET code and C# code separate.
Since I have to work with database to extract several questions to ask from
users. I don't know if it's possible after I query and use C# code behind to
generate a form. If there is please give me a tutorial or link

Thanks for any help
 
Hi Hai,
I'm using Visual Studio .NET 2003. I keep ASP.NET code and C# code
separate. Since I have to work with database to extract several
questions to ask from users. I don't know if it's possible after I
query and use C# code behind to generate a form. If there is please
give me a tutorial or link

I suggest the following:

- put a form in your ASP.NET-page
- put a PlaceHolder-Control between <form> ... </form>
- Add your Controls to the PlaceHolder. You can add anything (Add Text using
the System.Web.UI.LiteralControl).

Regards,
 
Can u be more specific?

I googled around but I have not find anything which can solve my problem
 
Back
Top