473,320 Members | 2,048 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Web service

I am wanting to display the following:

http://www.nraila.org/Services/Legis...ates.asmx?WSDL

in a datagrid on a website.

Any good place to start in figuring out how to do this? I've found some
RSS stuff on the web, but it doesnt allow you to adjust the content like
loading it into a datagrid would do.

BC
Nov 19 '05 #1
3 949
Goober:
I got it up and running in about 2 minutes, bet you can do the same.

In VS.Net, open a web project (new or existing), right click on "References"
and select "Add Web reference" enter that URL in the box and hit "go".
Click "Add Referenc"

in your page, drop a datagrid, set the AutoGenerateColumns to true ala:
<asp:DataGrid AutoGenerateColumns="True" Runat="server" ID="grid" />

in your codebehind, just do:
Protected grid As System.Web.UI.WebControls.DataGrid

Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles MyBase.Load
Dim nraila As New org.nraila.www.NRAILANewsandUpdatesSyndication
grid.DataSource = nraila.GetLegislativeUpdates()
grid.DataBind()
End Sub

and you should be all go :)

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"Goober" <go****@christian.net> wrote in message
news:e6*************@TK2MSFTNGP09.phx.gbl...
I am wanting to display the following:

http://www.nraila.org/Services/Legis...ates.asmx?WSDL

in a datagrid on a website.

Any good place to start in figuring out how to do this? I've found some
RSS stuff on the web, but it doesnt allow you to adjust the content like
loading it into a datagrid would do.

BC

Nov 19 '05 #2
Karl :
how to add a web reference when there is a proxy ??

"Karl Seguin" wrote:
Goober:
I got it up and running in about 2 minutes, bet you can do the same.

In VS.Net, open a web project (new or existing), right click on "References"
and select "Add Web reference" enter that URL in the box and hit "go".
Click "Add Referenc"

in your page, drop a datagrid, set the AutoGenerateColumns to true ala:
<asp:DataGrid AutoGenerateColumns="True" Runat="server" ID="grid" />

in your codebehind, just do:
Protected grid As System.Web.UI.WebControls.DataGrid

Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles MyBase.Load
Dim nraila As New org.nraila.www.NRAILANewsandUpdatesSyndication
grid.DataSource = nraila.GetLegislativeUpdates()
grid.DataBind()
End Sub

and you should be all go :)

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"Goober" <go****@christian.net> wrote in message
news:e6*************@TK2MSFTNGP09.phx.gbl...
I am wanting to display the following:

http://www.nraila.org/Services/Legis...ates.asmx?WSDL

in a datagrid on a website.

Any good place to start in figuring out how to do this? I've found some
RSS stuff on the web, but it doesnt allow you to adjust the content like
loading it into a datagrid would do.

BC


Nov 19 '05 #3
Vinay:
To be honest I didn't know...but a google search turned up a couple results
you might find handy:
http://www.devx.com/tips/Tip/17401?trk=DXRSS_DOTNET
and
http://www.codeproject.com/vb/net/we...e_by_proxy.asp

Hope this helps,
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/
"vinay" <vi***@discussions.microsoft.com> wrote in message
news:8A**********************************@microsof t.com...
Karl :
how to add a web reference when there is a proxy ??

"Karl Seguin" wrote:
Goober:
I got it up and running in about 2 minutes, bet you can do the same.

In VS.Net, open a web project (new or existing), right click on "References" and select "Add Web reference" enter that URL in the box and hit "go".
Click "Add Referenc"

in your page, drop a datagrid, set the AutoGenerateColumns to true ala:
<asp:DataGrid AutoGenerateColumns="True" Runat="server" ID="grid" />

in your codebehind, just do:
Protected grid As System.Web.UI.WebControls.DataGrid

Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim nraila As New org.nraila.www.NRAILANewsandUpdatesSyndication
grid.DataSource = nraila.GetLegislativeUpdates()
grid.DataBind()
End Sub

and you should be all go :)

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"Goober" <go****@christian.net> wrote in message
news:e6*************@TK2MSFTNGP09.phx.gbl...
I am wanting to display the following:

http://www.nraila.org/Services/Legis...ates.asmx?WSDL

in a datagrid on a website.

Any good place to start in figuring out how to do this? I've found some RSS stuff on the web, but it doesnt allow you to adjust the content like loading it into a datagrid would do.

BC


Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Hardy Wang | last post by:
Hi all: I read an article from http://www.c-sharpcorner.com/Code/2003/Sept/InstallingWinServiceProgrammatically.asp about how to install a windows service programmatically. Based ont the code...
7
by: Mike | last post by:
I want to create a windows service that will monitor another window service. what i need for the service to do is, if a service is stopped I need it to start the service back up example: ...
9
by: SP | last post by:
Hi All, I wrote a windows service which is supposed to stop after specified amount of time. I am calling OnStop() after specified time. OnStop() methods executed but I dont see the service...
3
by: Jeremy S. | last post by:
On my dev machine (XP/Pro with VS.NET 2003) I have been developing a Windows Service and installing it on the local machine by opening the Visual Studio Command Prompt and then executing . Now I...
2
by: letibal | last post by:
Hello, I have written a windows service and created an installer for it. The service runs under the system accounts. When started, it launches a GUI. By default, the InteractiveProcess property...
4
by: kkt49 | last post by:
# vim: et sw=4 ts=8 sts from wxPython.wx import * import sys, os, time import pywintypes import win32serviceutil import win32service import win32event import win32process
4
by: carson | last post by:
I have written two windows services: - service A does some crunching of local data files and uploads them to a central processing computer via http. - service B monitors a manifest file on a...
3
dmjpro
by: dmjpro | last post by:
plz send me a good link which can clearify me how the J2EE framework works i want the details information .... plz help thanx
20
by: =?Utf-8?B?cmtibmFpcg==?= | last post by:
I was executing the steps given in http://suppor.microsoft.com/kb/308359 for testing a sample web service application. However, the following line gives a compilation error: localhost.Service1...
5
by: dm3281 | last post by:
I'm really starting to hate writing services -- or trying to, anyway. Why do I need to rename my project to the service name? Why do I need to set the "ServiceName" property to my service name?...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.