I am trying to get the value/text on a label located within a Web User Control and parse it to the following:
This is my current code, which worked before I put in the web user control. The lblUserID is now located in the web user control 'Header'
I am getting the error
Help please
Thanks
This is my current code, which worked before I put in the web user control. The lblUserID is now located in the web user control 'Header'
Code:
cmd.Parameters.Add("@Sender", SqlDbType.Int).Value = lblUserID.Text.Trim()
I am getting the error
Code:
Name lblUserID is not declared
Help please
Thanks