Results 1 to 2 of 2

Thread: How retrieve data from my website ?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2011
    Posts
    294

    Exclamation How retrieve data from my website ?

    I have a small market place in my website so I want to development a small app for retrieve and check data for example find a transaction or the email of a client and to show this data in a datagridview, this the the html code of a transaction :

    <tr class="result status_Completed">
    <td><a href="/sale-detail.php?id=14056"><img src="/images/leon-icon-16x16.png" title="transaction details" border="0"></a></td>

    <td><a href="/sale-detail.php?id=14056">[email protected]</a><br>
    <span style="font-size: 75%;"><strong>item #:</strong> <em>2774125</em></span>
    </td>
    <td>2011-12-01 12:42</td>
    <td>$17.00</td>
    <td>Completed</td>

    <td class="cntr">2</td>
    <td></td>
    <td><strong>David chong</strong></td>
    </tr>

    For example I want to show the data in the datagridview like this:

    Email date amount name




    Can you help me?

  2. #2
    Fanatic Member Seraph's Avatar
    Join Date
    Jul 2007
    Posts
    959

    Re: How retrieve data from my website ?

    do you have direct access to the database?
    if you do, your best bet is to create a script that gets data from the database and outputs it in XML.
    Then, use XDocument to read through the XML and output the required data.

    Visual Studio 2010 Professional | .NET Framework 4.0 | Windows 7

    SERYSOFT.COM :: SysPad - Folder Management Program - Please comment HERE if you find this program useful, have ideas, or know of any bugs.
    [Very useful for IT/DP departments where many folders are consistently accessed. Also contains a scratchpad window for quick access to notes.]

    [.NET and MySQL Quick Guide]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width