Is there any significant benefit to reading string directly from control instead of moving it into a
- by Kevin
sqlInsertFrame.Parameters.AddWithValue("@UserName", txtUserName.txt);
Given the code above...if I don't have any need to move the textbox data into a string variable, is it best to read the data directly from the control?
In terms of performance, it would seem smartest to not create any unnecessary variables which use up memory if its not…