purtroppo ancora non funge, posto il codice della pagina considera al posto delle diverse "label" carico dinamicamente da lato server codice html da database ... quello che vorrei stampare è il contenuto della sola "label5"......![]()
codice:<%@ Page Language="C#" AutoEventWireup="true" CodeFile="insSite.aspx.cs" Inherits="KeyDesign" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Seves</title> <link rel="stylesheet" type = "text/css" href= "Style/sev.css"/> <link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon"/> <link href="Style/stmp.css" rel="stylesheet" media="print" type="text/css" /> <link rel="stylesheet" type = "text/css" href="Style/treemenu.css"/> <script language="JavaScript1.2" type="text/javascript" src="include/treemenu.js"></script> </head> <body> <form id="form1" runat="server"> <table border="0" cellspacing="0" cellpadding="0" width="892" class="bodyD"> <tr> <td valign="top">[img]images/marchio.jpg[/img] </td> <td> <table width="817" border="0" cellpadding="0" cellspacing="0" class="bodyC"> <tr> <td colspan="3" style="height: 45px;"> <table border="0" cellspacing="0" cellpadding="0" width="817" style="height: 45px;"> <tr><td style="width: 617px; height: 45px; padding: 0px; border-width:0px; background-image:url(images/barra_1_it.png);"></td> <td style="background-image:url(images/barra_2.png); width: 200px; height: 45px; padding: 0px; border-width:0px; text-align: center; vertical-align: middle; margin-top:15;"> <form style="display: inline; vertical-align:middle" action="prove.aspx" method="get"><input type="hidden" name="lang" value="it"/><input style="font-family: Arial; font-size: 12px;" size="12" type="text" value="Ricerca per" name="search"/><input type="image" src="images/search_btn_it.png" /></form> </td></tr> </table></td> </tr> <tr> <td style="height:18px; width:817px" colspan="3"> <asp:Label ID="Label1" runat="server" Text=""></asp:Label> </td> </tr> <tr> <td colspan="3" height="5">[img]images/dotbar.gif[/img]</td> </tr> <tr> <td colspan="3" style="border:9px" height="40" bordercolor="#800000"> <asp:Label ID="Label4" runat="server"></asp:Label> </td> </tr> <tr> <td height="24" width="12"> </td> <asp:Label ID="Label7" runat="server"></asp:Label></tr> <tr> <td valign="top" height="250"> <table height="350" width="220"> <tr> <td style="font-size:10px;width:220px;" valign="top"> <asp:Label ID="Label2" runat="server"></asp:Label> </td> </tr> <tr> <td valign="top" style="padding-top:30px; "> <asp:Label ID="Label6" runat="server"></asp:Label></td> </tr> </table> </td> <td width="580" valign="top"> <div id="stampalo"> <table width="530" border="0" cellspacing="0" cellpadding="0" align="center"> <asp:Label ID="Label5" runat="server"></asp:Label> </table> </div> </td> <td class="rbar" style="width: 100px"> <div align="right"> </div> </td> </tr> <tr> <td height="20"> </td> <td align="right" valign="bottom" style="font-family:verdana; font-size:11px; color:#D66600; text-decoration: underline; padding-bottom: 10px;"> Go to top </td> <td style="width: 100px"> </td> </TR> </table> <tr> <td colspan="2" align="right" style="height: 19px"> <asp:Label ID="Label3" runat="server"></asp:Label> </td> </tr> </table> </form> </body> </html>
Ciao e grazie

Rispondi quotando