dprasad
asked on
Adding codebehind files to an app. developed using .net framework
I made a site using a text editor and the .net framework..compiling it from the command line. I now have visual studio 2003 and want to alter the application from within it. Below is one such file, can someone give me an idea on this?
 <%@ Page Language="C#" %>
<%@ Import Namespace="System.Data.Sql Client" %>
<script runat="server">
void Page_Load (object Sender, EventArgs e) {
}
void makeselection_Click(Object sender, System.EventArgs e) {
      string col;
      string cat;
      string yea;
      string reg;
      string cou;
      string app;
     Â
      /*try
{
Session["color"] = color.SelectedItem.Text;
 }
catch(System.Exception NotSelected)
{
 Session["color"] = "-1";
} Â
try
{
Session["category"] = category.SelectedItem.Text ;
 }
catch(System.Exception NotSelected)
{
 Session["category"] = "-1";
}
try
{
 Session["year"] = year.SelectedItem.Text;
 }
catch(System.Exception NotSelected)
{
  Session["year"] =  "-1";
} Â Â Â Â
     Â
try
{
 Session["region"] = region.SelectedItem.Text;
 }
catch(System.Exception NotSelected)
{
  Session["region"] =  "-1";
} Â Â Â
try
{
 Session["country"] = country.SelectedItem.Text;
 }
catch(System.Exception NotSelected)
{
  Session["country"] =  "-1";
} Â Â Â Â Â Â Â Â Â Â
try
{
 Session["appellation"] = appellation.SelectedItem.T ext;
 }
catch(System.Exception NotSelected)
{
  Session["appellation"] =  "-1";
} Â Â Â Â
      */
      col = color.SelectedItem.Text;
           if (col!="") {
           Session["color"] = color.SelectedItem.Text;
           }
           else {
           Session["color"] = "";
           }
          Â
      cat = category.SelectedItem.Text ;     Â
           if (cat!="") {
           Session["category"] = category.SelectedItem.Text ;
           }
           else {
           Session["category"] = "";
           }
      yea = year.SelectedItem.Text;
           if (yea!="") {
           Session["year"] = year.SelectedItem.Text;
           }     Â
        else {
           Session["year"] = "";
           }
      reg = region.SelectedItem.Text;
           if (reg!="") {
           Session["region"] = region.SelectedItem.Text;
           }     Â
           else {
           Session["region"] = "";
           }
      cou = country.SelectedItem.Text;
           if (cou!="") {
           Session["country"] = region.SelectedItem.Text;
           }     Â
           else {
           Session["country"] = "";
           }
      app = appellation.SelectedItem.T ext;
           if (app!="") {
            Session["appellation"] = appellation.SelectedItem.T ext;
           Â
           }
           else {
            Session["appellation"] = "";
           }
                Â
          Â
                   //Session["color"] = color.SelectedItem.Text;
// Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Session["category"] = category.SelectedItem.Text ;
                 //Session["price"] = price.SelectedIndex;
           //      Session["year"] = year.SelectedItem.Text;
                Â
                Â
                Â
                Â
                 Response.Redirect("winelis t.aspx");
                Â
                Â
       }
void emailoffer(Object sender, System.EventArgs e)
{
} Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
</script>
<html>
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
      <meta name="generator" content="Adobe GoLive">
      <title>Untitled Page</title>
      <style type="text/css">
<!--
body {
      background-color: #FFFFFF;
}
.style2 {font-size: 9px}
-->
  </style>
      <script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { Â //reloads the window if Nav4 resized
 if (init==true) with (navigator) {if ((appName=="Netscape")&&(p arseInt(ap pVersion)= =4)) {
  document.MM_pgW=innerWidth ; document.MM_pgH=innerHeigh t; onresize=MM_reloadPage; }}
 else if (innerWidth!=document.MM_p gW || innerHeight!=document.MM_p gH) location.reload();
}
MM_reloadPage(true);
//-->
  </script>
      </head>
<body>
            <p align="center"><img src="e2.jpg" width="694" height="209"></p>
            <table width="81%" height="203"  border="0">
      <tr height="206">
       <td width="54%" height="206">                   <div align="center">Shop the largest online assortment of wines from around the world.From exciting new wines to monthly best sellers, you'll find greattasting wines for any occasion. </div></td>
       <td width="46%" height="206"><img src="top1.gif" width="229" height="170"></td>
      </tr>
</table>
                       <table width="769" border="0" cellpadding="0" cellspacing="0">
          <tr>
           <td width="759"><hr noshade></td>
          </tr>
         </table>
                <p> </p>
