-
Can you solve it ?
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.";
}
}
-
what are you trying to do? give us little bit overview.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules