Re: [ADVANCED-DOTNET] Receiving an http post.

2008-07-08 Thread John Warner
Ok, understood now, I just didn't understand what you meant the first time and sadly I've already had my morning coffee. Thanks. John Warner > -Original Message- > From: Discussion of advanced .NET topics. > [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Heath > Sent: Tuesday, July 08, 2

Re: [ADVANCED-DOTNET] Receiving an http post.

2008-07-08 Thread Ryan Heath
The easiest way to create an HttpHandler is to right click on your web project in visual studio. Choose add new Item Choose add generic handler. Visual Studio will create a empty handler class for you. Your part is to fill in the method public void ProcessRequest(HttpContext context) { object w

Re: [ADVANCED-DOTNET] Receiving an http post.

2008-07-08 Thread Robert Lee
Mark, Is this ASP, or a Windows app? Rob -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Mark Nicholls Sent: Tuesday, July 08, 2008 9:44 AM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: [ADVANCED-DOTNET] Receiving an http post. I've

Re: [ADVANCED-DOTNET] Adding a new row to the DataGridView programmatically

2008-07-08 Thread Peter Vertes
I've actually never manipulated data inside a DataGrid like that. I always bind my grid to a data source (like a DataSet) and manipulate the data in there. I just find it to be easier and safer. Give it a try; I think this might solve your problem. -Pete On Mon, Jul 7, 2008 at 12:07 PM, Mike A

Re: [ADVANCED-DOTNET] Receiving an http post.

2008-07-08 Thread Daniel Barla-Szabo
An HttpHandler is probably the correct way to go. However a quicker way to see if it will work is to create a standard ASP.Net website / project, and to create a normal ASPX page. >From here you should be able to access data sent to the page as POST data like this: Request["SomeFieldName"]; If

Re: [ADVANCED-DOTNET] Receiving an http post.

2008-07-08 Thread Brad Bode
The posted data will be on the Request - try something like: protected void Page_Load(object sender, EventArgs e) { XmlDocument incomingXML = new XmlDocument(); incomingXML.Load(Request.InputStream); ... } On Tue, Jul 8, 2008 at 8:43 AM, Mark Nicholls <[EMAIL PROTECTED]> wrote: > I've got a 3

Re: [ADVANCED-DOTNET] Receiving an http post.

2008-07-08 Thread John Warner
I'm not the original poster, but your answer is not clear to me likely my ignorance rather then your suggested solution. Could you post a snippet of code to show this? Thanks John Warner > -Original Message- > From: Discussion of advanced .NET topics. > [mailto:[EMAIL PROTECTED] On Be

Re: [ADVANCED-DOTNET] Receiving an http post.

2008-07-08 Thread Ryan Heath
How about setup an HttpHandler which handles the post. // Ryan On Tue, Jul 8, 2008 at 3:43 PM, Mark Nicholls <[EMAIL PROTECTED]> wrote: > I've got a 3rd party system that can be configured to post XML files via > http posts. > > This sort of thing is a bit over my head. How do I receive an http p

[ADVANCED-DOTNET] Receiving an http post.

2008-07-08 Thread Mark Nicholls
I've got a 3rd party system that can be configured to post XML files via http posts. This sort of thing is a bit over my head. How do I receive an http post? === This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscripti

Re: [ADVANCED-DOTNET] Adding a new row to the DataGridView programmatically

2008-07-08 Thread Mark Nicholls
Personally I don't add/delete/read data from the DataGridView itself, I leave it to look after the UI. I'd add the row to the underlying datasource. But that may not be the problem. === This list is hosted by DevelopMentorĀ® http://www.develop.com View archives a