Question

How do I pass value that is entered into a text input field to following

objCMD.Parameters.AddWithValue("@value", value)
Was it helpful?

Solution

You want this

objCMD.Parameters.AddWithValue("@value", txtInput.Text).
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top