Last post Jul 05, 2017 07:08 AM by PatriceSc
Jul 03, 2017 11:46 AM|milanpantelic1995|LINK
Hi all, I am new to programming and I get stuck with some issue. Is there any way to create new web forms in some folder from c#. I have some web form page that should create other web form pages. Can someone help me solve this issue? Thanks in advance.
Jul 03, 2017 11:56 AM|PatriceSc|LINK
Theorically yes with some restrictions but most often when seeing that, most often it is not needed. What is your scenario? If this is because you have data you are using a single page that just fetch whatever row you want from the db so that it could show
all data of the same nature using a single page.
Jul 03, 2017 12:48 PM|milanpantelic1995|LINK
I want to create a web store. This store will have a lot of articles. And I want to give a option to one man who can create a new article(web form page) and that page will catch data from database whenever that page is requested. Please keep in mind that
I am new guy here so please explain me a little more. Thanks in advance.
Jul 03, 2017 01:02 PM|PatriceSc|LINK
You won't create an article page for each article stored in your db. Instead you create a single page that will accept an article id or name as a parameter and that will fetch and show the relevant article data.
Event when you see pages such as product/some_name and product/some_other_name, most often it is not that you have two separate pages but just a single page that fetch either "some_name" or "some_other_name" article data.
Start perhaps with
Jul 03, 2017 08:33 PM|milanpantelic1995|LINK
I see, so I will create just one page and change the content of them. Thanks for that. Can you tell me just one more thing, can google find that page with specific content? Thanks in advance.
Jul 04, 2017 06:22 PM|girish24041984|LINK
Hope this will helpful
Jul 05, 2017 07:08 AM|PatriceSc|LINK
You may also to consider using MVC rather than Web Forms.