.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> WPF >> Post New QuestionBookmark and Share Subscribe to Forum

How to conenct Sql Server and Display Data of a table in WPF Windows Application

Posted By: balram     Posted Date: March 16, 2010    Points:2   Category :WPF
Hi..
i want to Connect sql server with wpf windows application .how can i do this.is there any datagrid control exists in WPF..


thanks
balram

Responses
Author: Venkat             
Posted Date: March 16, 2010     Points: 5   

Hi,

Yes we have DataGrid control in WPF and you can connect same as you can connect to GridView with database using SQLClient using ADO.Net.

Assign the DataSource to SQLDataReader or dataSet same as we do in asp.net GridView

Mark As Answer if this solve your problem
Warm Regards,
Venkat


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend