protected string getDatosResumen(bool bValorAsignado) { StringBuilder sb = new StringBuilder(); SqlDataReader dr = null; int indice = 0; try { dr = NODO.CEEC_RESUMEN(bValorAsignado); sb.Append("<table id='tblDatos' class='texto MANO' style='width:800px;'>"); sb.Append("<colgroup><col style='width:280px;' /><col style='width:280px;' /><col style='width:100px;' /><col style='width:140px;' /></colgroup>"); sb.Append("<tbody>"); while (dr.Read()) { indice++; sb.Append("<tr id='" + indice + "' style='height:16px' onclick='ms(this)'>"); sb.Append("<td style='padding-left:3px;'><nobr class='NBR W275'>" + dr["t303_denominacion"].ToString() + "</nobr></td>"); sb.Append("<td><nobr class='NBR W275'>" + dr["t345_denominacion"].ToString() + "</nobr></td>"); sb.Append("<td style='text-align:center'>" + dr["Obligatorio"].ToString() + "</td>"); sb.Append("<td><nobr class='NBR W135'>" + dr["valor"].ToString() + "</nobr></td>"); sb.Append("</tr>"); } dr.Close(); dr.Dispose(); sb.Append("</tbody>"); sb.Append("</table>"); return("OK@#@" + sb.ToString()); } catch (Exception ex) { sErrores = Errores.mostrarError("Error al obtener los datos resumen de los criterios económicos.", ex); return("Error@#@" + sErrores); } }