I would like to retrieve top ten data which has highst score value and assign them string array, here is my code but i actualy dont know very well how to do it.
string[] K = new string[10];
using (con3)
{
con3.Open();
SqlCommand cms = con3.CreateCommand();
cms.CommandText = "SELECT word FROM wordtable where word.score>= 1 LIMIT 10";
cms.ExecuteNonQuery();
}
con3.Close();
SELECT wordreturn single cell value??