i think this will help You..
SqlConnection sqlconn = new SqlConnection("Data Source=AAN-PC;Initial Catalog=latestsensordata;Integrated Security=True");
SqlDataAdapter sa = new SqlDataAdapter();
string CurrntTime = System.DateTime.Now.TimeOfDay.ToString();
string query = "insert into Table_1(SensorValue,Time) values(" + hexValue + ",CurrntTime)";
sa.InsertCommand = new SqlCommand(query, sqlconn);