ASP.NETÈ¡ÍøÒ³Êý¾Ý¡¶Êý¾Ý²É¼¯¡·
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.IO;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
string strURl = "http://www.jxflcp.net/ssc/";//»»³ÉÄãÒªµÄÄǸöÍøÖ·
string str = GetHttp(strURl);
if (str != "xx")
{
//»»³ÉÄãÏëÒª½ØÈ¡ÍøÒ³²¿·ÖÄÚÈݵĴúÂë
Regex reg = new Regex(@"<td width=""100"" height=""22"" style=""font-size: 14px;font-weight: bold;color: #006600;"">(\d+)</td>[\s\r\n]*<td width=""80"" style=""font-size: 14px;font-weight: bold;color: #0099FF;"">([\d\s\:]+)</td>[\s\r\n]*<td width=""100"" style=""font-size: 14px;font-weight: bold;color: #cc0000;"">([\d,\s]+)</td>");
if (reg.IsMatch(str))
{
MatchCollection mc = reg.Matches(str);
foreach (Match m in mc)
{
Response.Write(m.Result("
Ïà¹ØÎĵµ£º
VS2005µ÷ÊÔasp.net³ÌÐòʱ³öÏÖ----Internet Explorer ÎÞ·¨ÏÔʾ¸ÃÒ³Ãæ
ÈçͼËùʾ£º
ǰ¶Îʱ¼ä¿ÉÒÔµ÷ÊԵģ¬ËÖª×òÍíͻȻ²»ÐÐÁË£¬ÕÒÁ˺þã¬ÖÕÓÚÕÒµ½½â¾ö·½°¸¡£ÓõÄÊÇVS2005£¬Îļþϵͳ£¬ÔÚIISÀïÃæÉèÖõϰ£¬¿ÉÒÔÔËÐУ¬´úÂëûÎÊÌ⣬Êý¾Ý¿âÁ¬½ÓûÎÊÌâ¡£
·½°¸Ò»£ºÍ¨¹ýÓÒ»÷ASP.NET Development Server£¬Èçͼ£º
´ò¿ª1£¬ÔÚĬÈÏä¯ÀÀÆ ......
People often ask me for guidance on how they can dynamically "re-write" URLs and/or have the ability to publish cleaner URL end-points within their ASP.NET web applications. This blog post summarizes a few approaches you can take to cleanly map or rewrite URLs with ASP.NET, and have th ......
[ת]asp.net ĸ°æÒ³Ê¹ÓÃÏê½â
ĸ°æÒ³£¨À©Õ¹ÃûÊÇ.master£©
ËüµÄʹÓøúÆÕͨµÄÒ³ÃæÒ»Ñù£¬¿ÉÒÔ¿ÉÊÓ»¯µÄÉè¼Æ£¬Ò²¿ÉÒÔ±àдºóÖôúÂë¡£ÓëÆÕÍ¨Ò³Ãæ²»Ò»ÑùµÄÊÇ£¬Ëü¿ÉÒÔ°üº¬ContentPlaceHolder¿Ø¼þ£¬ContentPlaceHolder¿Ø¼þ¾ÍÊÇ¿ÉÒÔÏÔʾÄÚÈÝÒ³ÃæµÄÇøÓò¡£
´úÂëÈçÏ£º
<%@ Master Language="C#" AutoEventWireup="true" CodeFile=" ......
Default.aspx:
<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" ......