Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: How to achieve?


Message #1 by "Mel C Solomon" <melsolomon@e...> on Mon, 2 Jul 2001 16:06:30 -0800
To all:



Let say I have 100+ articles on my site...meaning when I click on the  article title on

the left menu of my page(in ascx)...I will be front to the article.



I mean, how do you/they do that? Like in asptoday where there are thousands of

articles? Do I ahve to create a page for each articles? Thats very expensive! Or is it

done by just only one page say Articles.aspx ..then it will load the correct article? If

yes, where do you store the text file or the article itself? How it is done?



I hope you understand what I want to achieve. Need your help badly.





Regards,

mel :-)





__________________________________

www.edsamail.com

Message #2 by Ankur Shrivastav <ankurs@s...> on Mon, 2 Jul 2001 11:54:13 +0530
Hi,



You could save the article in a text file or in a database. When a user

clicks on a article title, use a query string to pass teh content 

ID/Article

Id to the action page. Use this action page to either retrieve the text 

file

containing the article, or use this Id to query teh database to 

retreive the

article and display it.



Basically, theer is one display page, teh article content keeps 

changing

based on one of the two mechanisms stated above. Hope thsi helps.





Ankur Shrivastav

Engineer, Technology

Sapient	12th Floor, Videocon Towers

Rani Jhansi Marg, Jhandewalan,

New Delhi, India







-----Original Message-----

From: Mel C Solomon [mailto:melsolomon@e...]

Sent: Tuesday, July 03, 2001 5:37 AM

To: ASP+

Subject: [aspx] How to achieve?





To all:



Let say I have 100+ articles on my site...meaning when I click on the

article title on

the left menu of my page(in ascx)...I will be front to the article.



I mean, how do you/they do that? Like in asptoday where there are 

thousands

of

articles? Do I ahve to create a page for each articles? Thats very

expensive! Or is it

done by just only one page say Articles.aspx ..then it will load the 

correct

article? If

yes, where do you store the text file or the article itself? How it is 

done?



I hope you understand what I want to achieve. Need your help badly.





Regards,

mel :-)



Message #3 by =?iso-8859-1?q?Birgitta=20Dahl?= <birgittadahl@y...> on Mon, 2 Jul 2001 11:31:55 +0200 (CEST)
The easiest way to do it is probably to just store the

article in a database and associate each article with

a unique id.



You then use say a querystring to tell the asp page

what article to load, i.e. "mypage.aspx?article=12"

which will tell the page to load article #12.



Danny





 --- Mel C Solomon <melsolomon@e...> skrev:

> To all:

> 

> Let say I have 100+ articles on my site...meaning

> when I click on the  article title on

> the left menu of my page(in ascx)...I will be front

> to the article.

> 

> I mean, how do you/they do that? Like in asptoday

> where there are thousands of

> articles? Do I ahve to create a page for each

> articles? Thats very expensive! Or is it

> done by just only one page say Articles.aspx ..then

> it will load the correct article? If

> yes, where do you store the text file or the article

> itself? How it is done?

> 

> I hope you understand what I want to achieve. Need

> your help badly.

> 

> 

> Regards,

> mel :-)

> 

>




  Return to Index