<form runat="server">
            Category: <asp:DropDownList id="category" runat="server">
             <asp:ListItem Text=""/>       Â
             <asp:ListItem Text="Arneis"/>       Â
             <asp:ListItem Text="Barbera"/>       Â
             <asp:ListItem Text="Bordeaux"/>       Â
             <asp:ListItem Text="Cabernet Sauvignon"/>       Â
             <asp:ListItem Text="Chardonnay"/>       Â
             <asp:ListItem Text="Coastal South Africa"/>       Â
             <asp:ListItem Text="Colchagua"/>       Â
             <asp:ListItem Text="Corvina"/>       Â
             <asp:ListItem Text="Fortified Blend"/>       Â
             <asp:ListItem Text="Fume Blanc"/>       Â
             <asp:ListItem Text="Gamay"/>       Â
             <asp:ListItem Text="Greco"/>       Â
             <asp:ListItem Text="Malbec"/>       Â
             <asp:ListItem Text="Marsanne"/>       Â
             <asp:ListItem Text="Merlot"/>       Â
             <asp:ListItem Text="Montepulciano"/>       Â
             <asp:ListItem Text="Moscato"/>       Â
             <asp:ListItem Text="Muscadet"/>       Â
             <asp:ListItem Text="Nebbiolo"/>       Â
             <asp:ListItem Text="Pauillac"/>       Â
             <asp:ListItem Text="Pinot Blanc"/>       Â
             <asp:ListItem Text="Pinot Bianco"/>       Â
             <asp:ListItem Text="Pinot Grigio"/>       Â
             <asp:ListItem Text="Pinot Gris"/>       Â
             <asp:ListItem Text="Pinot Noir"/>       Â
             <asp:ListItem Text="Primitivo "/>       Â
             <asp:ListItem Text="Red Blend"/>       Â
             <asp:ListItem Text="Rhone Valley"/>       Â
             <asp:ListItem Text="Riesling "/>       Â
             <asp:ListItem Text="Rose Blend "/>       Â
             <asp:ListItem Text="Sake"/>       Â
             <asp:ListItem Text="Sangiovese"/>       Â
             <asp:ListItem Text="Sauvignon Blanc"/>       Â
             <asp:ListItem Text="Semillon "/>       Â
             <asp:ListItem Text="Shiraz"/>       Â
             <asp:ListItem Text="Sparkling Blend "/>       Â
             <asp:ListItem Text="Sweet Blend"/>       Â
             <asp:ListItem Text="Syrah"/>       Â
             <asp:ListItem Text="Tempranillo"/>       Â
             <asp:ListItem Text="White"/>       Â
             <asp:ListItem Text="White Blend"/>       Â
             <asp:ListItem Text="Viognier"/>       Â
             <asp:ListItem Text="Zinfandel"/>       Â
    </asp:DropDownList>
         Â
         Region:
             <asp:DropDownList id="region" runat="server">
              <asp:ListItem Text=""/>        Â
              <asp:ListItem Text="Abruzzi"/>        Â
              <asp:ListItem Text="Alsace"/>        Â
              <asp:ListItem Text="Andalucia"/>        Â
              <asp:ListItem Text="Bordeaux"/>        Â
              <asp:ListItem Text="Burgundy"/>        Â
              <asp:ListItem Text="California"/>        Â
              <asp:ListItem Text="Campania"/>        Â
              <asp:ListItem Text="Catalonia"/>        Â
              <asp:ListItem Text="Coastal South Africa"/>        Â
              <asp:ListItem Text="France"/>        Â
              <asp:ListItem Text="Friuli-Venezia Giulia"/>        Â
              <asp:ListItem Text="Languedoc-Roussillon "/>        Â
              <asp:ListItem Text="La Rioja"/>        Â
              <asp:ListItem Text="Loire Valley"/>        Â
              <asp:ListItem Text="Lombardy"/>        Â
              <asp:ListItem Text="Madeira"/>        Â
              <asp:ListItem Text="Maule Valle"/>        Â
              <asp:ListItem Text="Mendoza"/>        Â
              <asp:ListItem Text="New South Wales"/>        Â
              <asp:ListItem Text="Oregon"/>        Â
              <asp:ListItem Text="Paarl"/>        Â
              <asp:ListItem Text="Piedmont"/>        Â
              <asp:ListItem Text="Puglia"/>        Â
              <asp:ListItem Text="Rapel"/>        Â
              <asp:ListItem Text="Rhone Valley"/>        Â
              <asp:ListItem Text="Sake"/>        Â
              <asp:ListItem Text="Sicily"/>        Â
              <asp:ListItem Text="Southern"/>        Â
              <asp:ListItem Text="South Island, NZ"/>        Â
              <asp:ListItem Text="South Africa"/>        Â
              <asp:ListItem Text="South Australia "/>        Â
              <asp:ListItem Text="Trentino-Alto Adige"/>        Â
              <asp:ListItem Text="Tuscany"/>        Â
              <asp:ListItem Text="Veneto"/>        Â
              <asp:ListItem Text="Vin de Pays"/>        Â
              <asp:ListItem Text="Washington"/>        Â
              <asp:ListItem Text="Western Australia"/>        Â
    </asp:DropDownList>
         Country:
        Â
            <asp:DropDownList id=country runat=server>
             <asp:ListItem Text=""/>       Â
             <asp:ListItem Text="Argentina"/>       Â
             <asp:ListItem Text="Australia"/>       Â
             <asp:ListItem Text="Chile"/>       Â
             <asp:ListItem Text="France"/>       Â
             <asp:ListItem Text="Italy"/>       Â
             <asp:ListItem Text="Japan"/>       Â
             <asp:ListItem Text="New Zealand"/>       Â
             <asp:ListItem Text="Spain"/>       Â
             <asp:ListItem Text="South Africa"/>       Â
             <asp:ListItem Text="USA"/>       Â
    </asp:DropDownList>
           <p></p>
         Color:          Â
            <asp:DropDownList ID=color runat=server>
             <asp:ListItem Text=""/>       Â
             <asp:ListItem Text="Red" />       Â
             <asp:ListItem Text="Rose" />       Â
             <asp:ListItem Text="Sparkling" />       Â
             <asp:ListItem Text="Sweet" />       Â
    </asp:DropDownList>
        Appellation:
             <asp:DropDownList ID=appellation runat=server>
              <asp:ListItem Text=""/>        Â
              <asp:ListItem Text="Alexander Valley " />        Â
              <asp:ListItem Text="Alsace" />        Â
              <asp:ListItem Text="Alto Adige" />        Â
              <asp:ListItem Text="Amador County " />        Â
              <asp:ListItem Text="Amarone della Valpolicella" />        Â
              <asp:ListItem Text="Arneis di Roero" />        Â
              <asp:ListItem Text="Barbaresco" />        Â
              <asp:ListItem Text="Barbera dAlba" />        Â
              <asp:ListItem Text="Barolo " />        Â
              <asp:ListItem Text="Barossa Valley" />        Â
              <asp:ListItem Text="Barsac" />        Â
              <asp:ListItem Text="Beaujolais" />        Â
              <asp:ListItem Text="Beaujolais-Villages" />        Â
              <asp:ListItem Text="Bordeaux" />        Â
              <asp:ListItem Text="Brunello di Montalcino" />        Â
              <asp:ListItem Text="Cairanne" />        Â
              <asp:ListItem Text="California" />        Â
              <asp:ListItem Text="California Shenandoah Valley" />        Â
              <asp:ListItem Text="Carneros" />        Â
              <asp:ListItem Text="Carneros, Napa" />        Â
              <asp:ListItem Text="Cava" />        Â
              <asp:ListItem Text="Chateauneuf-du-Pape, Rouge" />        Â
              <asp:ListItem Text="Chianti" />        Â
              <asp:ListItem Text="Chianti Classico" />        Â
              <asp:ListItem Text="Chianti Classico Riserva " />        Â
              <asp:ListItem Text="Coastal South Africa " />        Â
              <asp:ListItem Text="Colchagua" />        Â
              <asp:ListItem Text="Columbia Valley " />        Â
              <asp:ListItem Text="Costieres de Nimes" />        Â
              <asp:ListItem Text="Coteaux de Luberon, Rouge" />        Â
              <asp:ListItem Text="Coteaux du Languedoc " />        Â
              <asp:ListItem Text="Cotes de Castillon" />        Â
              <asp:ListItem Text="Cotes-du-Rhone, Rouge" />        Â
              <asp:ListItem Text="Franciacorta " />        Â
              <asp:ListItem Text="Gattinara" />        Â
              <asp:ListItem Text="Gavi" />        Â
              <asp:ListItem Text="Givry, Rouge " />        Â
              <asp:ListItem Text="Graves" />        Â
              <asp:ListItem Text="Greco di Tufo" />        Â
              <asp:ListItem Text="Haut-Medoc" />        Â
              <asp:ListItem Text="Howell Mountain " />        Â
              <asp:ListItem Text="Hunter Valley " />        Â
              <asp:ListItem Text="IGT, Puglia " />        Â
              <asp:ListItem Text="IGT, Sicily" />        Â
              <asp:ListItem Text="IGT, Toscana" />        Â
              <asp:ListItem Text="IGT, Toscana " />        Â
              <asp:ListItem Text="IGT, Toscana" />        Â
              <asp:ListItem Text="IGT, Veneto" />        Â
              <asp:ListItem Text="IGT, Venezia Giulia " />        Â
              <asp:ListItem Text="Jerez (Sherry)" />        Â
              <asp:ListItem Text="Langhe" />        Â
              <asp:ListItem Text="Langhorne Creek" />        Â
              <asp:ListItem Text="Madeira" />        Â
              <asp:ListItem Text="Margaret River" />        Â
              <asp:ListItem Text="Margaux" />        Â
              <asp:ListItem Text="Marlborough" />        Â
              <asp:ListItem Text="Martinborough" />        Â
              <asp:ListItem Text="Maule Valley" />        Â
              <asp:ListItem Text="McLaren Vale" />        Â
              <asp:ListItem Text="Medoc" />        Â
              <asp:ListItem Text="Mendoza" />        Â
              <asp:ListItem Text="Montepulciano dAbruzzo" />        Â
              <asp:ListItem Text="Monterey County" />        Â
              <asp:ListItem Text="Moscato dAsti" />        Â
              <asp:ListItem Text="Moulis" />        Â
              <asp:ListItem Text="Muscadet" />        Â
              <asp:ListItem Text="Napa Valley" />        Â
              <asp:ListItem Text="Nebbiolo dAlba" />        Â
              <asp:ListItem Text="New South Wales" />        Â
              <asp:ListItem Text="Oregon" />        Â
              <asp:ListItem Text="Paarl" />        Â
              <asp:ListItem Text="Pauillac" />        Â
              <asp:ListItem Text="Pessac-Leognan " />        Â
              <asp:ListItem Text="Pic Saint Loup" />        Â
              <asp:ListItem Text="Pomero" />        Â
              <asp:ListItem Text="Pomerol" />        Â
              <asp:ListItem Text="Puligny-Montrachet" />        Â
              <asp:ListItem Text="Rioja" />        Â
              <asp:ListItem Text="Russian River Valley" />        Â
              <asp:ListItem Text="San Gimignano" />        Â
              <asp:ListItem Text="Santa Barbara County" />        Â
              <asp:ListItem Text="Santa Cruz Mountains" />        Â
              <asp:ListItem Text="Santa Lucia Highlands" />        Â
              <asp:ListItem Text="Santa Maria Valley" />        Â
              <asp:ListItem Text="Santa Ynez Valley" />        Â
              <asp:ListItem Text="Sauternes" />        Â
              <asp:ListItem Text="Sonoma County " />        Â
              <asp:ListItem Text="South Africa" />        Â
              <asp:ListItem Text="South Australia" />        Â
              <asp:ListItem Text="South Eastern Australia " />        Â
              <asp:ListItem Text="Spring Mountain District " />        Â
              <asp:ListItem Text="St. Emilion " />        Â
              <asp:ListItem Text="St. Estephe " />        Â
              <asp:ListItem Text="St. Julien " />        Â
              <asp:ListItem Text="Tokubetsu Junmai " />        Â
              <asp:ListItem Text="Vaucluse " />        Â
              <asp:ListItem Text="Vin de Pays " />        Â
              <asp:ListItem Text="Willamette Valley " />        Â
    </asp:DropDownList>
         Year:
       Â
            <asp:DropDownList ID="year" runat="server">
             <asp:ListItem Text=""/>       Â
             <asp:ListItem Text="1995"  />       Â
             <asp:ListItem Text="1996"  />       Â
             <asp:ListItem Text="1997"  />       Â
             <asp:ListItem Text="1998"  />       Â
             <asp:ListItem Text="1999"  />       Â
             <asp:ListItem Text="2000"  />       Â
             <asp:ListItem Text="2001"  />       Â
             <asp:ListItem Text="2001 Future"  />       Â
             <asp:ListItem Text="2002"  />       Â
             <asp:ListItem Text="2002 Future"  />       Â
             <asp:ListItem Text="2003"  />       Â
             <asp:ListItem Text="2003 Future"  />       Â
    </asp:DropDownList>
                 <input name="Button" type="Button" id="Left" value="Go" runat="server" onserverclick="makeselecti on_Click" />
