Al's BrainDump

RSS

Navigation





Quick Search
»
Advanced Search »

PoweredBy
DataGrid is out and GridView is in.

AJAX Control Kit - available off codeplex. Has all the stuff you need.

Global.asax no longer has a Global.asax.cs code behind but all code can be run in it anyway. Using keyword wont work but can be emulated with <%@ Import Namespace="System.Data.SqlClient" %>

Conn Strings in web.config:
<configuration>
    <connectionStrings>
        <add name="HRDWConnString" connectionString="Data Source=.;Initial Catalog='HR DW';Integrated Security=True" providerName="System.Data.SqlClient"/>
    </connectionStrings>

Access using:
string connStr = ConfigurationManager.ConnectionStrings"HRDWConnString".ConnectionString;

Master Pages

After creating one create a web form and take the option to nominate a master page. Where the master pages asp:contentholder control has an id that matches the web form's asp:content control's ContentPlaceHolderID property e.g. ContentPlaceHolderID="ContentPlaceHolder1", then the contents of that content control will be put into the master page.

ScrewTurn Wiki version 3.0.5.600. Some of the icons created by FamFamFam.