Waqas Ali

Waqas Ali

  • NA
  • 19
  • 27.8k

How do I replace the following with values from a textbox ?

Jul 22 2012 4:11 AM

string sql = "Select*From records WHERE column = value";
Now I know the Select command. I want to replace the "column" keyword with text from a combobox and "Value" keyword with text from a textbox.

How do I do that ?

Can anyone just edit my code to show me how it's done.

Thanks

Answers (1)