hi,
change the connectionstring and select Query as your requirement.
public void FetchData_and_Show_in_Label()
{
String ConnStr = "Data Source=ServerName;Initial Catalog=DBNamae;User ID=UserName;Password='password';";
String SQL = "SELECT QuestionText FROM Questions";
SqlDataAdapter Adpt = new SqlDataAdapter(SQL, ConnStr);
DataSet question = new DataSet();
Adpt.Fill(question);
foreach (DataRow dr in question.Tables[0].Rows)
{
LblQuestion.Text += question.Tables[0].Rows[0]["QuestionText"].ToString() + "<br />";
}
}