<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Comment Feed for Channel 9 - DataBinding to a Web Service in ASP.NET 2.0</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Shows/DevNuggets/DataBinding-to-a-Web-Service-in-ASPNET-20/RSS"></atom:link>
	<image>
		<url>http://ak.channel9.msdn.com/ch9/f8e3/91c020a6-2a69-495e-8bb5-9dea0157f8e3/DataBindToWSASPNET2_100_ch9.jpg</url>
		<title>Channel 9 - DataBinding to a Web Service in ASP.NET 2.0</title>
		<link></link>
	</image>
	<description> One of the cool new features of ASP.NET 2.0 is its rich declarative databinding. In addition to traditional techniques like databinding to a back-end SQL database, you can also databind to web services, using the ObjectDataSource.In this DevNugget, Mid-Atlantic .net Developer Evangelist G. Andrew Duthie (aka .net DEvHammer) shows you how you can very quickly create a web service to return structured data using a .net 2.0 DataSet class, then how you can easily bind your web service to an ASP.NET 2.0 GridView control using the ObjectDataSource, including both displaying and updating data. </description>
	<link></link>
	<language>en</language>
	<pubDate>Wed, 22 May 2013 08:14:50 GMT</pubDate>
	<lastBuildDate>Wed, 22 May 2013 08:14:50 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: DataBinding to a Web Service in ASP.NET 2.0</title>
		<description>
			<![CDATA[
<p>Does DataGridView have an &quot;Enable insert&quot; option? I have not found such feature in DataGridView so far. Would you mind giving us directions to it?</p>
<p>Kindly regards,</p>
<p>Luciano Evaristo Guerche<br>
Taboao da Serra, SP, Brazil</p>
<p>posted by guercheLE</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/DevNuggets/DataBinding-to-a-Web-Service-in-ASPNET-20#c632857230520000000</link>
		<pubDate>Mon, 12 Jun 2006 15:30:52 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/DevNuggets/DataBinding-to-a-Web-Service-in-ASPNET-20#c632857230520000000</guid>
		<dc:creator>guercheLE</dc:creator>
	</item>
	<item>
		<title>Re: DataBinding to a Web Service in ASP.NET 2.0</title>
		<description>
			<![CDATA[
<p>I'm not sure that there's a simple way to do that. Your best bet for inserts is to use something like the DetailsView control. You could add a DetailsView control to your page, along with an Add Row&nbsp;button or link, and only show the DetailsView when the
 Button/Link is displayed.<br>
<br>
I'm sure that you could customize the behavior of the GridView to allow inserts directly from the control, I'm just not sure it'd be worth the effort, compared to using the built-in DetailsView control.</p>
<p>posted by gduthie</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/DevNuggets/DataBinding-to-a-Web-Service-in-ASPNET-20#c632891828680000000</link>
		<pubDate>Sat, 22 Jul 2006 16:34:28 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/DevNuggets/DataBinding-to-a-Web-Service-in-ASPNET-20#c632891828680000000</guid>
		<dc:creator>gduthie</dc:creator>
	</item>
	<item>
		<title>Re: DataBinding to a Web Service in ASP.NET 2.0</title>
		<description>
			<![CDATA[
<blockquote>
<div>guercheLE wrote:</div>
<div>&#65279;
<p>Does DataGridView have an &quot;Enable insert&quot; option? I have not found such feature in DataGridView so far. Would you mind giving us directions to it?</p>
</div>
</blockquote>
<p></p>
Disclaimer: I haven't actually watched the video.<br>
<br>
That said, a GridView doesn't provide an configurable means of inserting new data, i.e. there is no &quot;enable insert&quot; option.&nbsp; The GridView control does inherit the ability to support insert operations via an InsertCommand, much like a SelectCommand or DeleteCommand.&nbsp;
 You must write this manually, though.&nbsp; Furthermore, I found it necessary to create FooterTemplates to support this data entry and to create an EmptyDataTemplate to allow entry of initial items.<br>
<br>
So, as mentioned: it can be done, but I think there are easier ways to do what you want.<br>
<br>
Regards,<br>
Jim Greer<br>
<p>posted by jbgreer</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/DevNuggets/DataBinding-to-a-Web-Service-in-ASPNET-20#c632906700880000000</link>
		<pubDate>Tue, 08 Aug 2006 21:41:28 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/DevNuggets/DataBinding-to-a-Web-Service-in-ASPNET-20#c632906700880000000</guid>
		<dc:creator>jbgreer</dc:creator>
	</item>
	<item>
		<title>Re: DataBinding to a Web Service in ASP.NET 2.0</title>
		<description>
			<![CDATA[I have an application where I have a datagrid on a form,&nbsp;populated with data from a web service and I want to create relationships with mdf database tables within the same application.<br>
<br>
I am self teaching and sometimes it is very hard to grasp basic concepts. This video is more advanced than me, please can anyone guide me with the basic concept of how I can create relationships between a database table and a web service datagrid.<br>
<br>
Thanks<br>
<br>
stampcoverman<p>posted by stampcoverman</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/DevNuggets/DataBinding-to-a-Web-Service-in-ASPNET-20#c632954713820000000</link>
		<pubDate>Tue, 03 Oct 2006 11:23:02 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/DevNuggets/DataBinding-to-a-Web-Service-in-ASPNET-20#c632954713820000000</guid>
		<dc:creator>stampcoverman</dc:creator>
	</item>
	<item>
		<title>Re: DataBinding to a Web Service in ASP.NET 2.0</title>
		<description>
			<![CDATA[Hi G. Andrew,<br>
<br>
&nbsp;&nbsp; Great information. I learned quite a bit. Even that this one will only run once. What am I to do with that &lt;app settings for a dynamic port? Turn that feature off? Rebuild the web reference every time?<br>
<br>
This one was fun to learn from. I downloaded the swf file and ran it in Irfanview. I must of got a glitch in the transfer though as Irfanview locked up just about at the end of building the service provider. Flash players are cool though. I wish more control
 was avalible like in most video players, you know the slider? It did run okay in IE and Firefox.
<br>
<br>
&nbsp;&nbsp; I saw the one on code snippets and started browsing the help files for more information on downloading them but it just gave me the run around. More on this would be cool because you use a screen cam not that I minded looking at Lisa. lol<br>
<br>
VOE(Visual Objects Environment) de KB9AGT signing off.<img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /><br>
<br>
<br>
P.S. I cannot run IIS on XP Home Edition.[C]<p>posted by VOE</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/DevNuggets/DataBinding-to-a-Web-Service-in-ASPNET-20#c632961415080000000</link>
		<pubDate>Wed, 11 Oct 2006 05:31:48 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/DevNuggets/DataBinding-to-a-Web-Service-in-ASPNET-20#c632961415080000000</guid>
		<dc:creator>VOE</dc:creator>
	</item>
	<item>
		<title>Re: DataBinding to a Web Service in ASP.NET 2.0</title>
		<description>
			<![CDATA[This is great! <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /><br>
<br>
Finally, I have found what I needed. I have been searching all over the internet for binding a webservice to a datagrid.<br>
<br>
I am new to web services. And, I have definitely been doing things the hard way. So, I need to have the web service create a method where it is using the table adapter? This way I can choose an Object as my data source and then have it point to my web service?
 Does it matter that I am referencing a WSDL instead of asmx file?<br>
<br>
I have been choosing (none) as my data source and then binding the grid programmatically. I think the person who is providing me the WSDL is not sending me the correct web methods.<br>
<br>
Thanks.<p>posted by StPoe</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/DevNuggets/DataBinding-to-a-Web-Service-in-ASPNET-20#c632997621650000000</link>
		<pubDate>Wed, 22 Nov 2006 03:16:05 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/DevNuggets/DataBinding-to-a-Web-Service-in-ASPNET-20#c632997621650000000</guid>
		<dc:creator>StPoe</dc:creator>
	</item>
	<item>
		<title>Re: DataBinding to a Web Service in ASP.NET 2.0</title>
		<description>
			<![CDATA[Is it possible to use this method with some form of WSE3 security?&nbsp; I'd like to be able to use a usernameTokenSecurity policy.&nbsp; I know how to set the web service up with this but how do I get the consumer to supply the credentials?<p>posted by buzzrick</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/DevNuggets/DataBinding-to-a-Web-Service-in-ASPNET-20#c633088109770000000</link>
		<pubDate>Tue, 06 Mar 2007 20:49:37 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/DevNuggets/DataBinding-to-a-Web-Service-in-ASPNET-20#c633088109770000000</guid>
		<dc:creator>buzzrick</dc:creator>
	</item>
	<item>
		<title>Re: DataBinding to a Web Service in ASP.NET 2.0</title>
		<description>
			<![CDATA[How can i make this in c#?<p>posted by ervilhaman</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/DevNuggets/DataBinding-to-a-Web-Service-in-ASPNET-20#c633090355250000000</link>
		<pubDate>Fri, 09 Mar 2007 11:12:05 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/DevNuggets/DataBinding-to-a-Web-Service-in-ASPNET-20#c633090355250000000</guid>
		<dc:creator>ervilhaman</dc:creator>
	</item>
	<item>
		<title>Re: DataBinding to a Web Service in ASP.NET 2.0</title>
		<description>
			<![CDATA[thanks for the sample<br>
<br>
How i can changue the url of the webreference?<br>
changue the url&nbsp;in code or&nbsp;in config<br>
<br>
Thanks<p>posted by vgta</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/DevNuggets/DataBinding-to-a-Web-Service-in-ASPNET-20#c633102832490000000</link>
		<pubDate>Fri, 23 Mar 2007 21:47:29 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/DevNuggets/DataBinding-to-a-Web-Service-in-ASPNET-20#c633102832490000000</guid>
		<dc:creator>vgta</dc:creator>
	</item>
	<item>
		<title>Re: DataBinding to a Web Service in ASP.NET 2.0</title>
		<description>
			<![CDATA[What? Take a look back at the Drag N Drop videos my friends. What was that button with the plus sign again? Hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm?<p>posted by VOE</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/DevNuggets/DataBinding-to-a-Web-Service-in-ASPNET-20#c633529656300000000</link>
		<pubDate>Tue, 29 Jul 2008 22:00:30 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/DevNuggets/DataBinding-to-a-Web-Service-in-ASPNET-20#c633529656300000000</guid>
		<dc:creator>VOE</dc:creator>
	</item>
	<item>
		<title>Re: DataBinding to a Web Service in ASP.NET 2.0</title>
		<description>
			<![CDATA[I thought this was about nuggets so he is using the wrong tool anyway. This must be the scrap pile.<p>posted by VOE</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/DevNuggets/DataBinding-to-a-Web-Service-in-ASPNET-20#c633529658830000000</link>
		<pubDate>Tue, 29 Jul 2008 22:04:43 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/DevNuggets/DataBinding-to-a-Web-Service-in-ASPNET-20#c633529658830000000</guid>
		<dc:creator>VOE</dc:creator>
	</item>
	<item>
		<title>Re: DataBinding to a Web Service in ASP.NET 2.0</title>
		<description>
			<![CDATA[
<p>This video seems to have problems.&nbsp; I have tried it on two computers and I get &quot;Media Failure...&quot;.&nbsp; Has it been removed?</p>
<p>posted by phamilton</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/DevNuggets/DataBinding-to-a-Web-Service-in-ASPNET-20#c633828406060000000</link>
		<pubDate>Fri, 10 Jul 2009 16:36:46 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/DevNuggets/DataBinding-to-a-Web-Service-in-ASPNET-20#c633828406060000000</guid>
		<dc:creator>phamilton</dc:creator>
	</item>
	<item>
		<title>Re: DataBinding to a Web Service in ASP.NET 2.0</title>
		<description>
			<![CDATA[
<p>Not sure why the video is not displaying properly in the embedded version. You can still access the WMV directly by clicking the WMV icon next to &quot;Formats&quot; below the embedded video...that seems to work fine. Sorry for the difficulty, I'll see if I can figure
 out what's up.</p>
<p>posted by gduthie</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/DevNuggets/DataBinding-to-a-Web-Service-in-ASPNET-20#c633877826170000000</link>
		<pubDate>Sat, 05 Sep 2009 21:23:37 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/DevNuggets/DataBinding-to-a-Web-Service-in-ASPNET-20#c633877826170000000</guid>
		<dc:creator>gduthie</dc:creator>
	</item>
	<item>
		<title>Re: DataBinding to a Web Service in ASP.NET 2.0</title>
		<description>
			<![CDATA[
<p>Thanks to one of the kind folks on the Channel 9 team, we were able to isolate the issue and correct it. The video should work properly now.</p>
<p>&nbsp;</p>
<p>Andrew</p>
<p>posted by gduthie</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/DevNuggets/DataBinding-to-a-Web-Service-in-ASPNET-20#c633878072440000000</link>
		<pubDate>Sun, 06 Sep 2009 04:14:04 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/DevNuggets/DataBinding-to-a-Web-Service-in-ASPNET-20#c633878072440000000</guid>
		<dc:creator>gduthie</dc:creator>
	</item>
	<item>
		<title>Re: DataBinding to a Web Service in ASP.NET 2.0</title>
		<description>
			<![CDATA[
<p>Hi!</p>
<p>&nbsp;</p>
<p>First of all, great video,easy to follow, but something didn't work out for me: &nbsp;everything works fine until I get to the Edit part. &nbsp;</p>
<p>*Note: I'm adapting your version to a school project, so I'm translating everything to C# and replacing Author with Players (database,names, etc.)</p>
<p>*Note2: I'm pretty much a newbie</p>
<p>&nbsp;</p>
<p>When I'm writing the PlayersTA.Update part, it expects 7 arguments (my Players table has 7 fields), but when I run the code, click Edit, change a value, then click update, I get this message: &nbsp;</p>
<p>&quot;ObjectDataSource 'PlayersDataSource' could not find a non-generic method 'UpdatePlayers' that has parameters: FirstName, Number, Description, BirthDate, LastName, Picture, Original_ID, ID.&quot;</p>
<p>&nbsp;</p>
<p>I'm not quite sure what the Original_ID field is, because the table doesn't contain it. If I try to write the Update code with 8 arguments, I can't even build it, because it says: No overload for method 'Update' takes '8' arguments.</p>
<p>&nbsp;</p>
<p>I also noticed that you have two au_id arguments in your code, but don't explain it.&nbsp;</p>
<p>&nbsp;</p>
<p>I guess that the solution is quite simple, and maybe I gave you too many details, but I wanted to make sure that everything is clear <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' />.&nbsp;</p>
<p>&nbsp;</p>
<p>Thanks in advance,&nbsp;</p>
<p>A</p>
<p>posted by untouchbl</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/DevNuggets/DataBinding-to-a-Web-Service-in-ASPNET-20#c633996956700000000</link>
		<pubDate>Thu, 21 Jan 2010 18:34:30 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/DevNuggets/DataBinding-to-a-Web-Service-in-ASPNET-20#c633996956700000000</guid>
		<dc:creator>untouchbl</dc:creator>
	</item>
</channel>
</rss>