+ Reply to Thread
Results 1 to 2 of 2
 0 Attachment(s)    

Thread: Can you solve it ?

  1. #1
    Junior Member
    Join Date
    May 2009
    Posts
    2

    Default 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.";
    }
    }

  2. #2
    Member
    Join Date
    Feb 2011
    Posts
    37

    Default

    what are you trying to do? give us little bit overview.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts