<?xml version="1.0"?>
<rss version="2.0">
<channel>
<title> - Recent Posts</title>
<link>http://www.kencox.ca/forum/recent.aspx</link>
<description> - Recent Posts</description>
<language>en-us</language>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<generator>Jitbit AspNetForum</generator>
<pubDate>Mon, 30 Aug 2010 13:27:32 GMT</pubDate>
<lastBuildDate>Mon, 30 Aug 2010 13:27:32 GMT</lastBuildDate>
<item>
<link>http://www.kencox.ca/forum/messages.aspx?TopicID=139</link>
<title>Message from dcawkwell</title>
<description><![CDATA[Managed to find the solution.<br/>Something to do with the default connection for the aspnetdb database not being there so it need something in the form of this adding to the web.config file.<br/>Anybody know what the publickeytoken is and what it should be?<br/><br/>&lt;membership&gt;<br/><br/>      &lt;providers&gt;<br/><br/>         &lt;remove name="AspNetSqlMembershipProvider" /&gt;<br/><br/>         &lt;add name="AspNetSqlMembershipProvider"<br/><br/>           type="System.Web.Security.SqlMembershipProvider, <br/><br/>           System.Web, Version=2.0.0.0, Culture=neutral,                                 <br/><br/>           PublicKeyToken=b03f5f7f11d50a3a"<br/><br/>           connectionStringName="LocalSQLServer"<br/><br/>           enablePasswordRetrieval="false"<br/><br/>           enablePasswordReset="true"<br/><br/>           requiresQuestionAndAnswer="true"<br/><br/>           applicationName="/"<br/><br/>           requiresUniqueEmail="false"<br/><br/>           passwordFormat="Hashed"<br/><br/>           maxInvalidPasswordAttempts="5"<br/><br/>           minRequiredPasswordLength="7"<br/><br/>           minRequiredNonalphanumericCharacters="1"<br/><br/>           passwordAttemptWindow="10"<br/><br/>           passwordStrengthRegularExpression="" /&gt;<br/><br/>       &lt;/providers&gt;<br/><br/>   &lt;/membership&gt;  <br/><br/>   &lt;profile&gt;<br/><br/>       &lt;providers&gt;<br/><br/>          &lt;remove name="AspNetSqlProfileProvider" /&gt;<br/><br/>          &lt;add name="AspNetSqlProfileProvider" <br/><br/>             connectionStringName="LocalSQLServer"                            <br/><br/>             applicationName="/"<br/><br/>             type="System.Web.Profile.SqlProfileProvider,<br/><br/>             System.Web, Version=2.0.0.0, Culture=neutral,                    <br/><br/>             PublicKeyToken=b03f5f7f11d50a3a" /&gt;<br/><br/>        &lt;/providers&gt;    <br/><br/>   &lt;/profile&gt;<br/><br/>   &lt;roleManager&gt;<br/><br/>        &lt;providers&gt;<br/><br/>          &lt;remove name="AspNetSqlRoleProvider" /&gt;<br/><br/>          &lt;add name="AspNetSqlRoleProvider" <br/><br/>             connectionStringName="LocalSQLServer" <br/><br/>             applicationName="/"<br/><br/>             type="System.Web.Security.SqlRoleProvider, <br/><br/>             System.Web, Version=2.0.0.0, Culture=neutral,                                <br/><br/>             PublicKeyToken=b03f5f7f11d50a3a" /&gt;<br/><br/>        &lt;/providers&gt;<br/><br/>   &lt;/roleManager&gt;]]></description>
<pubDate>Mon, 30 Aug 2010 13:27:32 GMT</pubDate>
</item>
<item>
<link>http://www.kencox.ca/forum/messages.aspx?TopicID=139</link>
<title>Message from dcawkwell</title>
<description><![CDATA[I tried the shopping cart of CH18 and it worked. But now I come back to it I get the following error<br/>when it is trying to creat items in the cart. What has gone wrong with my system to stop the cart working?<br/><br/>A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) <br/>Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. <br/><br/>Exception Details: System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)<br/><br/>Source Error: <br/><br/><br/>Line 22:     Public Overridable Property ShoppingCart() As ShoppingCart<br/>Line 23:         Get<br/>Line 24:             Return CType(Me.GetPropertyValue("ShoppingCart"),ShoppingCart)<br/>Line 25:         End Get<br/>Line 26:         Set]]></description>
<pubDate>Mon, 30 Aug 2010 06:14:08 GMT</pubDate>
</item>
<item>
<link>http://www.kencox.ca/forum/messages.aspx?TopicID=137</link>
<title>Message from Ken Cox</title>
<description><![CDATA[<b>mjrodino</b> wrote:<br><div class=quote>Instead of displaying the first Country, I want it to say "-Select-".Thanks!</div><br/><br/>You could probably get this answer in the asp.net forums but here you go:<br/><br/>&lt;%@ Page Language="VB" %&gt;<br/><br/>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;<br/><br/>&lt;script runat="server"&gt;<br/><br/>    Protected Sub Page_Load(ByVal sender As Object, _<br/>                            ByVal e As System.EventArgs)<br/>        If Not IsPostBack Then<br/>            ' Create some data<br/>            Dim q = From tz As TimeZoneInfo _<br/>             In System.TimeZoneInfo.GetSystemTimeZones() _<br/>             Select tz.DisplayName, tz.Id, tz.BaseUtcOffset _<br/>             Order By BaseUtcOffset<br/>            ' Tell the ddl to use the data<br/>            DropDownList1.DataSource = q<br/>            ' Tell the ddl what data to use where<br/>            DropDownList1.DataTextField = "DisplayName"<br/>            DropDownList1.DataValueField = "Id"<br/>            ' Tell the ddl to absorb this data<br/>            DropDownList1.DataBind()<br/>            ' Create a new item<br/>            Dim itm As New ListItem<br/>            ' Define the item<br/>            itm.Text = "-- Select --"<br/>            itm.Value = "-1"<br/>            itm.Selected = True<br/>            ' Jam the item into the ddl as the first one<br/>            DropDownList1.Items.Insert(0, itm)<br/>            ' Tell the ddl to select the first item<br/>            DropDownList1.SelectedIndex = 0<br/>        End If<br/>    End Sub<br/>&lt;/script&gt;<br/><br/>&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;<br/>&lt;head runat="server"&gt;<br/>    &lt;title&gt;&lt;/title&gt;<br/>&lt;/head&gt;<br/>&lt;body&gt;<br/>    &lt;form id="form1" runat="server"&gt;<br/>    &lt;div&gt;<br/>    <br/>        &lt;asp<img src="images/smilies/biggrin.gif" border="0" alt="Big Grin" />ropDownList ID="DropDownList1" runat="server"&gt;<br/>        &lt;/asp<img src="images/smilies/biggrin.gif" border="0" alt="Big Grin" />ropDownList&gt;<br/>    <br/>    &lt;/div&gt;<br/>    &lt;/form&gt;<br/>&lt;/body&gt;<br/>&lt;/html&gt;]]></description>
<pubDate>Fri, 02 Apr 2010 20:59:47 GMT</pubDate>
</item>
<item>
<link>http://www.kencox.ca/forum/messages.aspx?TopicID=138</link>
<title>Message from Ken Cox</title>
<description><![CDATA[<b>D.Rabbit</b> wrote:<br><div class=quote>Thanks for getting back to me so quickly, but I think that may have routed out the problem, I have no defined web.config file apparently. When I browse to where the files are being saved, all I find is what I can assume is a project file, which is a .sln.</div><br/><br/>Yup, a web.config is pretty well a necessity.]]></description>
<pubDate>Fri, 02 Apr 2010 20:42:40 GMT</pubDate>
</item>
<item>
<link>http://www.kencox.ca/forum/messages.aspx?TopicID=138</link>
<title>Message from D.Rabbit</title>
<description><![CDATA[Thanks for getting back to me so quickly, but I think that may have routed out the problem, I have no defined web.config file apparently. When I browse to where the files are being saved, all I find is what I can assume is a project file, which is a .sln.]]></description>
<pubDate>Fri, 02 Apr 2010 14:12:41 GMT</pubDate>
</item>
<item>
<link>http://www.kencox.ca/forum/messages.aspx?TopicID=138</link>
<title>Message from Ken Cox</title>
<description><![CDATA[Hi!<br/><br/>Sorry you're having problems. <br/><br/>I'm surprised that you can get any ASP.NET 3.5 stuff to work in Visual Studio 2005. Could you try working with free Visual Web Developer 2008 Express version? (http://www.microsoft.com/express/Web/)<br/><br/>Also you could compare the contents of the working and non-working  web.config file. There might be a reference in the one for the sample code that you need.<br/><br/>Let me know how you make out?<br/><br/>Ken]]></description>
<pubDate>Fri, 02 Apr 2010 13:40:02 GMT</pubDate>
</item>
<item>
<link>http://www.kencox.ca/forum/messages.aspx?TopicID=138</link>
<title>Message from D.Rabbit</title>
<description><![CDATA[I have been trying to update myself to C# while also picking up ASP.Net 3.5, which seems to be a losing battle. I have a degree in C++ so some of that is coming in handy, but I have hit a brick wall with Chapter 5's Drop Down Lists.<br/><br/>When I have tried your code posted on this site for C#, if I run it in your file provided, it works fine, however if I wanted to run it in my file I've created, I come up with issues with the "Cast" line:<br/>  clrs.AddRange(System.Enum.GetValues<br/>                (typeof(System.Drawing.KnownColor)).Cast&lt;System.Drawing.KnownColor&gt;());<br/><br/>Which tells me it doesn't understand "Cast"<br/><br/>If I just copy/paste your code from your page into a new page, I instead get an issue with the system.linq namespace, stating that it doesn't exist:<br/><br/>Error	1	The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?)	C:\Documents and Settings\Drowning Rabbit\My Documents\Visual Studio 2005\WebSites\WebSite6\Default.aspx	3	<br/><br/>I'm at a loss at where to look for an answer in Visual Studio at this point (I own a copy of VS 2005, and is what I've been using), as when I load your code, everything works, but just a simple copy/paste and I get that issue.<br/><br/><br/><br/>E: Now I'm running into the exact same problem with Page 72, Getting Multiple Choices from a ListBox. Something is odd with the line:<br/>&lt;%@Import Namespace="System.Linq" %&gt;<br/><br/><br/>Again, everything works fine when I use the code provided on the site, yet when I try and run it myself in a different file, it blows up.<br/><em>edited by D.Rabbit on 4/2/2010</em>]]></description>
<pubDate>Fri, 02 Apr 2010 12:16:25 GMT</pubDate>
</item>
<item>
<link>http://www.kencox.ca/forum/messages.aspx?TopicID=137</link>
<title>Message from mjrodino</title>
<description><![CDATA[This is a great book!<br/><br/>I have a question regarding drop down lists.  I would like a drop down list to display the text: "-Select-" initially instead of the first value of the data it is bound to.  How do I do that? I'm a newbie. Is there any way to do this by using the control tasks items instead of goin directly to the source code? For example, I would like to display it in the example on p.89. Instead of displaying the first Country, I want it to say "-Select-".<br/><br/>Thanks!]]></description>
<pubDate>Wed, 31 Mar 2010 19:32:03 GMT</pubDate>
</item>
<item>
<link>http://www.kencox.ca/forum/messages.aspx?TopicID=136</link>
<title>Message from Ken Cox</title>
<description><![CDATA[I got to writing tonight and ended up with a story - <A href="http://www.kencox.ca/about.aspx" target="_blank" rel="nofollow">about me</a>.<br/><br/>Everyone has a story to tell, so why not get it out there before someone else publishes the truth! <img src="images/smilies/smile.gif" border=0><br/><em>edited by Ken Cox on 3/24/2010</em>]]></description>
<pubDate>Wed, 24 Mar 2010 02:28:48 GMT</pubDate>
</item>
<item>
<link>http://www.kencox.ca/forum/messages.aspx?TopicID=135</link>
<title>Message from Ken Cox</title>
<description><![CDATA[<b>fxs</b> wrote:<br><div class=quote>Hi again,<br/><br/>The Button ID does not work unless you add <b>onclick="Button1_Click"</b> figured that out when I downloaded your code. What I don't get is, when I look into the properties there is no onclick only a onclientclick which doesn't work like the onclick. So where does the onclick come from?</div><br/><br/>I'm surprised that you're not seeing the OnClick event. It appears with a lightning bolt icon in my IDE. OnClientClick appears next to it in Intellisense. <br/><br/>If you're using the Properties page (F4) to get at the event, you might need to move into Design view and then click the lightning bolt icon to get the list of server-side events.<br/><br/>Does that  help at all?<br/><br/>Ken]]></description>
<pubDate>Tue, 23 Mar 2010 16:34:30 GMT</pubDate>
</item>
<item>
<link>http://www.kencox.ca/forum/messages.aspx?TopicID=135</link>
<title>Message from fxs</title>
<description><![CDATA[Hi again,<br/><br/>The Button ID does not work unless you add <b>onclick="Button1_Click"</b> figured that out when I downloaded your code. What I don't get is, when I look into the properties there is no onclick only a onclientclick which doesn't work like the onclick. So where does the onclick come from?<br/><br/>Thanks]]></description>
<pubDate>Fri, 12 Mar 2010 14:14:45 GMT</pubDate>
</item>
<item>
<link>http://www.kencox.ca/forum/messages.aspx?TopicID=134</link>
<title>Message from fxs</title>
<description><![CDATA[Gotcha! <img src="images/smilies/smile.gif" border=0>]]></description>
<pubDate>Fri, 12 Mar 2010 14:10:24 GMT</pubDate>
</item>
<item>
<link>http://www.kencox.ca/forum/messages.aspx?TopicID=134</link>
<title>Message from Ken Cox</title>
<description><![CDATA[The idea is to have a slightly different version of the image so that there's a visible indication that the mouse has passed over and back out. <br/><br/>It's fairly common to have an image button that glows (or otherwise changes appearance) on a mouse action. It's a simple little demo, similar to the one you see here:<br/><br/><a href="http://www.designplace.org/static/rollover_button_example.html" target="_blank" rel="nofollow">http://www.designplace.org/static/rollover_button_example.html</a><br/><br/>It's not meant to be deep or anything so I'd say you're not missing anything. &lt;grin&gt;<br/><br/>Ken]]></description>
<pubDate>Tue, 09 Mar 2010 11:59:11 GMT</pubDate>
</item>
<item>
<link>http://www.kencox.ca/forum/messages.aspx?TopicID=134</link>
<title>Message from fxs</title>
<description><![CDATA[Hi Ken,<br/><br/>The exercise you propose on rollovers using your picture has got me confused, namely the pictures are a different shade to begin with. If I use any other two pics of the same shade the trick does not work. So what is the point if I have to photoshop a copy of the picture I wan to to create a rollover effect for? What am I missing here?<br/><br/>Thanks,<br/><br/>Fed]]></description>
<pubDate>Mon, 08 Mar 2010 14:48:54 GMT</pubDate>
</item>
<item>
<link>http://www.kencox.ca/forum/messages.aspx?TopicID=133</link>
<title>Message from fxs</title>
<description><![CDATA[Ha! You were spot on! I downloaded the db from you and it worked. I guess the one on the MS site must be corrupt.<br/><br/>Thanks!]]></description>
<pubDate>Fri, 05 Mar 2010 16:38:56 GMT</pubDate>
</item>
<item>
<link>http://www.kencox.ca/forum/messages.aspx?TopicID=133</link>
<title>Message from Ken Cox</title>
<description><![CDATA[Hi!<br/><br/>Sorry you're having difficulty. <br/><br/>I'm not sure what the problem could be, but could you try downloading and installing the <A href="http://kencox.ca/downloads.aspx" target="_blank" rel="nofollow">source code</a> for the Chapter 9 to see if that database works on your machine?<br/><br/>Make sure your project has a web.config file in it, 'cause that's where the connection info is stored. If you send me the web.config, I might be able to see what's causing the failure.<br/><br/>Thanks,<br/><br/>Ken]]></description>
<pubDate>Fri, 05 Mar 2010 15:49:32 GMT</pubDate>
</item>
<item>
<link>http://www.kencox.ca/forum/messages.aspx?TopicID=133</link>
<title>Message from fxs</title>
<description><![CDATA[Hi Ken,<br/><br/>Great book! Congrats! Now for the problem...<br/><br/>When I click next after configuring the data source in the AccessDataSource control I get the following error; <br/><br/>"Database schema could not be retrieved for this connection. Please make sure the connection settings are correct and that the database is online. Cannot open database"<br/><br/>Likewise if I double click the db in Solution Explorer I get "Cannot Open Database."<br/><br/>I am running XP SP3, Access 2007, and VS 2008 Team Edition.<br/><br/>Can you help?<br/><br/>PS<br/><br/>I also tried converting the db to access 2007 but that did not work either, same error.<br/><br/>Thanks]]></description>
<pubDate>Fri, 05 Mar 2010 15:25:01 GMT</pubDate>
</item>
<item>
<link>http://www.kencox.ca/forum/messages.aspx?TopicID=132</link>
<title>Message from martinz</title>
<description><![CDATA[Problem solved, shame on me <img src="images/smilies/wink.gif" border=0>.<br/><br/>I've skipped the not so unimportant point 6 on pg 81:<br/>"CHoose the Customers table"<br/><br/>So I've left the selection at the 1st table on top, and it seems that it was empty.<br/><br/>Now the Advanced box isn't greyed out anymore, and everything works smoothly.<br/><br/>Sorry for the disturbance.]]></description>
<pubDate>Thu, 28 Jan 2010 17:17:29 GMT</pubDate>
</item>
<item>
<link>http://www.kencox.ca/forum/messages.aspx?TopicID=132</link>
<title>Message from martinz</title>
<description><![CDATA[Dear Ken,<br/>at first thanks for your great book, it really eases my way into the last release of the .Net World.<br/><br/>My problem:<br/>-) I downloaded the Sample Databases from MS, no problem there.<br/>-) I attach the DB-File northwind.mdf<br/>-) I draw a SQL Data Source into the form<br/>-) But when I click on the advanced button, both options are greyed out.<br/><br/><br/>Do I have to enable wrte access to the database somehow?<br/><br/>The test query works fine, but I can just select, not do any changes to the table.<br/><br/>TIA, Martin]]></description>
<pubDate>Thu, 28 Jan 2010 14:06:51 GMT</pubDate>
</item>
<item>
<link>http://www.kencox.ca/forum/messages.aspx?TopicID=131</link>
<title>Message from Ken Cox</title>
<description><![CDATA[Hi Christian,<br/><br/>I wasn't aware of the Portuguese version until a reader contacted me. It looks like the publisher did a bad job on transcribing the code snippets. You've found some of the typos and there are obviously more.<br/><br/>If you go to this page and enter 68 (as the page number) and click GO, you'll see the correct source code:<br/><br/><a href="http://kencox.ca/sourcecode.aspx" target="_blank" rel="nofollow">http://kencox.ca/sourcecode.aspx</a><br/><br/>You can also download the complete code for the chapter here:<br/><br/><a href="http://www.kencox.ca/samplecode/195925_CH05_Code.zip" target="_blank" rel="nofollow">http://www.kencox.ca/samplecode/195925_CH05_Code.zip</a><br/><br/>I'm sorry about the mistakes. If I had been given a chance, I'd have checked the manuscript.<br/><br/>Ken]]></description>
<pubDate>Fri, 22 Jan 2010 16:08:21 GMT</pubDate>
</item>
<item>
<link>http://www.kencox.ca/forum/messages.aspx?TopicID=131</link>
<title>Message from thered</title>
<description><![CDATA[Hello, Ken<br/><br/>Some errors ocurred in the script of this part in chapter 5.<br/>First, in the following script (in bold):<br/><br/>If Not IsPostBack Then<br/>            Dim arrlGames As New ArrayList<br/>            arrlGames.Add("Scrabble")<br/>            arrlGames.Add("Crosswords")<br/>            arrlGames.Add("Wonderwords")<br/>            arrlGames.Add("Sudoku")<br/>            arrlGames.Sort()<br/>            <b>CheckBoxList!</b>.DataSource = arrlGames<br/>            <b>CheckBoxList!</b>.DataBind()<br/>        End If<br/><br/>I think the correct script is:<br/><br/>If Not IsPostBack Then<br/>            Dim arrlGames As New ArrayList<br/>            arrlGames.Add("Scrabble")<br/>            arrlGames.Add("Crosswords")<br/>            arrlGames.Add("Wonderwords")<br/>            arrlGames.Add("Sudoku")<br/>            arrlGames.Sort()<br/>            <b>CheckBoxList1</b>.DataSource = arrlGames<br/>            <b>CheckBoxList1</b>.DataBind()<br/>        End If<br/><br/>Also, a script error was found in the script of the button.<br/><br/>Dim strSel As String = " "<br/>        For Each chbx As ListItem In CheckBoxList1.Items<br/>            If chbx.Selected Then<br/>                strSel = <b>srtSel</b> & chbx.Text & "&lt;br/&gt;"<br/>            End If<br/>        Next<br/>        Label1.Text = strSel<br/><br/>According to the program, the error is in the 4th line: strSel = srtSel & chbx.Text & "&lt;br/&gt;", concerning about the srtSel. The message in visual basic is that wam not declared.<br/><br/>Could you check, please what is going on?<br/><br/>My book version is the Portuguese Version. The scripts I mentioned are on page 68.<br/><br/>Thanks<br/><br/>Christian<br/><em>edited by thered on 1/15/2010</em>]]></description>
<pubDate>Fri, 15 Jan 2010 05:49:03 GMT</pubDate>
</item>
<item>
<link>http://www.kencox.ca/forum/messages.aspx?TopicID=130</link>
<title>Message from Ken Cox</title>
<description><![CDATA[Depending on the type of project you used to create the Web, Visual Studio may not include all the references that you require for the C# version of the code on Page 119. The symptom is the following error message:<br/><br/>CS1935: Could not find an implementation of the query pattern for source type 'System.Collections.Generic.IEnumerable&lt;System.Xml.Linq.XElement&gt;'. 'Where' not found. Are you missing a reference to 'System.Core.dll' or a using directive for 'System.Linq'?<br/><br/>The fix is to add the following reference at the top of the page:<br/><br/>&lt;%@ Import Namespace="System.Linq" %&gt;<br/><br/>An alternate fix is to ensure that the web.config file references all of the namespaces by including this in the     &lt;system.web&gt; section:<br/><br/>       &lt;pages&gt;<br/>            &lt;namespaces&gt;<br/>                &lt;clear/&gt;<br/>                &lt;add namespace="System"/&gt;<br/>                &lt;add namespace="System.Collections"/&gt;<br/>                &lt;add namespace="System.Collections.Generic"/&gt;<br/>                &lt;add namespace="System.Collections.Specialized"/&gt;<br/>                &lt;add namespace="System.Configuration"/&gt;<br/>                &lt;add namespace="System.Text"/&gt;<br/>                &lt;add namespace="System.Text.RegularExpressions"/&gt;<br/>                &lt;add namespace="System.Linq"/&gt;<br/>                &lt;add namespace="System.Xml.Linq"/&gt;<br/>                &lt;add namespace="System.Web"/&gt;<br/>                &lt;add namespace="System.Web.Caching"/&gt;<br/>                &lt;add namespace="System.Web.SessionState"/&gt;<br/>                &lt;add namespace="System.Web.Security"/&gt;<br/>                &lt;add namespace="System.Web.Profile"/&gt;<br/>                &lt;add namespace="System.Web.UI"/&gt;<br/>                &lt;add namespace="System.Web.UI.WebControls"/&gt;<br/>                &lt;add namespace="System.Web.UI.WebControls.WebParts"/&gt;<br/>                &lt;add namespace="System.Web.UI.HtmlControls"/&gt;<br/>            &lt;/namespaces&gt;<br/>            &lt;controls&gt;<br/>                &lt;add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/&gt;<br/>                &lt;add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/&gt;<br/>            &lt;/controls&gt;<br/>        &lt;/pages&gt;<br/><br/>Ken]]></description>
<pubDate>Tue, 22 Dec 2009 13:21:20 GMT</pubDate>
</item>
<item>
<link>http://www.kencox.ca/forum/messages.aspx?TopicID=21</link>
<title>Message from paddyinuae</title>
<description><![CDATA[Hi Ken,<br/><br/>Thanks for the amazingly prompt reply - you should do this as a business :-)!<br/><br/>All fixed - it works like a charm.<br/>I probably would never have figured out the syntax to that import statement.<br/><br/>Thanks very much for the help, and great book btw.<br/>It's made all the better for the eratta (minor though it is), download chapter code, and this forum.<br/>Well done, and thanks again.<br/><br/>Ian.]]></description>
<pubDate>Thu, 03 Dec 2009 22:11:30 GMT</pubDate>
</item>
<item>
<link>http://www.kencox.ca/forum/messages.aspx?TopicID=21</link>
<title>Message from Ken Cox</title>
<description><![CDATA[<b>paddyinuae</b> wrote:<br><div class=quote>I've tried all sorts of techniques and I've pasted that import directive just about everywhere, but still can't get the examples to work with code behind. </div><br/><br/>Hi Ian,<br/><br/>Could you post the code that's not working? <br/><br/>In the codebehind, you use the Imports statement with a different syntax:<br/><br/><b>Imports System.Linq</b><br/><br/>Partial Class linqtest<br/>    Inherits System.Web.UI.Page<br/>    Protected Sub Page_Load _<br/>    (ByVal sender As Object, ByVal e As System.EventArgs) _<br/>      Handles Me.Load<br/>        Dim q = From f In System.Drawing.FontFamily.Families<br/>        For Each fnt In q<br/>            Response.Write(fnt.Name & "&lt;br /&gt;")<br/>        Next<br/>    End Sub<br/>End Class<br/><br/>Does the preceding work for you?<br/><br/>Ken]]></description>
<pubDate>Thu, 03 Dec 2009 12:05:24 GMT</pubDate>
</item>
<item>
<link>http://www.kencox.ca/forum/messages.aspx?TopicID=21</link>
<title>Message from paddyinuae</title>
<description><![CDATA[Greetings.<br/><br/>I've looked through the FAQs, and I apologize in advance if this is a dumb question.  As it's to do with LINQ and code behind files, I though here would be an opportune place to raise the question.  <br/><br/>I notice that all examples use the "single page model" of coding.  I've successfully followed the examples in the book, but would like to use the ""code behind model" of coding.  I've tried all sorts of techniques and I've pasted that import directive just about everywhere, but still can't get the examples to work with code behind.  <br/><br/>Can it be done, and if so, how difficult is it?<br/><br/>Thanks in anticipation.<br/><br/>Ian.]]></description>
<pubDate>Thu, 03 Dec 2009 08:54:33 GMT</pubDate>
</item>
<item>
<link>http://www.kencox.ca/forum/messages.aspx?TopicID=129</link>
<title>Message from Ken Cox</title>
<description><![CDATA[Step 6 on Page 171 should be deleted as it duplicates Step 4 on Page 170.]]></description>
<pubDate>Thu, 19 Nov 2009 16:00:30 GMT</pubDate>
</item>
<item>
<link>http://www.kencox.ca/forum/messages.aspx?TopicID=128</link>
<title>Message from jason palmer</title>
<description><![CDATA[Ken,<br/><br/>Think I saw this much earlier in the examples as well, will let you know when I find problems, they all very minor so can see how they slipped in.<br/><br/>regards<br/><br/>JP]]></description>
<pubDate>Thu, 19 Nov 2009 09:13:25 GMT</pubDate>
</item>
<item>
<link>http://www.kencox.ca/forum/messages.aspx?TopicID=127</link>
<title>Message from jason palmer</title>
<description><![CDATA[I was a bit confused about how to get the kit working, this made it clearer<br/><br/><a href="http://forums.asp.net/t/1484972.aspx" target="_blank" rel="nofollow">http://forums.asp.net/t/1484972.aspx</a><br/><br/>"I am using Visual Web Developer 2008 Express also and downloaded the Small Business Starter kit.<br/><br/>I double clicked the SmallBusiness.vsi file and it ran the install.<br/><br/>Next, opened Visual Web Developer.<br/><br/>On the Start Page selected Create Web Site.<br/><br/>On the Create Web Site box that opens you will see Templates at the bottom.<br/><br/>If installed correctly, you will see SmallBusiness as an option.<br/><br/>Selected it and since we are using VWD2008/ASP.NET 3.5 it will ask to convert the template from 2.0 to 3.5, select yes.<br/><br/>It then opens the entire "project".<br/><br/>There are directions on how to use it, once it is opened.<br/><br/><br/><br/><br/>Already started modifying it, works great."]]></description>
<pubDate>Thu, 19 Nov 2009 08:50:49 GMT</pubDate>
</item>
<item>
<link>http://www.kencox.ca/forum/messages.aspx?TopicID=126</link>
<title>Message from jason palmer</title>
<description><![CDATA[default.aspx complained about not having a sqldatasource1 and the App_Data folder is missing a database, I copied the one over from chapter 6 and put a sqldatasource on the form, but, for those new to programming,this could be scary]]></description>
<pubDate>Thu, 19 Nov 2009 05:44:19 GMT</pubDate>
</item>
<item>
<link>http://www.kencox.ca/forum/messages.aspx?TopicID=125</link>
<title>Message from jason palmer</title>
<description><![CDATA[Ken,<br/><br/>checkcolour.aspx not working<br/><br/>but<br/><br/>rgbservice.asmx is<br/><br/>so not sure of the cause, if I do checkcolour with debug i get<br/><br/>The request failed with HTTP status 404: Not Found.]]></description>
<pubDate>Thu, 19 Nov 2009 05:26:40 GMT</pubDate>
</item>
</channel>
</rss>
