Hi,
I am getting 3 Fileds from the database. How to access those three fields into variables.
using (SqlConnection conn4 = new SqlConnection(cs))
{
conn4.Open();
String str4 = "select top 1 Spo2_score,BPM_Score,Test_Date from Sva_User_HB where User_id='" + UserId + "' ORDER BY Test_date DESC";
SqlCommand cmd4 = new SqlCommand(str4, conn4);
cmd4.ExecuteScalar();
conn4.Close();
}
Go to the complete details ...