Query from C# code outputting differently from SQL Server query
问题 Working with: ASP.Net web-forms application C# code not vb.net SQL Server with hard coded test data Note : this issue doesn't cause any errors or cause any disruption in the code, however it outputs differently from expected. What I am trying to do is populate a Gridview using code behind file, which can be updated by the user on button click. Code to populate: protected void PopulateReport() { // create connection and add commands SqlConnection con = new SqlConnection(GetConnectionString());