Search

You searched for the word(s): userid:530242

Matching Posts

  • Re: Lastest Version work with SQL Server?

    There are now THREE versions of TheBeerHouse -- the original one that works with ASP.NET 2.0, an ASP.NET 3.5 verion, and an MVC 1.0 version.
    Posted to TheBeerHouse Starter Kit (Forum) by Lee Dumond on 10/19/2009
  • Re: Lastest Version work with SQL Server?

    Which one did you download? If it's the ASP.NET 3.5 one, I believe the database is a seperate download. On the other two, I think it's in the App_Data folder.
    Posted to TheBeerHouse Starter Kit (Forum) by Lee Dumond on 10/19/2009
  • Re: converting BeerHouse to VB?

    [quote user="dotnetnoob"] Does anyone know of a "port" of BH from C# to VB that I could refer to? [/quote] A fully functional version of the BeerHouse in VB can be found here: (It is the second download link in the list) http://www.wrox.com/WileyCDA/WroxTitle/productCd-0764584642,descCd-DOWNLOAD.html
    Posted to TheBeerHouse Starter Kit (Forum) by Lee Dumond on 8/1/2009
  • Re: Form View Insert

    [quote user="march11"] But the PK in my table auto increments, I only need to push the required fields for the record Insert and the PK will increase by one. [/quote] I don't think that matters. You still need it to generate the full CRUD.
    Posted to Data Presentation Controls (Forum) by Lee Dumond on 7/17/2009
  • Re: Form View Insert

    [quote user="superguppie"]If I understand Lee Dumond well, you don't need the primary key on display in your FormView. Instead, you need to set the DataKeyNames property to the name of the field. Not sure what that is in the Wizard.[/quote] Yes, that's right. If you create the thing from scratch and include the PK in the SELECT, I'm pretty sure it automatically sets the DataKeynames property to the name of the PK. Can't exactly remember. ;-)
    Posted to Data Presentation Controls (Forum) by Lee Dumond on 7/17/2009
  • Re: Form View Insert

    You're marking your own response as the answer? Seriously?
    Posted to Data Presentation Controls (Forum) by Lee Dumond on 7/17/2009
  • Re: Form View Insert

    The wizards will not generate Insert, Update, and Delete statements if you are not retrieving the Identity (primary key) column as part of your data. Say for example, you have a Products table with the following fields: ProductID (PK) Name Price UnitsInStock If your SELECT statement is SELECT Name, Price, UnitsInStock FROM Products Then you can't generate Insert, Update, or Delete. This makes sense, because without the ProductID there's no way these statements could be constructed. So, make
    Posted to Data Presentation Controls (Forum) by Lee Dumond on 7/17/2009
  • Re: create and modify file for user settings

    You'd also want to specify the type, as follows: <profile> <properties> <add name="hideSLS" type="Boolean"/> </properties> </profile> Once you've done that, you should be able to reference the Profile object from any ASP.NET page code behind, as follows: if (Profile.hideSLS) { // do your thing here }
    Posted to Getting Started (Forum) by Lee Dumond on 7/16/2009
  • Re: create and modify file for user settings

    I should also point out that you'd want to make sure your database has the proper schema to support profiling by running aspnet_regsql.exe against it. http://msdn.microsoft.com/en-us/library/ms229862(VS.80).aspx
    Posted to Getting Started (Forum) by Lee Dumond on 7/16/2009
  • Re: Sending emails to multiple recipients

    Sorry I haven't been able to jump in here... As the guy who wrote the blog post from which this was borrowed, I can tell you for certain that it works. I have tested in on multiple SMTP servers from IIS 5.1, 6, and 7. What should happen is that all the "good" emails should go through, and only the failed addresses will retry. Of course, the definition of a "failed" address depends on the status code returned from the server. Again, keep in mind that this code sniffs returned
    Posted to Getting Started (Forum) by Lee Dumond on 7/16/2009
Page 1 of 117 (1163 items) 1 2 3 4 5 Next > ... Last »