i want to question how to i get value query sql in asp.net c#
this is my sample code:
string no_hp = ""; string queryNoHP = "SELECT NO_HP FROM REF_OWNER WHERE ID = '" + ID.Text + "'";
i want to how to get value from my query, example field NO_HP into my variable (no_hp). Thanks for your help..