I want to get a certain field's value from Database;
But I don't know how to get it;
SqlConnectionStringBuilder _sqlCon = new SqlConnectionStringBuilder();
SqlConnection con = new SqlConnection(_sqlCon.ConnectionString);
SqlCommand command = new SqlCommand(@"select top 1 StudentName from StudentInfo");
Then How can I got "StudentName" this Field's value?
And keep it.