Next Generation Emulation banner
1 - 1 of 1 Posts

·
Registered
Joined
·
2 Posts
Discussion Starter · #1 ·
i have some problem in this coding can any one solve this coding

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.";
}
}
 
1 - 1 of 1 Posts
Top