Click here to Skip to main content
15,888,590 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm completely new to programming and everything. I am using a template in Visual Studios(Using C#) - I've managed to "personalize" some titles, headings etc. but my real issue is how to put my own data/content into the "pages".
In sourcing out the code etc in the sampledatasource.csfile, I THINK this is where I'm supposed to put in my own content.
Do I need to create my own file for each page? How do I do this?

Thanks
Posted

If you are designing web pages using Asp.Net, then you can check that those templates must be having one Aspx Page.

On that Aspx page, you can customize it by putting your contents, Aspx controls and client-side scripting codes.
On the code behind <code>.aspx.cs page, you can put the Server side code, which will be executed as per the controls' behaviour.

You will find many beginner articles on Code Project and Google on how to start on building websites and web applications using Asp.Net c#.
 
Share this answer
 
If you are talking of creating a web site with ASP.NET then you should look at http://www.asp.net/[^], where you will find lots of useful resources, and you could also read some of the CodeProject articles[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900