利用正则表达式将html网页数据变成Web Service[12]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 dancefire 的 blog

            this.text = "foreign exchange rates of bank of china";
            ((
system.componentmodel.isupportinitialize)(this.datagrid1)).endinit();
            ((
system.componentmodel.isupportinitialize)(this.ds)).endinit();
            
this.resumelayout(false);

        }
        
#endregion

        
private void btnconnect_click(object sender, system.eventargs e)
        {
            
updatedatagrid();
        }
        
private void updatedatagrid()
        {
            
try
            
{
                
btnconnect.enabled = false;
                
txturl.readonly = true;
                
proxy.url = txturl.text;
                
ds = proxy.getforeignexchangeratesdataset();
                
datagrid1.setdatabinding( ds, "foreignexchange" );
                
datagrid1.update();
            }
            
catch( exception err )
            {

本文关键:利用正则表达式将html网页数据变成Web Service
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top