How to get Image Preview after browsing through fileupload control using JavaScript


There are situations when you work with File Upload controls and you want to show the image preview when you hit ok in the dialog box. There are many solution but we are going to demonstrate using JavaScript. Now the below code snippet uses showImage function which first splits the complete path present in file upload text box. Later it appends 'file:///' to the complete file path.

Example:



function showImage(id,img,divName,no)
        {
            var fileUploader = id.value;            
             dots = fileUploader.split(".");
          
            //get the part AFTER the LAST period.
            fileType = "." + dots[dots.length-1];
            if(fileType=='.jpg'||fileType=='.JPG'||fileType=='.gif'||fileType=='.GIF' ||fileType=='.jpeg'||fileType=='.JPEG'||fileType=='.bmp'||fileType=='.BMP'||       fileType=='.png'||fileType=='.PNG'||fileType=='.tif'||fileType=='.TIF'||fileType=='.thm'||fileType=='.THM')
            {
               // alert('That file is OK!');
               // return true;
            }
            else
            {
                return false;
            }
            
            var filePath = fileUploader.split("\\"); 
            var path = 'file:///';
            for(var i = 1; i <  filePath.length;i++)
            {
                path += filePath[i];
                if(i != filePath.length -1)
                    path += "/";
            }  
          if(path.length > 1)
            {
                if(no==1)
                {                   
                  var ele= document.getElementById('<%= panellogo.ClientID %>');
                  ele.style.display = 'block';
                  var ele1= document.getElementById('<%= imglogo.ClientID %>');           
                }
                else if(no==2)
                {
                  var ele= document.getElementById('<%= panelheader.ClientID %>');
                  ele.style.display = 'block';
                  var ele1= document.getElementById('<%= imgheader.ClientID %>');              
                }
                else if(no==3)
                {
                  var ele= document.getElementById('<%= panelfooter.ClientID %>');
                  ele.style.display = 'block';
                  var ele1= document.getElementById('<%= imgfooter.ClientID %>');
                }
                else if(no==4)
                {
                   var ele= document.getElementById('<%= panelmiddlebar.ClientID %>');
                   ele.style.display = 'block';
                   var ele1= document.getElementById('<%= imgmiddlebar.ClientID %>');           
                }
                ele1.src =path ; 
           }
        }

How to use javascript to change values of a controls inside a gridview?


There are situations where you need to change value present in grid view dynamically. In one of my project, I need to calculate price according to the number of food items selected from a drop-down list control and this will be client site operation. To do that I have used JavaScript. Below is the ASP.NET and JavaScript which you need to past it in ASP.NET page.


       
           

               

                   

               

           

           

               

                   

                       

                       

                       

                       

                       

                   

               

           

            

               

                   

               

           

           

               

                   

               

           

           

               

                   

               

               

                   

               

           

           

               

                   

               

               

                   

               

           

       

    



Confirmation dialog box in Code Behind using C#( C-Sharp ) in ASP.NET


You can call a confirmation dialog box from code behind using c#. Copy follow the code in respective files.

Copy this is HTML

<p>
        <asp:Button id="btnSave" runat="server" Text="Save and Update 'RFFM'" OnClientClick="return UpdateRFFM();" />
    </p>

Copy this in C# code behind.
using System;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

using System.Text;
using ADI.Web;

namespace SIS
{
    public partial class update_sis : System.Web.UI.Page
    {
        SqlCommand cmd;
        SqlParameter pm;
        string strForm = "";
        StringBuilder sb;
        string strError = "";
        int UpdateStatus = -1;
        string strEmailTemplate = "";

