Using quotes in XML

0 Comments

To use quotes in xml, use "&quot;"<exec program="CMD.EXE" commandline="/C &quot;${installPath}\DatabaseInstallation.cmd&quot;" workingdir="${installPath}"> <arg value="${Database_DataSource}" />

SSIS package configuration

0 Comments

We have chosen to use a windows environment variable to hold the path to the *.dtsConfig, which is used to configure the *.dtsx package. - Close all open Microsoft Visual Studio 2005 instances (because changing…

Prevent session timeout in ASP .NET 2.0

0 Comments

To prevent a session timeout use the meta html tag in the header html tag:  <meta http-equiv="refresh" content="300" /><!-- prevent session timeout -->

Set text on control with javascript

0 Comments

To set the text on a control with javascript use:  /* Set the text value of the given element. This function assumes this document is defined and not null and has a function getElementById Used…

Change cursor to hand with CSS, when mouse over a column in a ASP .NET 2.0 GridView

0 Comments

When you want to change the cursor to a hand instead of the default pointer on mouse over, use CSS.In you're gridview column:<Columns> <asp:TemplateField HeaderText="Barcode"> <ItemTemplate><span class="hand"><%# Eval("Column")%></span></ItemTemplate> </asp:TemplateField> </Columns>In the header: <style type="text/css">    .hand…

Prevent default action arrow down and arrow up key with javascript

0 Comments

When you want to use the arrow keys to select rows in an ASP .NET 2.0 GridView, follow the steps in this article: http://www.codeproject.com/KB/webforms/GridViewRowNavigation.aspx It also explains, how you can prevent the default action of…