简体   繁体   English

xamarin,将html解析为c#

[英]xamarin, parsing html to c#

I'm doing the Xamarin project. 我正在做Xamarin项目。 There are an asp.net mvc and sql database. 有一个asp.net mvc和sql数据库。 I've tried to convert html table to datatable or dataset. 我试图将html表转换为数据表或数据集。 But its difficult for me. 但这对我来说很困难。 I tried HtmlAgility but it didnt work. 我尝试了HtmlAgility,但没有成功。 How can I convert this table ?? 如何转换此表 < h2>Index

<a href="/DatabaseFirst/oyunlar/Create">Create New</a>
<table class="table">
<tr>
    <th>
        oyun_adi
    </th>
    <th>
        oyun_tarihi
    </th>
    <th>
        oyun_aciklama
    </th>
    <th>
        oyun_suresi
    </th>
    <th>
        oyun_foto
    </th>
    <th>
        tur_adi
    </th>
    <th>
        salon_adi
    </th>
    <th></th>
</tr></code>

Try YQL 尝试YQL

https://developer.yahoo.com/yql/ https://developer.yahoo.com/yql/

It will allow you to select HTML data over the web saving on bandwidth. 它将允许您选择Web上的HTML数据,从而节省带宽。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM