<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>p2p.wrox.com Forums - BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio</title>
		<link>http://p2p.wrox.com</link>
		<description>This is the forum to discuss the Wrox book ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solution by Vincent Varallo; ISBN: 9780470396865 Read more about ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solution  or buy the book from your favorite retailerDownload the code for ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solution Buy chapters from this book in PDF</description>
		<language>en</language>
		<lastBuildDate>Sat, 21 Nov 2009 15:00:05 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://p2p.wrox.com/images/misc/rss.jpg</url>
			<title>p2p.wrox.com Forums - BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio</title>
			<link>http://p2p.wrox.com</link>
		</image>
		<item>
			<title>Error CS0508 - Chapter 6</title>
			<link>http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio/77108-error-cs0508-chapter-6-a.html</link>
			<pubDate>Fri, 20 Nov 2009 16:23:05 GMT</pubDate>
			<description>Hi,

I have made it through to Chapter 6 a little scarred but still plodding on. I get the above error when compiling and it relates to...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I have made it through to Chapter 6 a little scarred but still plodding on. I get the above error when compiling and it relates to ErrorPage.aspx.cs and states that in line 31 'ErrorPage.CapabilityNames()': return type must be 'string[]' to match overridden member 'BasePage.CapabilityNames()'<br />
<br />
If I remove the [] after string on line 51 of BasePage.cs, public abstract string[] CapabilityNames();<br />
<br />
I get that it cannot convert type 'char' to 'string'<br />
<br />
All the other projects build ok it;s just the UI I am having issues with at the moment.<br />
<br />
Help greatly received...I must finsih this book/framework soon.<br />
<br />
Gilbo</div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio-477/">BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio</category>
			<dc:creator>Gilbo79</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio/77108-error-cs0508-chapter-6-a.html</guid>
		</item>
		<item>
			<title>Form based authentication</title>
			<link>http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio/77106-form-based-authentication.html</link>
			<pubDate>Fri, 20 Nov 2009 15:38:44 GMT</pubDate>
			<description>Hello, I am wondering how hard it is to use form based authentication instead of windows authentication. I read a post here on that but couldnt get...</description>
			<content:encoded><![CDATA[<div>Hello, I am wondering how hard it is to use form based authentication instead of windows authentication. I read a post here on that but couldnt get an answer, I dont want mixed mode.<br />
I tried following instructions for a form based authentication project, but i always get the message:<br />
Unable to start debugging on the web server. Debugging failed because integrated windows authentication is not enabled....<br />
<br />
I would assume that the only thing I need to change to get rid of this message and proceed with the rest of necessary changes in the project was to change the web.config authentication mode to Forms...<br />
<br />
What else needs to be changed to allow me to continue debugging to proceed with more changes in the project?<br />
<br />
Thanks to the author for this excellent book, it seems like it will be very usefull especially the code and the code generator...</div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio-477/">BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio</category>
			<dc:creator>efilippou</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio/77106-form-based-authentication.html</guid>
		</item>
		<item>
			<title>Submitting Leave Request</title>
			<link>http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio/77078-submitting-leave-request.html</link>
			<pubDate>Wed, 18 Nov 2009 15:16:52 GMT</pubDate>
			<description>Hi Vin,

I have a copy of your book and I must say you are a Guru.

However I have one issue with the application you used to show your framework....</description>
			<content:encoded><![CDATA[<div>Hi Vin,<br />
<br />
I have a copy of your book and I must say you are a Guru.<br />
<br />
However I have one issue with the application you used to show your framework. The application only allows a user to request for only one day at a time. It does not allow a user to make a request from a specific date to another date (E.g from 10/10/2009-15/10/2009).<br />
<br />
Is there a way I can incorparate this into the app?<br />
<br />
Thanks.<br />
<br />
<br />
Francis.</div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio-477/">BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio</category>
			<dc:creator>Kweku</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio/77078-submitting-leave-request.html</guid>
		</item>
		<item>
			<title><![CDATA[DuplicateCheck' is inaccessible due to it's protection level]]></title>
			<link>http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio/77074-duplicatecheck-inaccessible-due-its-protection-level.html</link>
			<pubDate>Wed, 18 Nov 2009 13:33:09 GMT</pubDate>
			<description><![CDATA[I am working thru chapter 3. On page 64, I add the IsDuplicate method. This contains a reference to Execute<DuplicateCheck...

When I compile I get...]]></description>
			<content:encoded><![CDATA[<div>I am working thru chapter 3. On page 64, I add the IsDuplicate method. This contains a reference to Execute&lt;DuplicateCheck...<br />
<br />
When I compile I get this error message<br />
    DuplicateCheck' is inaccessible due to it's protection level<br />
<br />
I downloaded chtr 3 code. <br />
<br />
I added :<br />
      DuplicateCheck.cs to the DAL<br />
<br />
      The two overloads I found in the ENTBaseData.cs<br />
           protected static bool IsDuplicate(...<br />
<br />
Has anyone else run into this?...and found a fix?</div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio-477/">BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio</category>
			<dc:creator>stevekeefe@comcast.net</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio/77074-duplicatecheck-inaccessible-due-its-protection-level.html</guid>
		</item>
		<item>
			<title>Error on the page 173</title>
			<link>http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio/77046-error-page-173-a.html</link>
			<pubDate>Mon, 16 Nov 2009 00:27:29 GMT</pubDate>
			<description>On page 173, the MapEntityToCustomProperties(IENBaseEntity entity) in ENTRoleEO class is different from the downloadable source code.

In the...</description>
			<content:encoded><![CDATA[<div>On page 173, the MapEntityToCustomProperties(IENBaseEntity entity) in ENTRoleEO class is different from the downloadable source code.<br />
<br />
In the book:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">protected override void MapEntityToCustomProperties(IENTBaseEntity entity)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ENTRole role = (ENTRole)entity;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ID = role.ENTRoleId;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RoleName = role.RoleName;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <b><font color="Red"> RoleCapabilities.Load(ID);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RoleUserAccounts.Load(ID);</font></b><br />
&nbsp; &nbsp; &nbsp; &nbsp; }</code><hr />
</div>In the downloadable source code:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">protected override void MapEntityToCustomProperties(IENTBaseEntity entity)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ENTRole role = (ENTRole)entity;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ID = role.ENTRoleId;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RoleName = role.RoleName;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <b><font color="Red"> RoleCapabilities.LoadByENTRoleId(ID);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RoleUserAccounts.LoadByEntRoleId(ID);</font></b><br />
&nbsp; &nbsp; &nbsp; &nbsp; }</code><hr />
</div>Is that the typo? Which one is correct?<br />
<br />
Thanks!</div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio-477/">BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio</category>
			<dc:creator>ocn</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio/77046-error-page-173-a.html</guid>
		</item>
		<item>
			<title>How to handle one-to-one relationship in Save() method?</title>
			<link>http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio/77045-how-handle-one-one-relationship-save-method.html</link>
			<pubDate>Mon, 16 Nov 2009 00:04:19 GMT</pubDate>
			<description>The pages 173 and 174 in the book show how save the record to the tables with one-to-many relationship. I understand the pattern here, and it works...</description>
			<content:encoded><![CDATA[<div>The pages 173 and 174 in the book show how save the record to the tables with one-to-many relationship. I understand the pattern here, and it works well for me. However, I would like to save a record to the tables with one-to-one relationship. I tried, but I could not get it working. How would I implement the save() and LoadObjectFromScreen () to handle one-to-one relationship? Please help me if you know how.<br />
<br />
Thank you for your help.</div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio-477/">BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio</category>
			<dc:creator>ocn</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio/77045-how-handle-one-one-relationship-save-method.html</guid>
		</item>
		<item>
			<title>LoadScreenFromObject - Urgent help, please!</title>
			<link>http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio/77012-loadscreenfromobject-urgent-help-please.html</link>
			<pubDate>Fri, 13 Nov 2009 04:38:11 GMT</pubDate>
			<description><![CDATA[I need some help with LoadScreenFromObject() method. I am available to save data from the controls to database. However, I can't retrieve data from...]]></description>
			<content:encoded><![CDATA[<div>I need some help with LoadScreenFromObject() method. I am available to save data from the controls to database. However, I can't retrieve data from the database and map the data to the controls. Below are the codes for the two methods.<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><br />
&nbsp;protected override void LoadObjectFromScreen(tblUserEO baseEO)<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; baseEO.UserName = txtUserName.Text;<br />
&nbsp; &nbsp; &nbsp; &nbsp; baseEO.UserPassword = txtPassword.Text;<br />
&nbsp; &nbsp; &nbsp; &nbsp; baseEO.UserType = Convert.ToInt32(txtUserType.Text);<br />
&nbsp; &nbsp; &nbsp; &nbsp; baseEO.IsActive = ckbIsActive.Checked;<br />
&nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; protected override void LoadScreenFromObject(tblUserEO baseEO)<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; txtUserName.Text = baseEO.UserName;<br />
&nbsp; &nbsp; &nbsp; &nbsp; txtPassword.Text = baseEO.UserPassword;<br />
&nbsp; &nbsp; &nbsp; &nbsp; txtUserType.Text = Convert.ToString(baseEO.UserType);<br />
&nbsp; &nbsp; &nbsp; &nbsp; ckbIsActive.Checked = baseEO.IsActive;<br />
&nbsp; &nbsp; &nbsp; &nbsp; ViewState[VIEW_STATE_KEY_USER] = baseEO;<br />
&nbsp; &nbsp; }</code><hr />
</div>I debugged the codes, and the return values of baseEO.UserName, baseEO.UserPassword, and baseEO.UserType from LoadScreenFromObject() are null. Am I am missing from something?<br />
<br />
<b>Another question:</b><br />
<br />
I would like to retrieve UserName and Password from the tblUser table. What would be the good way to do so? Do I have to write internal methods to select those values in tblUserEO class?<br />
<br />
I truly appreciate if you can give me some suggestions.</div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio-477/">BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio</category>
			<dc:creator>ocn</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio/77012-loadscreenfromobject-urgent-help-please.html</guid>
		</item>
		<item>
			<title>Query Builder Help</title>
			<link>http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio/76972-query-builder-help.html</link>
			<pubDate>Mon, 09 Nov 2009 21:58:20 GMT</pubDate>
			<description>Having a problem with the Query Builder. I can get all the way to the ReportQuery.aspx but when i click the Preview button I get the following. 
...</description>
			<content:encoded><![CDATA[<div>Having a problem with the Query Builder. I can get all the way to the ReportQuery.aspx but when i click the Preview button I get the following. <br />
 <br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><font size="2"><font color="#0000ff"><br />
if</font></font><font size="2"><font color="#000000"> (QueryBuilder1.GetWhereClause(</font></font><font size="2"><font color="#0000ff">ref</font></font><font size="2"><font color="#000000"> whereClause, </font></font><font size="2"><font color="#0000ff">ref</font></font><font size="2"><font color="#000000"> validationErrors))</font><br />
{<br />
</font><font size="2"><font color="#2b91af">ENTReportBO</font></font><font size="2"> currentReport = CurrentReport;<br />
</font><font size="2"><font color="#2b91af">ReportDocument</font></font><font size="2"> report = </font><font size="2"><font color="#0000ff">new</font></font><font size="2"><font color="#2b91af">ReportDocument</font></font><font size="2">();<br />
report.Load(Server.MapPath(currentReport.FileName));<br />
</font><font size="2"><font color="#2b91af">Type</font></font><font size="2"> objectType = </font><font size="2"><font color="#2b91af">Type</font></font><font size="2">.GetType(currentReport.ObjectName);<br />
</font><font size="2"><font color="#0000ff">object</font></font><font size="2"> listObject = </font><font size="2"><font color="#2b91af">Activator</font></font><font size="2">.CreateInstance(objectType);</font><br />
&nbsp;<br />
<font size="2">//This is where it fails<br />
</font><font size="2"><font color="#0000ff">object</font></font><font size="2">[] data = (</font><font size="2"><font color="#0000ff">object</font></font><font size="2">[])objectType.InvokeMember(</font><font size="2"><font color="#a31515">&quot;Select&quot;</font></font><font size="2">, </font><font size="2"><font color="#2b91af">BindingFlags</font></font><font size="2">.InvokeMethod, </font><font size="2"><font color="#0000ff">null</font></font><font size="2">, listObject, </font><font size="2"><font color="#0000ff">new</font></font><font size="2"><font color="#0000ff">object</font></font><font size="2">[] { whereClause });<br />
</font></code><hr />
</div>I get the following error:<br />
&quot;Exception has been thrown by the target of an invocation.&quot;<br />
 <br />
The debugger shows that the data object is null. The SQL that I used in the DAL QueryData file uses a good amount of aggregate functions. Do you think this is the cause. I have looked and doubled check all that I can think of. Also, I added a query filed that is not pulled by the selet statement, but I cant include that field in the Select statement because it has to be apart of an aggregate function which isnt possible (datetime). Any help is appreciated. <br />
 <br />
Thanks</div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio-477/">BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio</category>
			<dc:creator>ZeroFactorial</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio/76972-query-builder-help.html</guid>
		</item>
		<item>
			<title>Chapter 5</title>
			<link>http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio/76932-chapter-5-a.html</link>
			<pubDate>Fri, 06 Nov 2009 14:59:23 GMT</pubDate>
			<description><![CDATA[Hi All,

Working my way through the book and I've come across a problem trying to implement the Exception Handling.

Page 129, editing the registry...]]></description>
			<content:encoded><![CDATA[<div>Hi All,<br />
<br />
Working my way through the book and I've come across a problem trying to implement the Exception Handling.<br />
<br />
Page 129, editing the registry and adding ASPNET as a user for the eventlog, well, ASPNET does not exist as a user. I have Windows 7 Ultimate, VS 2008 Standard, SQL 2005 Exp, IIS7 with IIS6 bits installed. <br />
<br />
I have run aspnet_regsql and used the same db as my solution, have also run aspnet_regiis to ensure that is all ok too.<br />
<br />
Any direction would be greatfully received.<br />
<br />
Gilbo</div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio-477/">BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio</category>
			<dc:creator>Gilbo79</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio/76932-chapter-5-a.html</guid>
		</item>
		<item>
			<title>Chapter 7 WorkflowTransition.aspx</title>
			<link>http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio/76920-chapter-7-workflowtransition-aspx.html</link>
			<pubDate>Thu, 05 Nov 2009 16:20:14 GMT</pubDate>
			<description>Chapter 7 WorkflowTransition.aspx page has the following method:

private void LoadMethodDropDownList(int entWorkflowId)
{
ENTWorkflowEO workflow =...</description>
			<content:encoded><![CDATA[<div>Chapter 7 WorkflowTransition.aspx page has the following method:<br />
<br />
private void LoadMethodDropDownList(int entWorkflowId)<br />
{<br />
ENTWorkflowEO workflow = new ENTWorkflowEO();<br />
if (workflow.Load(entWorkflowId))<br />
{<br />
//Create an instance of the type.<br />
MethodInfo[] methods = Type.GetType(workflow.ENTWorkflowObjectName).GetMe  thods(<br />
BindingFlags.Instance | BindingFlags.DeclaredOnly | BindingFlags.Public );<br />
//Load the methods for this workflow that return a boolean value into the<br />
//conditions drop down list.<br />
foreach (MethodInfo mi in methods)<br />
{<br />
//Only methods that take a parameter of a data context can be used.<br />
ParameterInfo[] parameters = mi.GetParameters();<br />
if (parameters.Length == 1)<br />
{<br />
if (parameters[0].ParameterType ==<br />
typeof(V2.PaidTimeOffDAL.HRPaidTimeOffDataContext)  )<br />
{<br />
ddlPostTransitionMethodName.Items.Add(mi.Name);<br />
}<br />
}<br />
}<br />
ddlPostTransitionMethodName.Items.Insert(0, );<br />
}<br />
else<br />
{<br />
throw new Exception(The workflow can not be found in the database.);<br />
}<br />
}<br />
<br />
Unless I reference this UI project to the DAL project, this code , typeof(V2.PaidTimeOffDAL.HRPaidTimeOffDataContext)  , will not work.<br />
<br />
I am surprised that no one has this issue yet.  Is there a fix beside reference the UI project to the DAL project?</div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio-477/">BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio</category>
			<dc:creator>namkha</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio/76920-chapter-7-workflowtransition-aspx.html</guid>
		</item>
		<item>
			<title>Implementation of Presentation Layer. Please Help!</title>
			<link>http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio/76911-implementation-presentation-layer-please-help.html</link>
			<pubDate>Thu, 05 Nov 2009 05:27:03 GMT</pubDate>
			<description>I would like to use standard ASP.NET controls like Gridview, Textbox, etc. rather the custom girdview mentioned in the book in Chapter 4. How would I...</description>
			<content:encoded><![CDATA[<div>I would like to use standard ASP.NET controls like Gridview, Textbox, etc. rather the custom girdview mentioned in the book in Chapter 4. How would I invoke methods directly from BLL and DAL classes to get data listed on the standard gridview? In other words, if I don't want to use BasePage and BaseEditPage, is there a direct way to invoke entities in the codes behind of aspx pages? If so, please show me an example or sample.<br />
<br />
I want to do something in Page_load method like:<br />
<br />
ENTUserAccountEO userAccount = new ENTUserAccount();<br />
<br />
txtWindowsAccount.Text = userAccount.WindowsAccountName<br />
<br />
.....<br />
<br />
I truly appreciate your help.</div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio-477/">BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio</category>
			<dc:creator>ocn</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio/76911-implementation-presentation-layer-please-help.html</guid>
		</item>
		<item>
			<title>UI chapter 4</title>
			<link>http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio/76900-ui-chapter-4-a.html</link>
			<pubDate>Wed, 04 Nov 2009 17:09:33 GMT</pubDate>
			<description><![CDATA[Hi,
I've been through chapters 1 to 3 and all ok but am, like others having issues with chapter 4.

I have been through other posts relating to this...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
I've been through chapters 1 to 3 and all ok but am, like others having issues with chapter 4.<br />
<br />
I have been through other posts relating to this and have made changes as instructed but still get some errors when trying to rebuild or build the BLL.<br />
<br />
Error	1	'XXX.XxxDAL.Framework.ENTUserAccountData' does not contain a definition for 'IsDuplicateWindowsAccountName' and no extension method 'IsDuplicateWindowsAccountName' accepting a first argument of type 'XXX.XxxDAL.Framework.ENTUserAccountData' could be found (are you missing a using directive or an assembly reference?)	C:\Users\Andrew\Documents\Visual Studio 2008\Projects\Xxx.net Solution\XXX.XxxBLL\Framework\ENTUserAcountEO.cs	85	36	XXX.XxxBLL<br />
<br />
Error	2	'XXX.XxxDAL.Framework.ENTUserAccountData' does not contain a definition for 'IsDuplicateEmail' and no extension method 'IsDuplicateEmail' accepting a first argument of type 'XXX.XxxDAL.Framework.ENTUserAccountData' could be found (are you missing a using directive or an assembly reference?)	C:\Users\Andrew\Documents\Visual Studio 2008\Projects\Xxx.net Solution\XXX.XxxBLL\Framework\ENTUserAcountEO.cs	111	40	XXX.XxxBLL<br />
<br />
Error	3	No overload for method 'Select' takes '2' arguments	C:\Users\Andrew\Documents\Visual Studio 2008\Projects\Xxx.net Solution\XXX.XxxBLL\Framework\ENTUserAcountEO.cs	189	42	XXX.XxxBLL<br />
<br />
<br />
the DAL compiles fine. The ENTUserAccountEO.cs has the following:<br />
<br />
using System;<br />
using System.Collections.Generic;<br />
using System.Linq;<br />
using System.Text;<br />
using XXX.XxxBLL;<br />
using XXX.XxxBLL.Framework;<br />
using XXX.XxxDAL;<br />
using XXX.XxxDAL.Framework;<br />
<br />
<br />
namespace XXX.XxxBLL.Framework<br />
<br />
then the code pasted from the sample files.<br />
<br />
Any help is greatly appreciated<br />
<br />
Gilbo</div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio-477/">BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio</category>
			<dc:creator>Gilbo79</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio/76900-ui-chapter-4-a.html</guid>
		</item>
		<item>
			<title>Code Generator</title>
			<link>http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio/76889-code-generator.html</link>
			<pubDate>Tue, 03 Nov 2009 21:40:39 GMT</pubDate>
			<description><![CDATA[Hello Every One


I am trying to implement code generator in vb.net & I have followed exact same steps for COM Interop & I have saved .vsz file in...]]></description>
			<content:encoded><![CDATA[<div>Hello Every One<br />
<br />
<br />
I am trying to implement code generator in <acronym title="vBulletin">vb</acronym>.net &amp; I have followed exact same steps for COM Interop &amp; I have saved .vsz file in the following location <br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">C:\Program Files\Microsoft Visual Studio 9.0\<acronym title="vBulletin">VB</acronym>\VBProjectItems</code><hr />
</div>When I am trying to add I am getting an error <b><font color="Red">Invalid at the top level of the document</font></b><br />
<br />
I am setting ComVisible to true as stated but still I am getting the above error.<br />
<br />
Is it something related language since I am trying to generate in <acronym title="vBulletin">vb</acronym> is something to do .....<br />
<br />
Thanks in advance<br />
Sandeep...</div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio-477/">BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio</category>
			<dc:creator>sandeepvin2</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio/76889-code-generator.html</guid>
		</item>
		<item>
			<title>start page</title>
			<link>http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio/76799-start-page.html</link>
			<pubDate>Wed, 28 Oct 2009 17:53:04 GMT</pubDate>
			<description><![CDATA[Could someone please tell me which page i should set up as start page? Thanks[:confused:]]]></description>
			<content:encoded><![CDATA[<div>Could someone please tell me which page i should set up as start page? Thanks[:confused:]</div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio-477/">BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio</category>
			<dc:creator>Philip8888</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio/76799-start-page.html</guid>
		</item>
		<item>
			<title>EOList Method not found</title>
			<link>http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio/76788-eolist-method-not-found.html</link>
			<pubDate>Tue, 27 Oct 2009 18:24:20 GMT</pubDate>
			<description>This has me scratching my head because I did the exact same thing in another project and it worked fine with no issues. Hopefully someone can see...</description>
			<content:encoded><![CDATA[<div>This has me scratching my head because I did the exact same thing in another project and it worked fine with no issues. Hopefully someone can see what I am over looking. <br />
 <br />
I am wanting to sort my cgv by a particular parameter. This is exactly what I did in the other project that works. <br />
 <ul><li>Created Stored Proc SelectByID</li>
<li>Dragged this SP onto the table in ORM</li>
<li>Created my Select statement in the Data class</li>
</ul><div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><font size="2"><font color="#0000ff"><br />
public</font></font><font size="2"><font color="#2b91af">List</font></font><font size="2"><font color="#000000">&lt;</font></font><font size="2"><font color="#2b91af">XData</font></font><font size="2"><font color="#000000">&gt; SelectByXId(</font></font><font size="2"><font color="#0000ff">int</font></font><font size="2"><font color="#000000"> XId)</font><br />
{<br />
</font><font size="2"><font color="#0000ff">using</font></font><font size="2"> (</font><font size="2"><font color="#2b91af">DataContext</font></font><font size="2"> db = </font><font size="2"><font color="#0000ff">new</font></font><font size="2"><font color="#2b91af">DataContext</font></font><font size="2">(</font><font size="2"><font color="#2b91af">DBHelper</font></font><font size="2">.GetConnectionString()))<br />
{<br />
</font><font size="2"><font color="#0000ff">return</font></font><font size="2"> db.SelectByXId(XId).ToList();<br />
}<br />
}<br />
</font></code><hr />
</div><ul><li>Add public method to my EOList</li>
</ul><div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><font size="2"><font color="#0000ff"><br />
public</font></font><font size="2"><font color="#0000ff">void</font></font><font size="2"><font color="#000000"> LoadByXId(</font></font><font size="2"><font color="#0000ff">int</font></font><font size="2"><font color="#000000"> XId)</font><br />
{<br />
LoadFromList(</font><font size="2"><font color="#0000ff">new</font></font><font size="2"><font color="#2b91af">XData</font></font><font size="2">().SelectXId(XId));<br />
}<br />
</font></code><hr />
</div><ul><li>On my page with cgv I rig it to the Loadmethod</li>
</ul><div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><font size="2"><br />
cgv.ListClassName = </font><font size="2"><font color="#0000ff">typeof</font></font><font size="2">(</font><font size="2"><font color="#2b91af">XEOList</font></font><font size="2">).AssemblyQualifiedName;<br />
cgv.LoadMethodName = </font><font size="2"><font color="#a31515">&quot;LoadXId&quot;</font></font><font size="2">;<br />
</font><font size="2"><font color="#008000">cgv.LoadMethodParameters.Add(XId.value);<br />
</font></font></code><hr />
</div>Code compiles fine. When the page that contains the cgv tries to render it states that the Method LoadXId can not be found...<br />
I have cleaned the solution and ensured that the, DAL, BLL, and UI all have the same libs and this still is happening. This worked in my other project, following the same procedures but no dice. Any ideas?</div>

]]></content:encoded>
			<category domain="http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio-477/">BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio</category>
			<dc:creator>ZeroFactorial</dc:creator>
			<guid isPermaLink="true">http://p2p.wrox.com/book-asp-net-3-5-enterprise-application-development-visual-studio-2008-problem-design-solutio/76788-eolist-method-not-found.html</guid>
		</item>
	</channel>
</rss>
