DataSet ds = new DataSet();
ds = Testimonial.getRandomTestimonials();
if (ds.Tables.Count > 0)
{
if (ds.Tables[0].Rows.Count > 0)
{
lblTestimonials.Text = ds.Tables[0].Rows[0]["comments"].ToString();
imgbtnTestim.PostBackUrl = "ReadTestimonial.aspx?id=" + ds.Tables[0].Rows[0]["temp_id"].ToString();
}
else
{
lblTestimonials.Text = "No Testimonial Yet.";
}
}