{ string keyword = Request.QueryString["Mailid"]; DataSet oDS = new DataSet(); oDS = SearchHelper.getResultByKeywords(keyword); string itempic = oDS.Tables[0].Rows[0]["SGL_IMG"].ToString(); //string url = Convert.ToString(Session["url"]); string img = "http://content.oppictures.com/Master_Images/Master_Variants/Variant_400/" + itempic; }
if (oDS.Tables.Count > 0 && oDS.Tables[0].Rows.Count > 0) { // data returned, so go create the image URL } else { // no data returned, so handle the error here }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)