Asp.Net: Is gridview is the only way to display data in data base ??
<p>Is grid is the only way to display data in the data base ??</p>

<p>i want to display the data in a lable.. I this possible for below code.. ??</p>

<p>protected void cnt_btn_Click(object sender, EventArgs e)</p>

<pre><code>{
    con = new SqlConnection(Str);
    con.Open();
    cmd = new SqlCommand("select Count(emp_id) from emp_tbl", con);
    dr = cmd.ExecuteReader();
    gridview.DataSource = dr;
    gridview.DataBind();
    con.Close();
}
</code></pre>

<p>The above code runs successfully for gridview display.. but i want to display count it in lable tool.. i had tried like this</p>

<p>//lable.Text = Convert.ToString(dr);</p>

<p>//lable.DataBind();</p>

<p>but it's wrong.. pls let me get rid of this problem... thanks..</p>
