就用Server.UrlEncode()這個函式它就會把這些編碼問題解決掉啦

 

string Path = "~/myCode/Xml/mymy.ashx?F_SiteID=" + F_SiteID + "&F_Type=" + F_Type;

 

Path = string.Format("myXMLPath={0}", Server.UrlEncode(Page.ResolveUrl(Path)));

 

 

arrow
arrow
    全站熱搜

    welkingunther 發表在 痞客邦 留言(0) 人氣()