</form>
           Â
            <p> </p>
            <table width="769" border="0" cellpadding="0" cellspacing="0">
      <tr>
       <td width="759"><hr noshade></td>
      </tr>
     </table>
        <table width="86%" height="562"  border="0">
     <tr>
                      <td width="40%" height="287" valign="top"><p align="center"> </p>
                       <p align="center"><img src="41.gif" width="194" height="124" align="top"></p>
                       <p align="center"><img src="saveas.gif" width="184" height="30"></p>
                 </td>
                      <td width="28%"><p align="center">Last summer we approached some of our favorite
  American wineries and asked them if we could
  choose a couple of exceptional barrels to do a
  special blend that we would have a hand in
  creating. </p>
                       <div align="center"> The winemakers were really enthusiastic about the idea and picked out some incredible barrrels for us to use in our blends. The fruits of this collaboration have begun to arrive and we expect to have the full complement in stock by the end of August.        </div>
                       </p>
<p></p></td>
                      <td width="32%" valign="top"><div align="center">
                       <p align="center"> </p>
                       <p align="center"><img src="duk3.gif" align="bottom"></p>
                      </div></td>
     </tr>
     <tr>
      <td height="137" align="center" valign="top"><blockquote>
       <p>Bethel Heights Pinot Noir "Freedom Hill Vineyard" Willamette Valley 750ml 12 per case<br>
         <b>Vintage:</b> 1999<br>
         <b>Price per Bottle:</b> 10<br>
        <b>Price per case of 12:</b> 11<br>       Â
        <a href="itemdetails.aspx?ite mdid=149"> Read More ... </a> <br>
       </blockquote></td>
      <td valign="top"><p align="center">      Â
       <p align="center">Baron Philippe de Rothschild Chardonnay Vin de Pays 750ml 12 per case <br>
        <b>Vintage: </b> 2002 <br>
        <b>Price per Bottle: </b>10 <br>
        <b>Price per case of 12: </b> 11<BR>      Â
        <a href="itemdetails.aspx?ite mdid=162"> Read More ... </a><BR>
       </td>
      <td valign="top"><p align="center">      Â
       <p align="center">Castello di Volpaia Chianti Classico Riserva 750ml 12 per case<br>
        <b>Vintage:</b> 1999<br>
        <b>Price per Bottle: 10</b><br>
        <b>Price per case of 12:</b> 11<BR>
        <a href="itemdetails.aspx?ite mdid=94">R ead More ... </a><BR>
       <p align="center"> </p>< /td>
     </tr>
     <tr>
      <td height="111" align="center" valign="top"> <p>      Â
       <p>Allegrini "La Poja" IGT, Veneto 750ml <br>      Â
       6 per case (6 per case) <BR>
         <B>Vintage: </B>1998 <BR>
         <B>Price per Bottle: </B>10 <BR>
         <B>Price per case of 12: </B>11 <BR>
        <a href="itemdetails.aspx?ite mdid=199"> Read More ... </a></td>
      <td valign="top"><div align="center">
       <p>Castello di Volpaia Chianti ClassicoRiserva 750ml 12 per case<BR>
        <strong>Vintage: </strong>1997<BR>      Â
        <strong>Price per Bottle: </strong>10<BR>       Â
           <strong>Price per case of 12:</strong> 11<br>
