Here Mudassar Ahmed Khan has explained with an example, how to retrieve data from Database and display in TextBox in Windows Application (WinForms) using C# and VB.Net.
This article will illustrate how to fetch records (data) from SQL Server Database using SqlDataReader and then set the retrieved values in Windows Application (WinForms) using C# and VB.Net.