        protected void Page_Load(object sender, EventArgs e)
        {
            Response.ContentType = "text/plain";
            Response.Cache.SetCacheability(HttpCacheability.NoCache);

            if (Request["form_name"] == null)
            {
                Response.Write("");
                Response.End();
            }
            strForm = Utils.ToStringNullSafe(Request["form_name"]);
            sb = new StringBuilder();

            if (Session["ApplicationId"] == null)
            {
                Response.Write("Bad Request...");
                Response.End();
            }

            int ApplicationId = int.Parse(Session["ApplicationId"].ToString());

            switch (strForm)
            {
                case "rffm_create_user":
                    if (Session["email"] == null)
                    {
                        Response.Write("Bad Request");
                        Response.End();
                    }
                    Session["errmsg"] = "";
                    try
                    {
                        cmd = new SqlCommand("usp_SIS_PutUser");

                        // output parameter
                        pm = new SqlParameter("@UpdateStatus", SqlDbType.Int);
                        pm.Direction = ParameterDirection.Output;
                        cmd.Parameters.Add(pm);

                        // input parameters
                        cmd.Parameters.Add("Id", SqlDbType.Int).Value = 0;
                        cmd.Parameters.Add("@UserName", SqlDbType.VarChar, 50).Value = Session["Email"].ToString();

                        string strPassword = System.Guid.NewGuid().ToString().Substring(0, 8);
                        
                        cmd.Parameters.Add("@Password", SqlDbType.VarChar, 50).Value = Utils.base64Encode(strPassword);
                        cmd.Parameters.Add("@Active", SqlDbType.Bit).Value = false;
                        int ClubId = int.Parse(Session["ClubId"].ToString());
                        if (ClubId > 0)
                        {
                            cmd.Parameters.Add("@Group_Id", SqlDbType.Int).Value = 31;
                            cmd.Parameters.Add("@Club_Id", SqlDbType.Int).Value = ClubId;
                            cmd.Parameters.Add("@NonClub_Id", SqlDbType.Int).Value = (object)DBNull.Value;
                        }
                        else
                        {
                            cmd.Parameters.Add("@Group_Id", SqlDbType.Int).Value = 32;
                            cmd.Parameters.Add("@Club_Id", SqlDbType.Int).Value = (object)DBNull.Value;
                            cmd.Parameters.Add("@NonClub_Id", SqlDbType.Int).Value = int.Parse(Session["Non_ClubId"].ToString());
                        }

                        Utils.executeSP(cmd);
                        Session.Remove("emil");
                        strError = "";

                        if (Session["errmsg"].ToString() != "") 
                            strError = "-1" + Session["errmsg"].ToString();

                        if (strError == "")
                        {
                            int UpdateStatus = int.Parse(cmd.Parameters["@UpdateStatus"].Value.ToString());
                            if (UpdateStatus < 0)
                                strError = "-1There was a problem when creating new user. Please contact Admin";
                            else
                            {
                                // send email
                                strEmailTemplate = Utils.ReadTemplate("newuser.txt");
                                strError = "00" + SIS_Site.SendEmail(UpdateStatus, strEmailTemplate);
                            }
                        }
                    } catch (Exception ex) {
                        strError = "-1" + ex.Message;
                    }
                    break;
                case "rffm_SendVerificationEmail":
                    // send email
                    if (Session["UserId"] == null)
                    {
                        Response.Write("Bad Request");
                        Response.End();
                    }
                    strError = "";
                    strEmailTemplate = Utils.ReadTemplate("newuser.txt");
                     strError = "00" + SIS_Site.SendEmail(int.Parse(Session["UserId"].ToString()), strEmailTemplate);
                    Session.Remove("UserId");
                    break;
                case "rffm_UserSetupVerify":
                    strError = "";
                    try
                    {
                        cmd = new SqlCommand("usp_SIS_UserSetupVerify");

                        // output parameter
                        pm = new SqlParameter("@UpdateStatus", SqlDbType.Int);
                        pm.Direction = ParameterDirection.Output;
                        cmd.Parameters.Add(pm);

                        SqlParameter pm2 = new SqlParameter("@EMail", SqlDbType.VarChar, 500);
                        pm2.Direction = ParameterDirection.Output;
                        cmd.Parameters.Add(pm2);

                        SqlParameter pm3 = new SqlParameter("@Updatetext", SqlDbType.VarChar, 200);
                        pm3.Direction = ParameterDirection.Output;
                        cmd.Parameters.Add(pm3);

                        SqlParameter pm4 = new SqlParameter("@UserId", SqlDbType.Int);
                        pm4.Direction = ParameterDirection.Output;
                        cmd.Parameters.Add(pm4);

                        // input parameters
                        cmd.Parameters.Add("@ApplicationId", SqlDbType.Int).Value = ApplicationId;

                        Utils.executeSP(cmd);

                        if (Session["errmsg"] != null)
                            strError = Session["errmsg"].ToString();

                        if (strError == "")
                        {
                            UpdateStatus = int.Parse(cmd.Parameters["@UpdateStatus"].Value.ToString());
                            if (UpdateStatus < 0)
                                strError = "There was an error when processing your request";
                        }

                        Session["email"] = cmd.Parameters["@EMail"].Value.ToString();
                        Session["UserId"] = cmd.Parameters["@UserId"].Value.ToString();
                        Session["Updatetext"] = cmd.Parameters["@Updatetext"].Value.ToString();

                        switch (UpdateStatus)
                        {
                           case 1:
                                strError = "1";
                                break;
                            case 2:
                                strError = "2";
                                break;
                            case 3:
                                strError = "3";
                                break;
                            case 4:
                                strError = Session["Updatetext"].ToString();
                                break;
                            case 5:
                                strError = "5" + Session["Updatetext"].ToString();
                                break;
                            default:
                                break;
                        }
                    }
                    catch (Exception ex)
                    {
                        strError = ex.Message;
                    }
                    break;

                case "rffm":
                    Session["current_tab"] = "rffm";
                    try
                    {
                        cmd = new SqlCommand("usp_SIS_PutProjectProfile");

                        // output parameter
                        pm = new SqlParameter("@UpdateStatus", SqlDbType.Int);
                        pm.Direction = ParameterDirection.Output;
                        cmd.Parameters.Add(pm);

                        // input parameters
                        cmd.Parameters.Add("@ApplicationId", SqlDbType.Int).Value = ApplicationId;
                        cmd.Parameters.Add("@LastSavedBy", SqlDbType.VarChar, 50).Value = Session["user"].ToString();

                        cmd.Parameters.Add("@FeasibilityStudyDocument", SqlDbType.VarChar, 8000).Value = Request["FeasibilityStudy"];
                        cmd.Parameters.Add("@PlanningPermissionNotRequired", SqlDbType.VarChar, 8000).Value = Request["PlanningPermissionNotRequired"];
                        cmd.Parameters.Add("@Sustainable", SqlDbType.VarChar, 8000).Value = Request["Sustainable"];

                        string strRDMRecommendation = Request["RDMRecommendation"];
                        cmd.Parameters.Add("@RDMRecommendation", SqlDbType.VarChar, 8000).Value = (strRDMRecommendation == null) ? (object)DBNull.Value : strRDMRecommendation;

                        cmd.Parameters.Add("@Risk", SqlDbType.VarChar, 10).Value = Request["Risk"];
                        cmd.Parameters.Add("@Region", SqlDbType.VarChar, 50).Value = Request["Region"];
                        cmd.Parameters.Add("@RDMName", SqlDbType.VarChar, 50).Value = Session["user"].ToString();
                        cmd.Parameters.Add("@RDMReviewDate", SqlDbType.DateTime).Value = DateTime.Now;
                        cmd.Parameters.Add("@DesignAndPlanningPermission", SqlDbType.VarChar, 8000).Value = Request["DesignAndPlanningPermission"];
                        cmd.Parameters.Add("@RecommendationOfProjectNeedAgainstSDA", SqlDbType.VarChar, 8000).Value = Request["RecommendationOfProjectNeedAgainstSportsDevelopmentActivity"];
                        cmd.Parameters.Add("@ValueForMoneyAssessment", SqlDbType.VarChar, 8000).Value = Request["ValueForMoneyAssessment"];
                        cmd.Parameters.Add("@ActionId", SqlDbType.Int).Value = int.Parse(Request["ActionId"].ToString());
                        cmd.Parameters.Add("@ActionNotes", SqlDbType.VarChar, 500).Value = "RFFM";

                        Utils.executeSP(cmd);

                        if (Session["errmsg"] != null)
                            strError = Session["errmsg"].ToString();

                        if (strError == "")
                        {
                            UpdateStatus = int.Parse(cmd.Parameters["@UpdateStatus"].Value.ToString());
                            if (UpdateStatus < 0)
                                strError = "There was an error when processing your request";
                            else
                                Session["current_tab"] = "";
                        }
                    }
                    catch (Exception ex)
                    {
                        strError = ex.Message;
                    }
                    break;

                case "check_session":
                    if (Session["ApplicationId"] != null)
                    {
                        string hfID = Request["hf_ApplicationId"].ToString();
                        string sfID = Session["ApplicationId"].ToString();

                        if (hfID != sfID)
                        {
                            strError = "-1";
                        }
                    }
                    break;
                default:
                    strError = "Bad request";
                    break;

            }
            
            Response.Write(strError);
        }
    }
} 
 
 
 
