protected string PubLink(string name, string url)
 {
     Result res = new Result();
     DataSet data = new DataSet();
     data = res.Get_PubId(name);
     int id = 0;
     if (data != null)
     {
         foreach (DataTable table in data.Tables)
         {
             foreach (DataRow row in table.Rows)
             {
                 id = Convert.ToInt32(row["PubId"]);
             }
         }
     }
     return "<a href=\"result.aspx?findopt5=" + id + "&am=1&asm=" + 3 + "\">" + name + "</a>";
     //if (Helper.StringExists(url))
     //{
     //    return Helper.URLToLink(url, name); //String.Format("<a href=\"{0}\">{1}</a>", url, name);
     //}
     //else
     //{
     //    return name;
     //}
 }