Well the best solution could be generating html output at runtime.
Best solution could be using datastore to store the page information
For example
•       Create a table in datastore
Article
ArticleId       bigint (Pk Identity seed 1)
ArticleName     nvarchar(50)
ArticleDescription      ntext
ArticleUsername nvarchar(50)

•       Let’s say you have a .aspx page which accepts username, articlename
and article details.
•       Data gets stored in the above db table.
•       Create a listing of article names from Article reading using sqldata
reader. Create the links as hyperlink like <a herf=”renderDynamic.aspx?
articleid=1”>AbcArtcle </a>. Well you have to replace 1 with actual
articleid while retrieving data.
•       Clicking on link control will be passed to renderDynamic.aspx which
accepts the parameter and will query the db “where ArticleId=1” and
render formatted html output dynamically with response.write method.
•       If you want more sophisticated outcome then do some tweak with your
global.asax like when the request arrives you can replace the
querystring with actual articlename. Well that’s a separate issue I
think this will be helpful to you……


On Jun 25, 5:50 pm, jack me <[email protected]> wrote:
> Hi
>
> I have requirement of a site in which client want to get articles from the
> user/Visitor. When visitor will  enter the article information then the
> detail of that article will not save in database. At time of submit a aspx
> page will be generate in specific directory which will contains the article.
>
> regards,
> Rohit
>
>
>
> On Thu, Jun 25, 2009 at 3:26 PM, Cerebrus <[email protected]> wrote:
>
> > Why statically ? Isn't storing the information in a data store and
> > retrieving it in a single parameterized page a much better method ?
>
> > On Jun 25, 10:32 am, jack me <[email protected]> wrote:
> > > Hi,
>
> > > I have requirement for creation of aspx pages (with master pages)
> > > dynamically. can you help.
>
> > > requirement : User submit his information on website via a page contains
> > the
> > > different fields. User will submit his information. After submission of
> > his
> > > information. I want to manage that information statically on that website
> > in
> > > specific page.  So i want to create page dynamically.
>
> > > out put: User will submit  *Name, Article, *. I want to generate page
> > > *name.aspx
> > > *containing the *article information*.
>
> > > I have searched on google But not find any right article for this
> > > requirement.
>
> > > Jack

Reply via email to