Copy this in Javascript file

function UpdateRFFM()
{
    var msg;
    var status_code;
    var rffmAction = $(".rffmAction").val();
    var Risk = $(".ddlRisk").val();
    var Region = $(".ddlRegion").val();
    var strError = "";
    
    if (rffmAction == "151") {
        if (Risk == "")
            strError = strError + "Please select a Risk\n";
        if (Region == "")
            strError = strError + "Please select a Region\n";                
    }
    
    if (strError != "") {
        alert(strError);
        return false;
    }
    
    var reply = false;

    if (rffmAction == "151") {
        $.post(getFullPath("update_sis.aspx"), 
            {form_name: 'rffm_UserSetupVerify'}, function(data) {
            if (data.length > 0)
                status_code = data.substring(0, 1);
            else
                status_code = '';
            
            switch(status_code) {
                case '0':
                    UpdateRFFM_Normal();
                    break;
                case '1':
                    $.post(getFullPath("update_sis.aspx"),
                        {form_name: 'rffm_create_user'}, function(data) {
                            status_code = data.substring(0, 2);
                            msg = data.substring(2);
                            if (status_code == "-1") 
                                alert(msg);
                            else {
                                alert('created new user account\n\n' + msg);
                                UpdateRFFM_Normal();
                            }                                    
                        });
                    break;
                case '2':
                    UpdateRFFM_Normal();
                    break;
                case '3':
                     $.post(getFullPath("update_sis.aspx"),
                        {form_name: 'rffm_SendVerificationEmail'}, function(data) {
                            status_code = data.substring(0, 2);
                            msg = data.substring(2);
                            if (status_code == "-1") 
                                alert(msg);
                            else {
                                alert('verification email sent\n\n' + msg);
                                UpdateRFFM_Normal();
                            }
                        });
                    break;
                case '4':
                    alert(data);
                    break;
                case '5':
                    msg = data.substring(1);
                    if (confirm(msg) == true) {
                      $.post(getFullPath("update_sis.aspx"),
                        {form_name: 'rffm_SendVerificationEmail'}, function(data) {
                            status_code = data.substring(0, 2);
                            msg = data.substring(2);
                            if (status_code == "-1") 
                                alert(msg);
                            else 
                                alert('verification email was sent\n\n' + msg);
                                UpdateRFFM_Normal();
                        });
                    }
                    break;                                                                                                
                default:
                    alert(data);
                    break;
            }
        });
    } else
        UpdateRFFM_Normal();

    return reply;
}
function UpdateRFFM_Normal() {
    var reply = false;         
    $.post(getFullPath("update_sis.aspx"), {form_name: 'rffm',
        FeasibilityStudy: $(".FeasibilityStudy").val(),
        PlanningPermissionNotRequired: $(".PlanningPermissionNotRequired").val(),
        Sustainable: $(".Sustainable").val(),
        RDMRecommendation: $(".RDMRecommendation").val(),
        Risk: $(".ddlRisk").val(),
        Region: $(".ddlRegion").val(),
        DesignAndPlanningPermission: $(".DesignAndPlanningPermission").val(),
        RecommendationOfProjectNeedAgainstSportsDevelopmentActivity: $(".RecommendationOfProjectNeedAgainstSportsDevelopmentActivity").val(),
        ValueForMoneyAssessment: $(".ValueForMoneyAssessment").val(),
        ActionNotes: $(".ActionNotes").val(),
        ActionId: $(".rffmAction").val()
        }, function(data) {
           if (data.length > 0) {
                alert(data);
                return false;
            } else {
                window.location = getFullPath("application_form.aspx");
                return false;
            }
        });
}

Creating Horizontal and Vertical Menu with CSS in ASP.NET


There are number of ways to develop MENU for you website. Programmers have the independence to develop their website menu as the like. You can build a menu using JavaScript, HTML, and CSS etc.., today we are going to create menu with CSS. We will be creating Horizontal and Vertical Menu as well.

For more information http://www.asp.net/cssadapters/Menu.aspx

