在C#Windows应用程序中将数据发布到网站 [英] Post Data to Web Site in C# Windows Application

查看:63
本文介绍了在C#Windows应用程序中将数据发布到网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨开发者,



如何使用c #Windows应用程序将数据发布到网站。了解更多内容的解释



示例:(它像Web抓取一样)

我有一个URL(网站)当我访问它时会询问凭据。

我将通过这些要编程,之后它会重定向一页

在这个页面中,我需要将5或6个文本框传递给程序,然后通过程序点击提交按钮。

然后我需要抓住最终的URL。



我们怎么能这样做。



感谢您提前...



谢谢,

Aravind G

解决方案

请参阅果壳中的HttpWebRequest / Response - 第1部分 [ ^ ]。

Hi Developers,

How to post data to web site using c# Windows application.Below is explanation to understand more

Example: (its like Web scraping)
I have one URL(Web site) when i access this it will ask credentials.
I will pass these to program and after it will redirect one page
In this page 5 or 6 textboxes i have to pass these to program and click submit button through program.
then i need to catch that final URL.

How we can do this please.

Thanks for advance...

Thanks,
Aravind G

解决方案

See HttpWebRequest/Response in a Nutshell - Part 1[^].


这篇关于在C#Windows应用程序中将数据发布到网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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