Search

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

Matching Posts

  • Re: SqlBulkCopy issues with Duplicate records

    I've done a sproc before that will attempt insert, and if it fails, just move on to the next record. This is great in a case where you just want to insert records that are new (unique) to the system. I'm not trying to "break the rules" of sql, I do want the table to maintain its unique data. A simple example is a list of colors, unique. Say you have "red" and "green" stored in your table. You now have a new collection coming in that you want to insert, which
  • SqlBulkCopy issues with Duplicate records

    SqlBulkCopy does not seem to have much flexibility. If your table has columns that dont allow duplicates, you are apparently screwed. Its a shame there is no switch or param setting you can issue the SqlBulkCopy class (if there is, please let me know!!) Example: Say I have a table "Cars" with fields "CarId" (identity) and "CarName" (varchar) and the CarName field has a unique constraint. Now, I have a DataTable that contains a bunch of CarNames to insert. If there are
    Posted to SQL Server, SQL Server Express, and SqlDataSource Control (Forum) by roachslayer on 9/14/2006
    Filed under: SqlBulkCopy
  • Re: How the heck do you get Localization working? (2.0)

    On a slight tangent from all this... ASP.NET projects have this cool localization stuff. But how can one use String Typed Localization in a .NET 2.0 Class Library? I created a class library called ClassLbrary1 and I added properly structured resources into it with an App_GlobalResources folder. I compile it, but I get no Resources namespace. nor do I have access to things like GetGlobalResourceObject. Is there a way to do this, using similar "cool tools" found in ASP.NET? Or do I have to use the
    Posted to Localization (Forum) by roachslayer on 2/20/2006
  • Re: How the heck do you get Localization working? (2.0)

    Thanks for the response. Excellent info. Here is my status now: I removed the.Text from the resource, so I now have Hello_Text to make it simple. I did make sure to compile. I checked the Temporary ASP.NET folder for files containing my "Hello_Text" and found nothing. And my intellisense has no "Resources" namespace whatsoever, not even the root itself. If I begin to Type "Reso" in say the Page_Load funtion, Intellisnse gives me only the following items with the word "resource" in them as show below
    Posted to Localization (Forum) by roachslayer on 2/20/2006
  • How the heck do you get Localization working? (2.0)

    I have spent hours reading up on the 2.0 way of localization, and experimenting in my web app, and cannot for the life of me get any of this working at ANY level. Please help! Sample Project: HelloWorld -App_GlobalResources --Main.resx -App_LocalResources --Test1.aspx.resx -Test1.aspx Assume that inside Main.resx and Test1.resx I have an item named "Hello.Text" with the value "Hello World" Now, in my Test1.aspx page ALL of these methods do not work . I get a null reference exception : CodeBehind
    Posted to Localization (Forum) by roachslayer on 2/18/2006
  • Re: Refresh Logout bug

    I also just discovered that portal 0 doesn't seem to be affected for whatever reason. But all other portals have the issue. I also discovered that the issue apparently does not happen to the Host super user, but only other users of any other type who are logged in. The worst of this is not so much the refresh issue, but is the fact that if I navigate to the "edit" mode of a module and the back out, it logs me out. This is an absolute show stopper for me. It appears to happen only to modules I created
    Posted to DotNetNuke (Forum) by roachslayer on 2/17/2006
  • Re: Refresh Logout bug

    Does anyone have any input on this matter? This can't possibly be affecting just me. I am experiencing a serious logout problem on DNN 3.2.1 and 4.0.2. I am experiencing the problem under all circumstances listed above, but also on pages with NO custom controls or modules. I can create a blank page with no modules, log in, navigate to that blank page, click Refresh once or twice, and POOF, I'm logged out. I'm also experiencing spontaneous logouts navigating my site generally. most especially prevelant
    Posted to DotNetNuke (Forum) by roachslayer on 2/17/2006
  • Re: How to "slimline" DNN 3?

    The only significant prob i have had using this RAM Disk trick is that sometimes VS 2005 runs out of "disk" space. I tried even 128MB setting and I run out. But not every time I compile, and I'm not sure yet what the diference is when it suceeds vs not or why it does this to me. It must be dependant on what I changed and what it thinks it needs to compile.
    Posted to DotNetNuke (Forum) by roachslayer on 2/3/2006
  • Re: How to "slimline" DNN 3?

    roachslayer wrote: Cool trick. Any ideas how to set the Temp directory for compilation in VS 2005? Machine.config is different. Somewhat solved for myself: Web.config has a place for tempDirectory in the < compilation > tag. It works. Of course, this means it is per project, so I'd have to do this to each project I want to use the RamDisk temp drive.
    Posted to DotNetNuke (Forum) by roachslayer on 1/27/2006
  • Re: How to "slimline" DNN 3?

    Cool trick. Any ideas how to set the Temp directory for compilation in VS 2005? Machine.config is different.
    Posted to DotNetNuke (Forum) by roachslayer on 1/27/2006
Page 1 of 3 (24 items) 1 2 3 Next >