<a href="#ctl00_ctl00_MainContent_LiveExample_Menu1_SkipLink"><img alt="Skip Navigation Links" src="/cssadapters/WebResource.axd?d=UUOvVNmVYQo-9uVb4SQONw2&amp;t=633802488069218315" width="0" height="0" style="border-width:0px;" /></a><table id="ctl00_ctl00_MainContent_LiveExample_Menu1" class="Menu-Skin-Vertical ctl00_ctl00_MainContent_LiveExample_Menu1_2" cssselectorclass="PrettyMenu" cellpadding="0" cellspacing="0" border="0">
  <tr onmouseover="Menu_HoverStatic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Products" id="ctl00_ctl00_MainContent_LiveExample_Menu1n0">
    <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_4" cellpadding="0" cellspacing="0" border="0" width="100%">
      <tr>
        <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_3" href="/cssadapters/GenericPage.aspx?goto=Products" style="border-style:none;font-size:1em;">Products</a></td><td style="width:0;"><img src="/cssadapters/WebResource.axd?d=vJD-cVU3-AH0-ltYurT8k63fTYnLllATOo5obypP4xk1&amp;t=633802488069218315" alt="Expand Products" style="border-style:none;vertical-align:middle;" /></td>
      </tr>
    </table></td>
  </tr><tr onmouseover="Menu_HoverStatic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Legal" id="ctl00_ctl00_MainContent_LiveExample_Menu1n1">
    <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_4" cellpadding="0" cellspacing="0" border="0" width="100%">
      <tr>
        <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_3" href="/cssadapters/GenericPage.aspx?goto=Legal" style="border-style:none;font-size:1em;">Legal</a></td><td style="width:0;"><img src="/cssadapters/WebResource.axd?d=vJD-cVU3-AH0-ltYurT8k63fTYnLllATOo5obypP4xk1&amp;t=633802488069218315" alt="Expand Legal" style="border-style:none;vertical-align:middle;" /></td>
      </tr>
    </table></td>
  </tr><tr onmouseover="Menu_HoverStatic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Support" id="ctl00_ctl00_MainContent_LiveExample_Menu1n2">
    <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_4" cellpadding="0" cellspacing="0" border="0" width="100%">
      <tr>
        <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_3" href="/cssadapters/GenericPage.aspx?goto=Support" style="border-style:none;font-size:1em;">Support</a></td><td style="width:0;"><img src="/cssadapters/WebResource.axd?d=vJD-cVU3-AH0-ltYurT8k63fTYnLllATOo5obypP4xk1&amp;t=633802488069218315" alt="Expand Support" style="border-style:none;vertical-align:middle;" /></td>
      </tr>
    </table></td>
  </tr><tr onmouseover="Menu_HoverStatic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Just for You" id="ctl00_ctl00_MainContent_LiveExample_Menu1n3">
    <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_4" cellpadding="0" cellspacing="0" border="0" width="100%">
      <tr>
        <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_3" href="/cssadapters/GenericPage.aspx?goto=Just for You" style="border-style:none;font-size:1em;">Just for You</a></td><td style="width:0;"><img src="/cssadapters/WebResource.axd?d=vJD-cVU3-AH0-ltYurT8k63fTYnLllATOo5obypP4xk1&amp;t=633802488069218315" alt="Expand Just for You" style="border-style:none;vertical-align:middle;" /></td>
      </tr>
    </table></td>
  </tr><tr onmouseover="Menu_HoverStatic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="About" id="ctl00_ctl00_MainContent_LiveExample_Menu1n4">
    <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_4" cellpadding="0" cellspacing="0" border="0" width="100%">
      <tr>
        <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_3" href="/cssadapters/GenericPage.aspx?goto=About" style="border-style:none;font-size:1em;">About</a></td><td style="width:0;"><img src="/cssadapters/WebResource.axd?d=vJD-cVU3-AH0-ltYurT8k63fTYnLllATOo5obypP4xk1&amp;t=633802488069218315" alt="Expand About" style="border-style:none;vertical-align:middle;" /></td>
      </tr>
    </table></td>
  </tr>
