displaying parameter value
Hi does anyone know how to display a value in a parameter?
I'm trying to store a value from a form textbox into a mySQL database.
However it seems that i'm getting an error saying i'm passing a null value even after i typed something into the textbox, so i'd like to see what is being passed. this is the code:
Dim CustNameParam as New odbcParameter("@CustName", odbcType.Varchar, 50)
CustNameParam.Value = txtName.text
cmd.Parameters.Add(CustNameParam)
i'd like to see what is in the CustNameParam.
Any help?
Thanx!
|