<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Visual Studio Data : CTP</title><link>http://blogs.msdn.com/vsdata/archive/tags/CTP/default.aspx</link><description>Tags: CTP</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Drag-Drop Data Binding For WPF (by Milind Lele)</title><link>http://blogs.msdn.com/vsdata/archive/2008/11/08/drag-drop-data-binding-for-wpf-by-milind-lele.aspx</link><pubDate>Sat, 08 Nov 2008 04:02:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9053414</guid><dc:creator>MilindLele</dc:creator><slash:comments>9</slash:comments><comments>http://blogs.msdn.com/vsdata/comments/9053414.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vsdata/commentrss.aspx?PostID=9053414</wfw:commentRss><wfw:comment>http://blogs.msdn.com/vsdata/rsscomments.aspx?PostID=9053414</wfw:comment><description>&lt;p&gt;One of the improvements in VS2010 (CTP available for download &lt;a href="http://go.microsoft.com/fwlink/?LinkId=129231"&gt;here&lt;/a&gt;) is drag and drop data binding for WPF applications. Drag-drop data binding has been available for WinForms since Visual Studio 2005. So those of you that are familiar with that will find the WPF experience quite similar and readily usable. This post briefly outlines the improvements in the VS2010 CTP.&lt;/p&gt;  &lt;p&gt;At one end of the binding is, of course the control that you are binding, the target. At the other end is data source. In VS2010 you can add either a DataSet or an Entity Data Model to your WPF application and bind the tables or entities to WPF controls by simply dragging the table or the entity and dropping onto the form.&lt;/p&gt;  &lt;p&gt;Entity Data Model designer support was added to Visual Studio 2008 SP1. To add an entity data model to your application click &lt;strong&gt;Add New Item&lt;/strong&gt; on the project menu, then select &lt;strong&gt;ADO.NET Entity Data Model&lt;/strong&gt;.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/vsdata/WindowsLiveWriter/DragDropDataBindingForWPF_E3C4/AddItem_2.jpg"&gt;&lt;img title="AddItem" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="325" alt="AddItem" src="http://blogs.msdn.com/blogfiles/vsdata/WindowsLiveWriter/DragDropDataBindingForWPF_E3C4/AddItem_thumb.jpg" width="537" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The EDM wizard is displayed allowing you to specify a connection to your database and select tables that you wish to add to your model.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;a href="http://blogs.msdn.com/blogfiles/vsdata/WindowsLiveWriter/DragDropDataBindingForWPF_E3C4/AddItem_4.jpg"&gt;&lt;img title="AddItem" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="385" alt="AddItem" src="http://blogs.msdn.com/blogfiles/vsdata/WindowsLiveWriter/DragDropDataBindingForWPF_E3C4/AddItem_thumb_1.jpg" width="433" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;In VS2010, once an EDM is added to a project it will show up in the data sources window.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/vsdata/WindowsLiveWriter/DragDropDataBindingForWPF_E3C4/DSWin_2.jpg"&gt;&lt;img title="DSWin" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="344" alt="DSWin" src="http://blogs.msdn.com/blogfiles/vsdata/WindowsLiveWriter/DragDropDataBindingForWPF_E3C4/DSWin_thumb.jpg" width="266" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;This acts as the drag source for your binding. From here there are different ways you can go about establishing bindings to your UI. One is to create the UI control, say a ListBox, from the toolbox, then drag-drop an entity from the data sources window to the listbox. Alternately you could &lt;em&gt;generate&lt;/em&gt; the control from the data sources window itself. Select an entity and drop it onto the form. The data sources window allows you to select what control you wish to generate. That control gets generated and bound to the entity.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9053414" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/vsdata/archive/tags/WPF/default.aspx">WPF</category><category domain="http://blogs.msdn.com/vsdata/archive/tags/VS2010/default.aspx">VS2010</category><category domain="http://blogs.msdn.com/vsdata/archive/tags/Data+Binding/default.aspx">Data Binding</category><category domain="http://blogs.msdn.com/vsdata/archive/tags/CTP/default.aspx">CTP</category><category domain="http://blogs.msdn.com/vsdata/archive/tags/Entity+Framework/default.aspx">Entity Framework</category></item><item><title>Visual Studio 2010: CTP Available (by Milind Lele)</title><link>http://blogs.msdn.com/vsdata/archive/2008/10/28/visual-studio-2010-ctp-available-by-milind-lele.aspx</link><pubDate>Wed, 29 Oct 2008 00:32:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9021045</guid><dc:creator>MilindLele</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/vsdata/comments/9021045.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vsdata/commentrss.aspx?PostID=9021045</wfw:commentRss><wfw:comment>http://blogs.msdn.com/vsdata/rsscomments.aspx?PostID=9021045</wfw:comment><description>&lt;p&gt;&lt;strong&gt;Visual Studio 2010 and .NET Framework 4.0&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Visual Studio 2010 and .NET Framework 4.0 are the next generation developer tools we are working on. An early preview, a &lt;a class="" href="http://www.microsoft.com/downloads/details.aspx?FamilyId=922B4655-93D0-4476-BDA4-94CF5F8D4814&amp;amp;displaylang=en" mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyId=922B4655-93D0-4476-BDA4-94CF5F8D4814&amp;amp;displaylang=en"&gt;CTP of VS2010 and .NET Framework 4.0&lt;/a&gt;, is now available for download. To learn more about the CTP or to provide feedback go to the &lt;a class="" href="http://go.microsoft.com/fwlink/?LinkId=129231" mce_href="http://go.microsoft.com/fwlink/?LinkId=129231"&gt;CTP feedback page&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;This CTP is a good way for you to take a peek at what's coming in the next release of Visual Studio and the .NET Framework as well as to provide feedback to the teams.&lt;/p&gt;  The CTP includes a set of walkthroughs. These are step-by-step guidelines for previewing the new features or improvements to existing features. The walkthroughs are a good starting point to explore what's new. We have also created a set of &lt;a class="" href="http://social.msdn.microsoft.com/Forums/en-US/category/vs2010ctp" mce_href="http://social.msdn.microsoft.com/Forums/en-US/category/vs2010ctp"&gt;MSDN Forums for the VS2010 CTP&lt;/a&gt;. I would like to welcome you to use these forums to provide feedback and engage in relevant discussions with others in the community.&lt;/p&gt;  &lt;br /&gt;&lt;p&gt;&lt;strong&gt;Data Binding for WPF&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;One of the areas of improvement introduced in this CTP is design time support for data binding for Windows Presentation Foundation (WPF) applications. There are two walkthroughs describing what's new for this feature area:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;em&gt;Using the Designer to Bind WPF Controls to Data in a Dataset    &lt;br /&gt;Using the Designer to Bind WPF Controls to Data in an Entity Data Model&lt;/em&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;We have also created a section in the forums to discuss &lt;a class="" href="http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpwpfdata/threads/" mce_href="http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpwpfdata/threads/"&gt;Working with Data in WPF Applications&lt;/a&gt;. I would love to hear your thoughts, suggestions, comments about these experiences on the forums.&lt;/p&gt;  &lt;p&gt;Over the next few weeks I will write more about this. Meanwhile I welcome you to download the CTP and send us your feedback.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9021045" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/vsdata/archive/tags/WPF/default.aspx">WPF</category><category domain="http://blogs.msdn.com/vsdata/archive/tags/VS2010/default.aspx">VS2010</category><category domain="http://blogs.msdn.com/vsdata/archive/tags/Data+Binding/default.aspx">Data Binding</category><category domain="http://blogs.msdn.com/vsdata/archive/tags/CTP/default.aspx">CTP</category></item></channel></rss>