wpf datagrid from database

WPF Bind DataGrid using SQL Database

In this post we will Bind our WPF DataGrid control from MS SQL Database. WPF Datagrid bind sql database. Fill WPF Datagrid from MS SQL Database. WPF Datagrid control Binding from MS SQL Database Code : String connectionString = “Data Source=192.168.0.192;Initial Catalog=ParallelCodes;User ID=sa;Password=789”; SqlConnection con = new SqlConnection(connectionString); SqlCommand cmd = new SqlCommand(“select * from Producttbl”, […]

Read More