Make a news system, and rewrite each news URL.
1. Web. config Configuration
<Httpmodules>
<Add type = "urlrewriter. modulerewriter, urlrewriter" name = "modulerewriter"/>
</Httpmodules>
<Configsections>
<Section name = "rewriterconfig" type = "urlrewriter. config. rewriterconfigserializersectionhandler, urlrewriter"/>
</Configsections>
<Rewriterconfig>
<Rules>
<Rewriterrule>
<Lookfor> ~ /(\ D +) \. aspx </lookfor>
<Sendto> ~ /Detail. aspx? Id = $1 </sendto>
</Rewriterrule>
</Rules>
</Rewriterconfig>
2. Create a page file
<Asp: repeater id = "rptbulletin" runat = "server">
<Itemtemplate>
<Table cellspacing = "0" cellpadding = "0" width = "100%" border = "0">
<Tbody>
<Tr>
<TD Height = "20">
<A class = "other" href = 'Log/<% # eval ("ID") %>. aspx 'target = "_ blank" Title = '<% # eval ("title") %>'> · <% # (eval ("title ") %> </a>
</TD>
</Tr>
</Tbody>
</Table>
</Itemtemplate>
</ASP: repeater>
Create bulletindetails. aspx
In the pageload method
String id = request. querystring ["ID"];
If (ID! = NULL)
{
Read News
}
OK