Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- using (SqlConnection sqlCon = new SqlConnection(connectionString))
- {
- sqlCon.Open();
- SqlDataAdapter sqlDa = new SqlDataAdapter("SELECT * FROM FeedBackTable WHERE Reviewer = @reviewer", sqlCon);
- DataTable dtbl = new DataTable();
- //they said the error was at sqlDa.Fill(dtbl);
- sqlDa.Fill(dtbl);
- gv_feedback.DataSource = dtbl;
- gv_feedback.DataBind();
- }
- }
Add Comment
Please, Sign In to add comment