如何从网站检索数据 [英] How to retrieve data from a website

查看:78
本文介绍了如何从网站检索数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想根据文件编号从网站检索数据。但我必须使用vb.net以编程方式执行此操作,最后必须将结果存储在csv文件中。

在我的网站中Web应用程序,我将在文本框(通过GUI)和站点地址(通过vb.net代码)中提供文件编号,当我单击搜索按钮时,应获取csv输出。

在过去的两周里,我厌倦了这个问题。在这种情况下,我可以帮助我。


谢谢&此致,

rinu

解决方案

您可以先使用数据表保存数据,然后再将其转换为.csv格式。

hi anijos,

Thanx为你快速回复..但我没有得到第一部分本身..我,我无法通过vb.net访问该网站代码(我不想在我的页面中打开网站),而且我没有得到特定文件的搜索结果。在我的页面中


希望你得到它..请帮助我


Rinu,


什么你的意思是serach结果文件号?我不明白那部分..你能解释一下吗?


I want to retrieve data from a website based on a file number.But i have to do this programmatically using vb.net and finally have to store the results in a csv file.
In my web application,i will give the file number in a textbox(through GUI) and the site address(through vb.net code) and when i click the search button,the csv output should be obtained.
I am fed up with this problem for the last 2 weeks..can anybody pls help me in this situation.

Thanks & Regards,
rinu

解决方案

You can use a datatable to save the data first and later convert it into .csv format.


hi anijos,
Thanx for ur quick reply..but i didnt get the first part itself..i.e,i am not able to access the site through vb.net code(i dont want to open the site in my page)and also i am not getting the search results of the particular file no. in my page

Hope u got it..pls help me


Rinu,

what do u mean by serach result for file no? i dont understand that part.. can you explain a bit more?


这篇关于如何从网站检索数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