</table><div id="ctl00_ctl00_MainContent_LiveExample_Menu1n0Items" class="ctl00_ctl00_MainContent_LiveExample_Menu1_0">
  <table border="0" cellpadding="0" cellspacing="0">
    <tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Windows" id="ctl00_ctl00_MainContent_LiveExample_Menu1n5">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=ProductsWindows" style="border-style:none;font-size:1em;">Windows</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Office" id="ctl00_ctl00_MainContent_LiveExample_Menu1n6">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=ProductsOffice" style="border-style:none;font-size:1em;">Office</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Business Solutions" id="ctl00_ctl00_MainContent_LiveExample_Menu1n7">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=ProductsBusinessSolutions" style="border-style:none;font-size:1em;">Business Solutions</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Servers" id="ctl00_ctl00_MainContent_LiveExample_Menu1n8">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=ProductsServers" style="border-style:none;font-size:1em;">Servers</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Developer Tools" id="ctl00_ctl00_MainContent_LiveExample_Menu1n9">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=ProductsDeveloperTools" style="border-style:none;font-size:1em;">Developer Tools</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Subscriptions" id="ctl00_ctl00_MainContent_LiveExample_Menu1n10">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=ProductSubscriptions" style="border-style:none;font-size:1em;">Subscriptions</a></td><td style="width:0;"><img src="/cssadapters/WebResource.axd?d=vJD-cVU3-AH0-ltYurT8k63fTYnLllATOo5obypP4xk1&amp;t=633802488069218315" alt="Expand Subscriptions" style="border-style:none;vertical-align:middle;" /></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="More" id="ctl00_ctl00_MainContent_LiveExample_Menu1n11">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=ProductsMore" style="border-style:none;font-size:1em;">More</a></td><td style="width:0;"><img src="/cssadapters/WebResource.axd?d=vJD-cVU3-AH0-ltYurT8k63fTYnLllATOo5obypP4xk1&amp;t=633802488069218315" alt="Expand More" style="border-style:none;vertical-align:middle;" /></td>
        </tr>
      </table></td>
    </tr>
  </table><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n0ItemsUp" onmouseover="PopOut_Up(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=WSyEhXriAnqu01zshl-aQsXWguA6_tt7S-yQRtPmguE1&amp;t=633802488069218315" alt="Scroll up" />
  </div><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n0ItemsDn" onmouseover="PopOut_Down(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=3NJCeayrf8zn8YgdPhQw8FD2Cwtw97plQ97bG_kLCjI1&amp;t=633802488069218315" alt="Scroll down" />
  </div>
</div><div id="ctl00_ctl00_MainContent_LiveExample_Menu1n10Items" class="ctl00_ctl00_MainContent_LiveExample_Menu1_0">
  <table border="0" cellpadding="0" cellspacing="0">
    <tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Software" id="ctl00_ctl00_MainContent_LiveExample_Menu1n12">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=ProductsSubscriptionsSoftware" style="border-style:none;font-size:1em;">Software</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Manage Your Profile" id="ctl00_ctl00_MainContent_LiveExample_Menu1n13">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=ProductsSubscriptionsManageYourProfile" style="border-style:none;font-size:1em;">Manage Your Profile</a></td>
        </tr>
      </table></td>
    </tr>
  </table><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n10ItemsUp" onmouseover="PopOut_Up(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=WSyEhXriAnqu01zshl-aQsXWguA6_tt7S-yQRtPmguE1&amp;t=633802488069218315" alt="Scroll up" />
  </div><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n10ItemsDn" onmouseover="PopOut_Down(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=3NJCeayrf8zn8YgdPhQw8FD2Cwtw97plQ97bG_kLCjI1&amp;t=633802488069218315" alt="Scroll down" />
  </div>
</div><div id="ctl00_ctl00_MainContent_LiveExample_Menu1n11Items" class="ctl00_ctl00_MainContent_LiveExample_Menu1_0">
  <table border="0" cellpadding="0" cellspacing="0">
    <tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Mobile Devices" id="ctl00_ctl00_MainContent_LiveExample_Menu1n14">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=ProductsMobileDevices" style="border-style:none;font-size:1em;">Mobile Devices</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Games and Xbox" id="ctl00_ctl00_MainContent_LiveExample_Menu1n15">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=ProductsGamesXbox" style="border-style:none;font-size:1em;">Games and Xbox</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Hardware" id="ctl00_ctl00_MainContent_LiveExample_Menu1n16">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=ProductsHardware" style="border-style:none;font-size:1em;">Hardware</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="MSN" id="ctl00_ctl00_MainContent_LiveExample_Menu1n17">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=ProductsMSN" style="border-style:none;font-size:1em;">MSN</a></td>
        </tr>
      </table></td>
    </tr>
  </table><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n11ItemsUp" onmouseover="PopOut_Up(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=WSyEhXriAnqu01zshl-aQsXWguA6_tt7S-yQRtPmguE1&amp;t=633802488069218315" alt="Scroll up" />
  </div><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n11ItemsDn" onmouseover="PopOut_Down(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=3NJCeayrf8zn8YgdPhQw8FD2Cwtw97plQ97bG_kLCjI1&amp;t=633802488069218315" alt="Scroll down" />
  </div>
</div><div id="ctl00_ctl00_MainContent_LiveExample_Menu1n1Items" class="ctl00_ctl00_MainContent_LiveExample_Menu1_0">
  <table border="0" cellpadding="0" cellspacing="0">
    <tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="License" id="ctl00_ctl00_MainContent_LiveExample_Menu1n18">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=LegalLicense" style="border-style:none;font-size:1em;">License</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Terms of Use" id="ctl00_ctl00_MainContent_LiveExample_Menu1n19">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=LegalTerms" style="border-style:none;font-size:1em;">Terms of Use</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Privacy" id="ctl00_ctl00_MainContent_LiveExample_Menu1n20">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=LegalPrivacy" style="border-style:none;font-size:1em;">Privacy</a></td>
        </tr>
      </table></td>
    </tr>
  </table><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n1ItemsUp" onmouseover="PopOut_Up(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=WSyEhXriAnqu01zshl-aQsXWguA6_tt7S-yQRtPmguE1&amp;t=633802488069218315" alt="Scroll up" />
  </div><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n1ItemsDn" onmouseover="PopOut_Down(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=3NJCeayrf8zn8YgdPhQw8FD2Cwtw97plQ97bG_kLCjI1&amp;t=633802488069218315" alt="Scroll down" />
  </div>
</div><div id="ctl00_ctl00_MainContent_LiveExample_Menu1n2Items" class="ctl00_ctl00_MainContent_LiveExample_Menu1_0">
  <table border="0" cellpadding="0" cellspacing="0">
    <tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Support Lifecycle and Policies" id="ctl00_ctl00_MainContent_LiveExample_Menu1n21">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=SupportLifecyclePolicies" style="border-style:none;font-size:1em;">Lifecycle and Policies</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Contact Support" id="ctl00_ctl00_MainContent_LiveExample_Menu1n22">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=SupportContact" style="border-style:none;font-size:1em;">Contact Support</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Third-Party Services" id="ctl00_ctl00_MainContent_LiveExample_Menu1n23">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=SupportThirdPartyProviders" style="border-style:none;font-size:1em;">Third-Party Services</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Research" id="ctl00_ctl00_MainContent_LiveExample_Menu1n24">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=Research" style="border-style:none;font-size:1em;">Research</a></td><td style="width:0;"><img src="/cssadapters/WebResource.axd?d=vJD-cVU3-AH0-ltYurT8k63fTYnLllATOo5obypP4xk1&amp;t=633802488069218315" alt="Expand Research" style="border-style:none;vertical-align:middle;" /></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Downloads" id="ctl00_ctl00_MainContent_LiveExample_Menu1n25">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=Downloads" style="border-style:none;font-size:1em;">Downloads</a></td><td style="width:0;"><img src="/cssadapters/WebResource.axd?d=vJD-cVU3-AH0-ltYurT8k63fTYnLllATOo5obypP4xk1&amp;t=633802488069218315" alt="Expand Downloads" style="border-style:none;vertical-align:middle;" /></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Learning" id="ctl00_ctl00_MainContent_LiveExample_Menu1n26">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=Learning" style="border-style:none;font-size:1em;">Learning</a></td><td style="width:0;"><img src="/cssadapters/WebResource.axd?d=vJD-cVU3-AH0-ltYurT8k63fTYnLllATOo5obypP4xk1&amp;t=633802488069218315" alt="Expand Learning" style="border-style:none;vertical-align:middle;" /></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Subscriptions" id="ctl00_ctl00_MainContent_LiveExample_Menu1n27">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=SupportSubscriptions" style="border-style:none;font-size:1em;">Subscriptions</a></td><td style="width:0;"><img src="/cssadapters/WebResource.axd?d=vJD-cVU3-AH0-ltYurT8k63fTYnLllATOo5obypP4xk1&amp;t=633802488069218315" alt="Expand Subscriptions" style="border-style:none;vertical-align:middle;" /></td>
        </tr>
      </table></td>
    </tr>
  </table><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n2ItemsUp" onmouseover="PopOut_Up(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=WSyEhXriAnqu01zshl-aQsXWguA6_tt7S-yQRtPmguE1&amp;t=633802488069218315" alt="Scroll up" />
  </div><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n2ItemsDn" onmouseover="PopOut_Down(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=3NJCeayrf8zn8YgdPhQw8FD2Cwtw97plQ97bG_kLCjI1&amp;t=633802488069218315" alt="Scroll down" />
  </div>
</div><div id="ctl00_ctl00_MainContent_LiveExample_Menu1n24Items" class="ctl00_ctl00_MainContent_LiveExample_Menu1_0">
  <table border="0" cellpadding="0" cellspacing="0">
    <tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Product Support Centers" id="ctl00_ctl00_MainContent_LiveExample_Menu1n28">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=SupportProductCenters" style="border-style:none;font-size:1em;">Product Info</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Knowledge Base" id="ctl00_ctl00_MainContent_LiveExample_Menu1n29">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=SupportKnowledgeBase" style="border-style:none;font-size:1em;">Knowledge Base</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Communities and Newsgroups" id="ctl00_ctl00_MainContent_LiveExample_Menu1n30">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=SupportCommunitiesNewsgroups" style="border-style:none;font-size:1em;">Communities</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Support for IT Professionals" id="ctl00_ctl00_MainContent_LiveExample_Menu1n31">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=SupportITProfessionals" style="border-style:none;font-size:1em;">IT Pros</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Support for Developers" id="ctl00_ctl00_MainContent_LiveExample_Menu1n32">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=SupportDevelopers" style="border-style:none;font-size:1em;">Developers</a></td>
        </tr>
      </table></td>
    </tr>
  </table><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n24ItemsUp" onmouseover="PopOut_Up(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=WSyEhXriAnqu01zshl-aQsXWguA6_tt7S-yQRtPmguE1&amp;t=633802488069218315" alt="Scroll up" />
  </div><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n24ItemsDn" onmouseover="PopOut_Down(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=3NJCeayrf8zn8YgdPhQw8FD2Cwtw97plQ97bG_kLCjI1&amp;t=633802488069218315" alt="Scroll down" />
  </div>
</div><div id="ctl00_ctl00_MainContent_LiveExample_Menu1n25Items" class="ctl00_ctl00_MainContent_LiveExample_Menu1_0">
  <table border="0" cellpadding="0" cellspacing="0">
    <tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Windows Update" id="ctl00_ctl00_MainContent_LiveExample_Menu1n33">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=DownloadsWindowsUpdate" style="border-style:none;font-size:1em;">Windows Update</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Office Update" id="ctl00_ctl00_MainContent_LiveExample_Menu1n34">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=DownloadsOfficeUpdate" style="border-style:none;font-size:1em;">Office Update</a></td>
        </tr>
      </table></td>
    </tr>
  </table><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n25ItemsUp" onmouseover="PopOut_Up(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=WSyEhXriAnqu01zshl-aQsXWguA6_tt7S-yQRtPmguE1&amp;t=633802488069218315" alt="Scroll up" />
  </div><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n25ItemsDn" onmouseover="PopOut_Down(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=3NJCeayrf8zn8YgdPhQw8FD2Cwtw97plQ97bG_kLCjI1&amp;t=633802488069218315" alt="Scroll down" />
  </div>
</div><div id="ctl00_ctl00_MainContent_LiveExample_Menu1n26Items" class="ctl00_ctl00_MainContent_LiveExample_Menu1_0">
  <table border="0" cellpadding="0" cellspacing="0">
    <tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Books" id="ctl00_ctl00_MainContent_LiveExample_Menu1n35">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=LearningBooks" style="border-style:none;font-size:1em;">Books</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Training" id="ctl00_ctl00_MainContent_LiveExample_Menu1n36">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=LearningTraining" style="border-style:none;font-size:1em;">Training</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Certification" id="ctl00_ctl00_MainContent_LiveExample_Menu1n37">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=LearningCertification" style="border-style:none;font-size:1em;">Certification</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Events" id="ctl00_ctl00_MainContent_LiveExample_Menu1n38">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=LearningEvents" style="border-style:none;font-size:1em;">Events</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Webcasts" id="ctl00_ctl00_MainContent_LiveExample_Menu1n39">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=LearningWebcasts" style="border-style:none;font-size:1em;">Webcasts</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Patterns and Practices" id="ctl00_ctl00_MainContent_LiveExample_Menu1n40">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=LearningPatternsPractices" style="border-style:none;font-size:1em;">Patterns and Practices</a></td>
        </tr>
      </table></td>
    </tr>
  </table><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n26ItemsUp" onmouseover="PopOut_Up(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=WSyEhXriAnqu01zshl-aQsXWguA6_tt7S-yQRtPmguE1&amp;t=633802488069218315" alt="Scroll up" />
  </div><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n26ItemsDn" onmouseover="PopOut_Down(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=3NJCeayrf8zn8YgdPhQw8FD2Cwtw97plQ97bG_kLCjI1&amp;t=633802488069218315" alt="Scroll down" />
  </div>
</div><div id="ctl00_ctl00_MainContent_LiveExample_Menu1n27Items" class="ctl00_ctl00_MainContent_LiveExample_Menu1_0">
  <table border="0" cellpadding="0" cellspacing="0">
    <tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Newsletters" id="ctl00_ctl00_MainContent_LiveExample_Menu1n41">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=SupportSubscriptionsNewsletters" style="border-style:none;font-size:1em;">Newsletters</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Manage Your Profile" id="ctl00_ctl00_MainContent_LiveExample_Menu1n42">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=SupportSubscriptionsManageYourProfile" style="border-style:none;font-size:1em;">Manage Your Profile</a></td>
        </tr>
      </table></td>
    </tr>
  </table><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n27ItemsUp" onmouseover="PopOut_Up(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=WSyEhXriAnqu01zshl-aQsXWguA6_tt7S-yQRtPmguE1&amp;t=633802488069218315" alt="Scroll up" />
  </div><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n27ItemsDn" onmouseover="PopOut_Down(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=3NJCeayrf8zn8YgdPhQw8FD2Cwtw97plQ97bG_kLCjI1&amp;t=633802488069218315" alt="Scroll down" />
  </div>
</div><div id="ctl00_ctl00_MainContent_LiveExample_Menu1n3Items" class="ctl00_ctl00_MainContent_LiveExample_Menu1_0">
  <table border="0" cellpadding="0" cellspacing="0">
    <tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Home Users" id="ctl00_ctl00_MainContent_LiveExample_Menu1n43">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=JustForYouHomeUsers" style="border-style:none;font-size:1em;">Home Users</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Macintosh Users" id="ctl00_ctl00_MainContent_LiveExample_Menu1n44">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=JustForYouMacintoshUsers" style="border-style:none;font-size:1em;">Macintosh Users</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="IT Professionals (TechNet)" id="ctl00_ctl00_MainContent_LiveExample_Menu1n45">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=JustForYouITProfessionals" style="border-style:none;font-size:1em;">IT Professionals</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Developers (MSDN)" id="ctl00_ctl00_MainContent_LiveExample_Menu1n46">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=JustForYouDevelopersMSDN" style="border-style:none;font-size:1em;">Developers (MSDN)</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Partners" id="ctl00_ctl00_MainContent_LiveExample_Menu1n47">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=JustForYouPartners" style="border-style:none;font-size:1em;">Partners</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Small Businesses" id="ctl00_ctl00_MainContent_LiveExample_Menu1n48">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=JustForYouSmallBusinesses" style="border-style:none;font-size:1em;">Small Businesses</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Large Businesses" id="ctl00_ctl00_MainContent_LiveExample_Menu1n49">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=JustForYouLargeBusinesses" style="border-style:none;font-size:1em;">Large Businesses</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Government" id="ctl00_ctl00_MainContent_LiveExample_Menu1n50">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=JustForYouGovernment" style="border-style:none;font-size:1em;">Government</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Educators" id="ctl00_ctl00_MainContent_LiveExample_Menu1n51">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=JustForYouEducators" style="border-style:none;font-size:1em;">Educators</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Journalists" id="ctl00_ctl00_MainContent_LiveExample_Menu1n52">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=JustForYouJournalists" style="border-style:none;font-size:1em;">Journalists</a></td>
        </tr>
      </table></td>
    </tr>
  </table><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n3ItemsUp" onmouseover="PopOut_Up(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=WSyEhXriAnqu01zshl-aQsXWguA6_tt7S-yQRtPmguE1&amp;t=633802488069218315" alt="Scroll up" />
  </div><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n3ItemsDn" onmouseover="PopOut_Down(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=3NJCeayrf8zn8YgdPhQw8FD2Cwtw97plQ97bG_kLCjI1&amp;t=633802488069218315" alt="Scroll down" />
  </div>
</div><div id="ctl00_ctl00_MainContent_LiveExample_Menu1n4Items" class="ctl00_ctl00_MainContent_LiveExample_Menu1_0">
  <table border="0" cellpadding="0" cellspacing="0">
    <tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Accessibility" id="ctl00_ctl00_MainContent_LiveExample_Menu1n53">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=AboutAccessibility" style="border-style:none;font-size:1em;">Accessibility</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Careers" id="ctl00_ctl00_MainContent_LiveExample_Menu1n54">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=AboutCareers" style="border-style:none;font-size:1em;">Careers</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Community Affairs" id="ctl00_ctl00_MainContent_LiveExample_Menu1n55">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=AboutCommunityAffairs" style="border-style:none;font-size:1em;">Community Affairs</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Diversity" id="ctl00_ctl00_MainContent_LiveExample_Menu1n56">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=AboutDiversity" style="border-style:none;font-size:1em;">Diversity</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Investor Relations" id="ctl00_ctl00_MainContent_LiveExample_Menu1n57">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=AboutInvestorRelations" style="border-style:none;font-size:1em;">Investor Relations</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Research" id="ctl00_ctl00_MainContent_LiveExample_Menu1n58">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=AboutResearch" style="border-style:none;font-size:1em;">Research</a></td>
        </tr>
      </table></td>
    </tr><tr onmouseover="Menu_HoverDynamic(this)" onmouseout="Menu_Unhover(this)" onkeyup="Menu_Key(event)" title="Security and Privacy" id="ctl00_ctl00_MainContent_LiveExample_Menu1n59">
      <td><table class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6" cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr>
          <td style="white-space:nowrap;width:100%;"><a class="ctl00_ctl00_MainContent_LiveExample_Menu1_1 Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_5" href="/cssadapters/GenericPage.aspx?goto=AboutSecurityPrivacy" style="border-style:none;font-size:1em;">Security and Privacy</a></td>
        </tr>
      </table></td>
    </tr>
  </table><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n4ItemsUp" onmouseover="PopOut_Up(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=WSyEhXriAnqu01zshl-aQsXWguA6_tt7S-yQRtPmguE1&amp;t=633802488069218315" alt="Scroll up" />
  </div><div class="Menu-Skin-StaticItem ctl00_ctl00_MainContent_LiveExample_Menu1_6 ctl00_ctl00_MainContent_LiveExample_Menu1_0" id="ctl00_ctl00_MainContent_LiveExample_Menu1n4ItemsDn" onmouseover="PopOut_Down(this)" onmouseout="PopOut_Stop(this)" style="text-align:center;">
    <img src="/cssadapters/WebResource.axd?d=3NJCeayrf8zn8YgdPhQw8FD2Cwtw97plQ97bG_kLCjI1&amp;t=633802488069218315" alt="Scroll down" />
  </div>
</div><a id="ctl00_ctl00_MainContent_LiveExample_Menu1_SkipLink"></a>

Difference between HTML and XML?


                 HTML was created by Tim Berners-Lee as a simple and effective way of generating clear and readable documents. HTML enables you to create documents and Web pages that can be read by all web browsers.

                  The World Wide Web Consortium(W3C) developed XML to enable the expansion of Web Technologies into the new domains of document processing and data interchange. It is designed to ease data exchange over the Internet. XML is a text-based markup language that enables you to store data in a structured format by using meaningful tags.

Conside a sample HTML Code:

<b> My Book </b>

<p> John Smith <br />
    Tech books publications <br />
    $50.00 <br />
</p>

The preceding code snippet represents information about the author, publisher, and cost of a book. However, the tags used for presenting the content do not reveal this information. The tags specify the format in which the content must be displayed on ab browser.

<book>
 <name> My Book </name>
  <author> John Smith </author>
  <publisher> Tech books publications </publisher>
  <price> $50.00 </price> 
</book>

The preceding code snippet, the content is described by using meaningul tags to represent the data. XML enables you to create a markup language for your application and does not place any restriction on the number of tags that you can define.

Factorial of a number in C#(CSharp)


The following is an example of the factorial number. It is also recursive method. Have a look:

using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApplication1
{
    class Program
    {
        public int factorial(int n)
        {
            int result;
            if (n == 1)
                return 1;
            else
            {
                result = factorial(n - 1) * n;
                return result;
            }
        }
        static void Main(string[] args)
        {
            Program obj = new Program();
            Console.WriteLine("Factorial of 3 is " + obj.factorial(3));
            Console.WriteLine("Factorial of 4 is " + obj.factorial(4));
            Console.WriteLine("Factorial of 5 is " + obj.factorial(5));

            Console.ReadLine();
        }
    }
}

Output:

Factorial

Fibonacci Series Using C#(CSharp)


Following program generates the Fibonacci series up to 200.

using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApplication1
{
    class Program
    {       
        static void Main(string[] args)
        {
            int number1, number2;
            number1 = 0;
            number2 = 1;

            Console.WriteLine("{0}", number1);
            while (number2 < 200)
            {
                Console.WriteLine("{0}", number2);
                number2 = number2 + number1;
                number1 = number2 - number1;
            }

            Console.ReadLine();

        }
    }
}

Output

Fibonacci Series

C# Program to perform Addition, Subtraction, Multipilcation and Division operation.


The following program perform mathematical operation such as Addition, Subtraction, Multipilcation and Division operation.

using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApplication1
{
    class Program
    {
        int Number1, Number2;
        char option; 

        public void Number()
        {
            Console.WriteLine("Enter the First Number:");
            Number1 = Convert.ToInt32(Console.ReadLine());

            Console.WriteLine("Enter the Second Number:");
            Number2 = Convert.ToInt32(Console.ReadLine());

            Console.WriteLine("Main Menu");
            Console.WriteLine("1. Addition");
            Console.WriteLine("2. Subtraction");
            Console.WriteLine("3. Multiplication");
            Console.WriteLine("4. Division");

            Console.WriteLine("Enter the Operation you want to perform");
            option = Convert.ToChar(Console.ReadLine());

            switch (option)
            {
                case '1':                    
                    Console.WriteLine("The result of Addition is:{0}", Number1 + Number2);
                    break;
                case '2':                    
                    Console.WriteLine("The result of Subtraction is:{0}", Number1 - Number);
                    break;
                case '3':                     
                    Console.WriteLine("The result of Multiplication is:{0}", Number1 * Number2);
                    break;
                case '4':                    
                    Console.WriteLine("The result of Division is:{0}", Number1 / Number2);
                    break;
                default:
                    Console.WriteLine("Invalid Option");
                    break;
            }
            Console.ReadLine();
        }

        static void Main(string[] args)
        {
            Program objProgram = new Program();
            objProgram.Number();            
        }
    }
} 

Output:

Leap Year program using C# or CSharp.


The following code checks whether the year entered by the user is a Leap Year. If the condition specified in the if statement is true, the statements in the if block are executed. And if the condition specified in the if statement is false , the statement in the else block are executed.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            int Year;
            Console.WriteLine("Enter the year: ");
            Year = Convert.ToInt32(Console.ReadLine());
            if ((Year % 4 == 0) && (Year % 100 != 0 || Year % 400 == 0))
            {
                Console.WriteLine("The Year you have entered is a Leap Year {0}.", Year);
            }
            else
            {
                Console.WriteLine("The Year you have entered is not a Leap Year {0}.", Year);
            }
            Console.ReadLine();
        }
    }
}

Output:

Creating a Sample C# program using Classes and objects.


A C# program can be written by using Visual Studio or any editor. Consider the following code, which declares the Car class and creates the object MyCar of the same class:

using System;
class Car
{
    //Following are the Member variables of a class.
    string Engine;
    int NoOfWheels;
    //Following are the Member function of a class.
    public void AcceptDetails()
    {
         Console.WriteLine("Enter the Engin Model");
         Engine = Console.ReadLine();
         Console.WriteLine("Enter the number of Wheels");
         NoOfWheels = Convert.ToInt32(Console.ReadLine());
    }

    public void DisplayDetails()
    {
         Console.WriteLine("The Engine Model is:{0}", Engine);
         Console.WriteLine("The number of Wheels are:{0}", NoOfWheels);
    }

    //Class used to instantiate the Car Class.
    class ExecuteClass
    {
        public static void Main(string[] args)
        {
             Car MyCar = new Car();
             MyCar.AcceptDetails();
             MyCar.DisplayDetails);
    
             Console.ReadLine();
        }
    }

Output:
Enter the Engine Model
800CC
Enter the number of Wheels
4
The Engine Model is: 800CC
The number of Wheels are: 4

Hello, World! in C#


You can learn to create classes in the C# language. Consider the following code example, which define a class:

using System;
public class Hello
{
   public static void Main(string[] args)
   {
        System.Console.WriteLine("Hello, World!\n");
   }
}

Output: Hello, World!

The preceding class declaration provides a method Main() that will display the message "Hello, World!" on your screen.

How can I bind Data in ASP.NET GridView?


You can easy bind data in ASP.NET. You don't even need to write a single line of code for that. You only need to follow the steps:

1. Fire-up Microsoft Visual Studio IDE. Navigate to File - New -Project. You will find New Project dialog box open. Now select appropriate language from Project Type, Select ASP.NET Web Application from Templates enter name of the project and set the location for it.

Data Binding in ASP.NET Step-1
2. Once you open a new project you will get some default files in Visual Studio Solution Explorer. Open Default.aspx in Design Mode and Add a GridView control from the Toolbox to the Design surface as shown in image below.

Data Binding in ASP.NET Step-2

3. You will find a smart tag on top of the GridView Control, click that. You will see GridView Task window. Click on Choose Data Source Drop Down Control and Select >




Data Binding in ASP.NET Step-3
4. Once you select that you will get Choose a Data Source Type screen, Select DataBase and click Next.


Data Binding in ASP.NET Step-4
5. Now click New Connection button and Select Microsoft SQL Server and Click Continue button and then Click Next button.



Data Binding in ASP.NET Step-5
6. You need to select your SQL Server Database name in Server Name location. Once you select  the name that will populate all the database in Select or enter a database name: field. Select one database and Click on Test Connection button at you bottom. You will get a confirmation that Test Connection Succeeded. Click OK button twice.



Data Binding in ASP.NET Step-6
7. Now click Next button two time. You will get the following image. Select the table and then the column as shown in image below. Click Next

Data Binding in ASP.NET Step-7
8. You will get the Test Query screen. Now you have the query  just click Test Query button to check you query. To test you query is correct or not. Then Click Finish button.

Data Binding in ASP.NET Step-8
9. Now Run you application in Visual Studio to see the output.

Data Binding in ASP.NET Step-9

Recent Posts