protected void typeMenu(string GeneId) { MainContentGeneric generics = new MainContentGeneric(); DataSet dsgenerics = new DataSet(); string cosa = Request.Url.ToString(); dsgenerics = generics.getGeneTypeId(GeneId); if (dsgenerics != null) { foreach (DataTable table in dsgenerics.Tables) { foreach (DataRow row in table.Rows) { _gentype = row["GeneTypeId"].ToString(); } } } }