English 中文(简体)
如何将XML数据传送到网上浏览器控制的网页?
原标题:How to pass XML data to web page running in web browser control?

我有窗户申请,网页使用窗口(NET)浏览器控制。 窗口应用需要向网页(接驳室)发送一些信息,现在则使用查询方式实现。

Now we want to send more details which may be in the XML format.

How can we pass the large amount of data (like XML) in such case?

问题回答

如果希望send(更多)数据,你就应当使用POST方法。 (如果具体表格能够正确处理,那么你实际上就不需要注意它是否属于XML。)

彩票只能用于具体说明资源。 通常使用GET方法,如http://server/giveme.php?report& number=123。 (如果该指示与浏览器使用,则应当开放与<编码>server:80。) 注 /giveme.php?report& number=123。 (一些负责人随行)

使用POST非常相似,除非在采用这一方法之后,URI(/hereis.php?report& number=124和一些吉大港定居人士也发送了数据(这实际上可能是任何数据)。

人们还记得,GET应当只用于查询:你可以打电话GET /giveme.php?report&号码=123<> 1 000次,你仍应收到同一第123号报告(或一些最新版本)。 (So GET不应用于发送数据,而是用于get数据。)

而对于《行动计划》来说,预计不会有: 每次从您获得的《名册》都被接受,实际上,你会向服务器提供某些数据<>,而且通常,你不应放弃<代码>《POST》/hereis.php?report&编号=124多次。 (Well, 您可以设计申请,接受<>POST /hereis.php?report,但可追溯到您,并举出另一个故事。)





相关问题
Bring window to foreground after Mutex fails

I was wondering if someone can tell me what would be the best way to bring my application to the foreground if a mutex was not able to be created for a new instance. E.g.: Application X is running ...

How to start WinForm app minimized to tray?

I ve successfully created an app that minimizes to the tray using a NotifyIcon. When the form is manually closed it is successfully hidden from the desktop, taskbar, and alt-tab. The problem occurs ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

Handle DataTable.DataRow cell change event

I have a DataTable that has several DataColumns and DataRow. Now i would like to handle an event when cell of this DataRow is changed. How to do this in c#?

Apparent Memory Leak in DataGridView

How do you force a DataGridView to release its reference to a bound DataSet? We have a rather large dataset being displayed in a DataGridView and noticed that resources were not being freed after the ...

ALT Key Shortcuts Hidden

I am using VS2008 and creating forms. By default, the underscore of the character in a textbox when using an ampersand is not shown when I run the application. ex. "&Goto Here" is not ...

WPF-XAML window in Winforms Application

I have a Winforms application coded in VS C# 2008 and want to insert a WPF window into the window pane of Winforms application. Could you explain me how this is done.