if (data1.Tables[0].Rows.Count>0)
{
MessageInfoText.Text = data1.Tables[0].Rows[0]["MessageText"].ToString() != "" ? data1.Tables[0].Rows[0]["MessageText"].ToString() : "";
TimeText.Text = data1.Tables[0].Rows[0]["PushMessageDate"].ToString() != "" ? data1.Tables[0].Rows[0]["PushMessageDate"].ToString() : "";
}