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 needed. Or is this a situation where its technically true but doesn't yield any real world results due to the size of the data in question.
Forgive me, I know this is a very basic question.