<a href="itemdetails.aspx?ite mdid=199"> Read More ...</a> <br>
      </div></td>
      <td valign="top"><div align="center">
       <p>Beringer Chardonnay "Founders Estate" California 750ml 12 per case<br>
        <strong>Vintage:</strong> 2002<br>
        <strong>Price per Bottle:</strong> 10<br>
        <strong>Price per case of 12:</strong> 11 <br>
                      <a href="itemdetails.aspx?ite mdid=196"> Read More ...</a>
      </div></td>
     </tr>
</table>
           <p> </p>
           <p> </p>
           <p align="left"> </p>
           <p align="right"><span class="style2">© The Wine Repository, 2002. All Rights Reserved. <img src="half2.gif" width="106" height="222" align="bottom"></span></p>
</body>
</html>
 <%@ Page Language="C#" %>
<%@ Import Namespace="System.Data.Sql
<script runat="server">
void Page_Load (object Sender, EventArgs e) {
}
void makeselection_Click(Object
      string col;
      string cat;
      string yea;
      string reg;
      string cou;
      string app;
     Â
      /*try
{
Session["color"] = color.SelectedItem.Text;
 }
catch(System.Exception NotSelected)
{
 Session["color"] = "-1";
} Â
try
{
Session["category"] = category.SelectedItem.Text
 }
catch(System.Exception NotSelected)
{
 Session["category"] = "-1";
}
try
{
 Session["year"] = year.SelectedItem.Text;
 }
catch(System.Exception NotSelected)
{
  Session["year"] =  "-1";
} Â Â Â Â
     Â
try
{
 Session["region"] = region.SelectedItem.Text;
 }
catch(System.Exception NotSelected)
{
  Session["region"] =  "-1";
} Â Â Â
try
{
 Session["country"] = country.SelectedItem.Text;
 }
catch(System.Exception NotSelected)
{
  Session["country"] =  "-1";
} Â Â Â Â Â Â Â Â Â Â
try
{
 Session["appellation"] = appellation.SelectedItem.T
 }
catch(System.Exception NotSelected)
{
  Session["appellation"] =  "-1";
} Â Â Â Â
      */
      col = color.SelectedItem.Text;
           if (col!="") {
           Session["color"] = color.SelectedItem.Text;
           }
           else {
           Session["color"] = "";
           }
          Â
      cat = category.SelectedItem.Text
           if (cat!="") {
           Session["category"] = category.SelectedItem.Text
           }
           else {
           Session["category"] = "";
           }
      yea = year.SelectedItem.Text;
           if (yea!="") {
           Session["year"] = year.SelectedItem.Text;
           }     Â
        else {
           Session["year"] = "";
           }
      reg = region.SelectedItem.Text;
           if (reg!="") {
           Session["region"] = region.SelectedItem.Text;
           }     Â
           else {
           Session["region"] = "";
           }
      cou = country.SelectedItem.Text;
           if (cou!="") {
           Session["country"] = region.SelectedItem.Text;
           }     Â
           else {
           Session["country"] = "";
           }
      app = appellation.SelectedItem.T
           if (app!="") {
            Session["appellation"] = appellation.SelectedItem.T
           Â
           }
           else {
            Session["appellation"] = "";
           }
                Â
          Â
                   //Session["color"] = color.SelectedItem.Text;
// Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Session["category"] = category.SelectedItem.Text
                 //Session["price"] = price.SelectedIndex;
           //      Session["year"] = year.SelectedItem.Text;
                Â
                Â
                Â
                Â
                 Response.Redirect("winelis
                Â
                Â
       }
void emailoffer(Object sender, System.EventArgs e)
{
} Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â
</script>
<html>
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
      <meta name="generator" content="Adobe GoLive">
      <title>Untitled Page</title>
      <style type="text/css">
<!--
body {
      background-color: #FFFFFF;
}
.style2 {font-size: 9px}
-->
  </style>
      <script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { Â //reloads the window if Nav4 resized
 if (init==true) with (navigator) {if ((appName=="Netscape")&&(p
  document.MM_pgW=innerWidth
 else if (innerWidth!=document.MM_p
}
MM_reloadPage(true);
//-->
  </script>
      </head>
<body>
            <p align="center"><img src="e2.jpg" width="694" height="209"></p>
            <table width="81%" height="203"  border="0">
      <tr height="206">
       <td width="54%" height="206">                   <div align="center">Shop the largest online assortment of wines from around the world.From exciting new wines to monthly best sellers, you'll find greattasting wines for any occasion. </div></td>
       <td width="46%" height="206"><img src="top1.gif" width="229" height="170"></td>
      </tr>
</table>
                       <table width="769" border="0" cellpadding="0" cellspacing="0">
          <tr>
           <td width="759"><hr noshade></td>
          </tr>
         </table>
                <p> </p>
<form runat="server">
            Category: <asp:DropDownList id="category" runat="server">
             <asp:ListItem Text=""/>       Â
             <asp:ListItem Text="Arneis"/>       Â
             <asp:ListItem Text="Barbera"/>       Â
             <asp:ListItem Text="Bordeaux"/>       Â
             <asp:ListItem Text="Cabernet Sauvignon"/>       Â
             <asp:ListItem Text="Chardonnay"/>       Â
             <asp:ListItem Text="Coastal South Africa"/>       Â
             <asp:ListItem Text="Colchagua"/>       Â
             <asp:ListItem Text="Corvina"/>       Â
             <asp:ListItem Text="Fortified Blend"/>       Â
             <asp:ListItem Text="Fume Blanc"/>       Â
             <asp:ListItem Text="Gamay"/>       Â
             <asp:ListItem Text="Greco"/>       Â
             <asp:ListItem Text="Malbec"/>       Â
             <asp:ListItem Text="Marsanne"/>       Â
             <asp:ListItem Text="Merlot"/>       Â
             <asp:ListItem Text="Montepulciano"/>       Â
             <asp:ListItem Text="Moscato"/>       Â
             <asp:ListItem Text="Muscadet"/>       Â
             <asp:ListItem Text="Nebbiolo"/>       Â
             <asp:ListItem Text="Pauillac"/>       Â
             <asp:ListItem Text="Pinot Blanc"/>       Â
             <asp:ListItem Text="Pinot Bianco"/>       Â
             <asp:ListItem Text="Pinot Grigio"/>       Â
             <asp:ListItem Text="Pinot Gris"/>       Â
             <asp:ListItem Text="Pinot Noir"/>       Â
             <asp:ListItem Text="Primitivo "/>       Â
             <asp:ListItem Text="Red Blend"/>       Â
             <asp:ListItem Text="Rhone Valley"/>       Â
             <asp:ListItem Text="Riesling "/>       Â
             <asp:ListItem Text="Rose Blend "/>       Â
             <asp:ListItem Text="Sake"/>       Â
             <asp:ListItem Text="Sangiovese"/>       Â
             <asp:ListItem Text="Sauvignon Blanc"/>       Â
             <asp:ListItem Text="Semillon "/>       Â
             <asp:ListItem Text="Shiraz"/>       Â
             <asp:ListItem Text="Sparkling Blend "/>       Â
             <asp:ListItem Text="Sweet Blend"/>       Â
             <asp:ListItem Text="Syrah"/>       Â
             <asp:ListItem Text="Tempranillo"/>       Â
             <asp:ListItem Text="White"/>       Â
             <asp:ListItem Text="White Blend"/>       Â
             <asp:ListItem Text="Viognier"/>       Â
             <asp:ListItem Text="Zinfandel"/>       Â
    </asp:DropDownList>
         Â
         Region:
             <asp:DropDownList id="region" runat="server">
              <asp:ListItem Text=""/>        Â
              <asp:ListItem Text="Abruzzi"/>        Â
              <asp:ListItem Text="Alsace"/>        Â
              <asp:ListItem Text="Andalucia"/>        Â
              <asp:ListItem Text="Bordeaux"/>        Â
              <asp:ListItem Text="Burgundy"/>        Â
              <asp:ListItem Text="California"/>        Â
              <asp:ListItem Text="Campania"/>        Â
              <asp:ListItem Text="Catalonia"/>        Â
              <asp:ListItem Text="Coastal South Africa"/>        Â
              <asp:ListItem Text="France"/>        Â
              <asp:ListItem Text="Friuli-Venezia Giulia"/>        Â
              <asp:ListItem Text="Languedoc-Roussillon
              <asp:ListItem Text="La Rioja"/>        Â
              <asp:ListItem Text="Loire Valley"/>        Â
              <asp:ListItem Text="Lombardy"/>        Â
              <asp:ListItem Text="Madeira"/>        Â
              <asp:ListItem Text="Maule Valle"/>        Â
              <asp:ListItem Text="Mendoza"/>        Â
              <asp:ListItem Text="New South Wales"/>        Â
              <asp:ListItem Text="Oregon"/>        Â
              <asp:ListItem Text="Paarl"/>        Â
              <asp:ListItem Text="Piedmont"/>        Â
              <asp:ListItem Text="Puglia"/>        Â
              <asp:ListItem Text="Rapel"/>        Â
              <asp:ListItem Text="Rhone Valley"/>        Â
              <asp:ListItem Text="Sake"/>        Â
              <asp:ListItem Text="Sicily"/>        Â
              <asp:ListItem Text="Southern"/>        Â
              <asp:ListItem Text="South Island, NZ"/>        Â
              <asp:ListItem Text="South Africa"/>        Â
              <asp:ListItem Text="South Australia "/>        Â
              <asp:ListItem Text="Trentino-Alto Adige"/>        Â
              <asp:ListItem Text="Tuscany"/>        Â
              <asp:ListItem Text="Veneto"/>        Â
              <asp:ListItem Text="Vin de Pays"/>        Â
              <asp:ListItem Text="Washington"/>        Â
              <asp:ListItem Text="Western Australia"/>        Â
    </asp:DropDownList>
         Country:
        Â
            <asp:DropDownList id=country runat=server>
             <asp:ListItem Text=""/>       Â
             <asp:ListItem Text="Argentina"/>       Â
             <asp:ListItem Text="Australia"/>       Â
             <asp:ListItem Text="Chile"/>       Â
             <asp:ListItem Text="France"/>       Â
             <asp:ListItem Text="Italy"/>       Â
             <asp:ListItem Text="Japan"/>       Â
             <asp:ListItem Text="New Zealand"/>       Â
             <asp:ListItem Text="Spain"/>       Â
             <asp:ListItem Text="South Africa"/>       Â
             <asp:ListItem Text="USA"/>       Â
    </asp:DropDownList>
           <p></p>
         Color:          Â
            <asp:DropDownList ID=color runat=server>
             <asp:ListItem Text=""/>       Â
             <asp:ListItem Text="Red" />       Â
             <asp:ListItem Text="Rose" />       Â
             <asp:ListItem Text="Sparkling" />       Â
             <asp:ListItem Text="Sweet" />       Â
    </asp:DropDownList>
        Appellation:
             <asp:DropDownList ID=appellation runat=server>
              <asp:ListItem Text=""/>        Â
              <asp:ListItem Text="Alexander Valley " />        Â
              <asp:ListItem Text="Alsace" />        Â
              <asp:ListItem Text="Alto Adige" />        Â
              <asp:ListItem Text="Amador County " />        Â
              <asp:ListItem Text="Amarone della Valpolicella" />        Â
              <asp:ListItem Text="Arneis di Roero" />        Â
              <asp:ListItem Text="Barbaresco" />        Â
              <asp:ListItem Text="Barbera dAlba" />        Â
              <asp:ListItem Text="Barolo " />        Â
              <asp:ListItem Text="Barossa Valley" />        Â
              <asp:ListItem Text="Barsac" />        Â
              <asp:ListItem Text="Beaujolais" />        Â
              <asp:ListItem Text="Beaujolais-Villages"
              <asp:ListItem Text="Bordeaux" />        Â
              <asp:ListItem Text="Brunello di Montalcino" />        Â
              <asp:ListItem Text="Cairanne" />        Â
              <asp:ListItem Text="California" />        Â
              <asp:ListItem Text="California Shenandoah Valley" />        Â
              <asp:ListItem Text="Carneros" />        Â
              <asp:ListItem Text="Carneros, Napa" />        Â
              <asp:ListItem Text="Cava" />        Â
              <asp:ListItem Text="Chateauneuf-du-Pape,
              <asp:ListItem Text="Chianti" />        Â
              <asp:ListItem Text="Chianti Classico" />        Â
              <asp:ListItem Text="Chianti Classico Riserva " />        Â
              <asp:ListItem Text="Coastal South Africa " />        Â
              <asp:ListItem Text="Colchagua" />        Â
              <asp:ListItem Text="Columbia Valley " />        Â
              <asp:ListItem Text="Costieres de Nimes" />        Â
              <asp:ListItem Text="Coteaux de Luberon, Rouge" />        Â
              <asp:ListItem Text="Coteaux du Languedoc " />        Â
              <asp:ListItem Text="Cotes de Castillon" />        Â
              <asp:ListItem Text="Cotes-du-Rhone, Rouge" />        Â
              <asp:ListItem Text="Franciacorta " />        Â
              <asp:ListItem Text="Gattinara" />        Â
              <asp:ListItem Text="Gavi" />        Â
              <asp:ListItem Text="Givry, Rouge " />        Â
              <asp:ListItem Text="Graves" />        Â
              <asp:ListItem Text="Greco di Tufo" />        Â
              <asp:ListItem Text="Haut-Medoc" />        Â
              <asp:ListItem Text="Howell Mountain " />        Â
              <asp:ListItem Text="Hunter Valley " />        Â
              <asp:ListItem Text="IGT, Puglia " />        Â
              <asp:ListItem Text="IGT, Sicily" />        Â
              <asp:ListItem Text="IGT, Toscana" />        Â
              <asp:ListItem Text="IGT, Toscana " />        Â
              <asp:ListItem Text="IGT, Toscana" />        Â
              <asp:ListItem Text="IGT, Veneto" />        Â
              <asp:ListItem Text="IGT, Venezia Giulia " />        Â
              <asp:ListItem Text="Jerez (Sherry)" />        Â
              <asp:ListItem Text="Langhe" />        Â
              <asp:ListItem Text="Langhorne Creek" />        Â
              <asp:ListItem Text="Madeira" />        Â
              <asp:ListItem Text="Margaret River" />        Â
              <asp:ListItem Text="Margaux" />        Â
              <asp:ListItem Text="Marlborough" />        Â
              <asp:ListItem Text="Martinborough" />        Â
              <asp:ListItem Text="Maule Valley" />        Â
              <asp:ListItem Text="McLaren Vale" />        Â
              <asp:ListItem Text="Medoc" />        Â
              <asp:ListItem Text="Mendoza" />        Â
              <asp:ListItem Text="Montepulciano dAbruzzo" />        Â
              <asp:ListItem Text="Monterey County" />        Â
              <asp:ListItem Text="Moscato dAsti" />        Â
              <asp:ListItem Text="Moulis" />        Â
              <asp:ListItem Text="Muscadet" />        Â
              <asp:ListItem Text="Napa Valley" />        Â
              <asp:ListItem Text="Nebbiolo dAlba" />        Â
              <asp:ListItem Text="New South Wales" />        Â
              <asp:ListItem Text="Oregon" />        Â
              <asp:ListItem Text="Paarl" />        Â
              <asp:ListItem Text="Pauillac" />        Â
              <asp:ListItem Text="Pessac-Leognan " />        Â
              <asp:ListItem Text="Pic Saint Loup" />        Â
              <asp:ListItem Text="Pomero" />        Â
              <asp:ListItem Text="Pomerol" />        Â
              <asp:ListItem Text="Puligny-Montrachet" />        Â
              <asp:ListItem Text="Rioja" />        Â
              <asp:ListItem Text="Russian River Valley" />        Â
              <asp:ListItem Text="San Gimignano" />        Â
              <asp:ListItem Text="Santa Barbara County" />        Â
              <asp:ListItem Text="Santa Cruz Mountains" />        Â
              <asp:ListItem Text="Santa Lucia Highlands" />        Â
              <asp:ListItem Text="Santa Maria Valley" />        Â
              <asp:ListItem Text="Santa Ynez Valley" />        Â
              <asp:ListItem Text="Sauternes" />        Â
              <asp:ListItem Text="Sonoma County " />        Â
              <asp:ListItem Text="South Africa" />        Â
              <asp:ListItem Text="South Australia" />        Â
              <asp:ListItem Text="South Eastern Australia " />        Â
              <asp:ListItem Text="Spring Mountain District " />        Â
              <asp:ListItem Text="St. Emilion " />        Â
              <asp:ListItem Text="St. Estephe " />        Â
              <asp:ListItem Text="St. Julien " />        Â
              <asp:ListItem Text="Tokubetsu Junmai " />        Â
              <asp:ListItem Text="Vaucluse " />        Â
              <asp:ListItem Text="Vin de Pays " />        Â
              <asp:ListItem Text="Willamette Valley " />        Â
    </asp:DropDownList>
         Year:
       Â
            <asp:DropDownList ID="year" runat="server">
             <asp:ListItem Text=""/>       Â
             <asp:ListItem Text="1995"  />       Â
             <asp:ListItem Text="1996"  />       Â
             <asp:ListItem Text="1997"  />       Â
             <asp:ListItem Text="1998"  />       Â
             <asp:ListItem Text="1999"  />       Â
             <asp:ListItem Text="2000"  />       Â
             <asp:ListItem Text="2001"  />       Â
             <asp:ListItem Text="2001 Future"  />       Â
             <asp:ListItem Text="2002"  />       Â
             <asp:ListItem Text="2002 Future"  />       Â
             <asp:ListItem Text="2003"  />       Â
             <asp:ListItem Text="2003 Future"  />       Â
    </asp:DropDownList>
                 <input name="Button" type="Button" id="Left" value="Go" runat="server" onserverclick="makeselecti
</form>
           Â
            <p> </p>
            <table width="769" border="0" cellpadding="0" cellspacing="0">
      <tr>
       <td width="759"><hr noshade></td>
      </tr>
     </table>
        <table width="86%" height="562"  border="0">
     <tr>
                      <td width="40%" height="287" valign="top"><p align="center"> </p>
                       <p align="center"><img src="41.gif" width="194" height="124" align="top"></p>
                       <p align="center"><img src="saveas.gif" width="184" height="30"></p>
                 </td>
                      <td width="28%"><p align="center">Last summer we approached some of our favorite
  American wineries and asked them if we could
  choose a couple of exceptional barrels to do a
  special blend that we would have a hand in
  creating. </p>
                       <div align="center"> The winemakers were really enthusiastic about the idea and picked out some incredible barrrels for us to use in our blends. The fruits of this collaboration have begun to arrive and we expect to have the full complement in stock by the end of August.        </div>
                       </p>
<p></p></td>
                      <td width="32%" valign="top"><div align="center">
                       <p align="center"> </p>
                       <p align="center"><img src="duk3.gif" align="bottom"></p>
                      </div></td>
     </tr>
     <tr>
      <td height="137" align="center" valign="top"><blockquote>
       <p>Bethel Heights Pinot Noir "Freedom Hill Vineyard" Willamette Valley 750ml 12 per case<br>
         <b>Vintage:</b> 1999<br>
         <b>Price per Bottle:</b> 10<br>
        <b>Price per case of 12:</b> 11<br>       Â
        <a href="itemdetails.aspx?ite
       </blockquote></td>
      <td valign="top"><p align="center">      Â
       <p align="center">Baron Philippe de Rothschild Chardonnay Vin de Pays 750ml 12 per case <br>
        <b>Vintage: </b> 2002 <br>
        <b>Price per Bottle: </b>10 <br>
        <b>Price per case of 12: </b> 11<BR>      Â
        <a href="itemdetails.aspx?ite
       </td>
      <td valign="top"><p align="center">      Â
       <p align="center">Castello di Volpaia Chianti Classico Riserva 750ml 12 per case<br>
        <b>Vintage:</b> 1999<br>
        <b>Price per Bottle: 10</b><br>
        <b>Price per case of 12:</b> 11<BR>
        <a href="itemdetails.aspx?ite
       <p align="center"> </p><
     </tr>
     <tr>
      <td height="111" align="center" valign="top"> <p>      Â
       <p>Allegrini "La Poja" IGT, Veneto 750ml <br>      Â
       6 per case (6 per case) <BR>
         <B>Vintage: </B>1998 <BR>
         <B>Price per Bottle: </B>10 <BR>
         <B>Price per case of 12: </B>11 <BR>
        <a href="itemdetails.aspx?ite
      <td valign="top"><div align="center">
       <p>Castello di Volpaia Chianti ClassicoRiserva 750ml 12 per case<BR>
        <strong>Vintage: </strong>1997<BR>      Â
        <strong>Price per Bottle: </strong>10<BR>       Â
           <strong>Price per case of 12:</strong> 11<br>
<a href="itemdetails.aspx?ite
      </div></td>
      <td valign="top"><div align="center">
       <p>Beringer Chardonnay "Founders Estate" California 750ml 12 per case<br>
        <strong>Vintage:</strong> 2002<br>
        <strong>Price per Bottle:</strong> 10<br>
        <strong>Price per case of 12:</strong> 11 <br>
                      <a href="itemdetails.aspx?ite
      </div></td>
     </tr>
</table>
           <p> </p>
           <p> </p>
           <p align="left"> </p>
           <p align="right"><span class="style2">© The Wine Repository, 2002. All Rights Reserved. <img src="half2.gif" width="106" height="222" align="bottom"></span></p>
</body>
</html>
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
changes to the Button...
<input name="GoButton" type="Button" id="Left" value="Go" runat="server" />
<input name="GoButton" type="Button" id="Left" value="Go" runat="server" />
i mean,
<asp:Button Id="GoButton" runat="server" Text="Go" />
<asp:Button Id="GoButton" runat="server" Text="Go" />
Please do have a look at my comments ..
I would personally recommend a split between
Razzie_ (<a href="https://www.experts-exchange.com/questions/21393697/Adding-codebehind-files-to-an-app-developed-using-net-framework.html#13813230">#13813230</a>)
Rejojohny (<a href="https://www.experts-exchange.com/questions/21393697/Adding-codebehind-files-to-an-app-developed-using-net-framework.html#13813728">#13813728</a>)
b1xml2 (<a href="https://www.experts-exchange.com/questions/21393697/Adding-codebehind-files-to-an-app-developed-using-net-framework.html#13815395">#13815395</a>)
since they all more or less accomplish what the author asked. I think it would be the fairest thing to do.
Razzie_ (<a href="https://www.experts-exchange.com/questions/21393697/Adding-codebehind-files-to-an-app-developed-using-net-framework.html#13813230">#13813230</a>)
Rejojohny (<a href="https://www.experts-exchange.com/questions/21393697/Adding-codebehind-files-to-an-app-developed-using-net-framework.html#13813728">#13813728</a>)
b1xml2 (<a href="https://www.experts-exchange.com/questions/21393697/Adding-codebehind-files-to-an-app-developed-using-net-framework.html#13815395">#13815395</a>)
since they all more or less accomplish what the author asked. I think it would be the fairest thing to do.
hmm sorry for the misformed post, I guess HTML doesn't work ;)
<script runat="server">
.........
</script>
in the codebehind page. That's it.