Guest User

Untitled

a guest
Jul 18th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. while (reader.Read())
  2. {
  3. string firstname = reader["FirstName"].ToString().Trim();
  4.  
  5. if (!string.IsNullOrEmpty(firstname))
  6. {
  7. string fullName = reader["FirstName"].ToString().Trim() +
  8. reader["LastName"].ToString().Trim();
  9.  
  10. labelFname = reader["FirstName"].ToString().Trim();
  11. labelSname = reader["LastName"].ToString().Trim();
  12. msg = "Retrieval Successful";
  13. }
  14. }
Add Comment
Please, Sign In to add comment