Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
H

Howard Richards

@Howard Richards
About
Posts
258
Topics
29
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How do I commit myself to side-projects?
    H Howard Richards

    You don't have to create your own project, there are plenty that could use some help: Up For Grabs[^]

    'Howard

    The Lounge question help

  • ASP.NET
    H Howard Richards

    http://www.asp.net/get-started[^]

    'Howard

    ASP.NET csharp asp-net database tutorial question

  • Help with Resource cannot be found error
    H Howard Richards

    Have you moved files or directories about? Resources in C# sit in a namespace based on the file and directory location.

    'Howard

    Web Development help csharp asp-net question learning

  • CodeProject survey - Bonus Mobile Round Q3 and Q4
    H Howard Richards

    Your mobile survey is broken: it's very difficult to pick "all that apply" from a radio button list.. See Q3 and Q4 http://www.codeproject.com/script/Surveys/voteform.aspx?srvid=1409[^]

    'Howard

    The Lounge com tools question

  • Congratulations to Microsoft
    H Howard Richards

    Since when was designing a system for the minority and not the majority a good thing? Making a system worse so 1% (of whatever percentage) can feel equal? That's not equality it's tyranny. A dumb comment

    'Howard

    The Lounge csharp visual-studio com design tools

  • Pigeon Faster than Broadband
    H Howard Richards

    Looks like we all need to upgrade to carrier pigeon.. http://news.bbc.co.uk/1/hi/world/africa/8248056.stm[^]

    'Howard

    The Lounge announcement

  • WOTD
    H Howard Richards

    Far more interestingly: - cacodaemon (plural cacodaemons) - - An evil or malevolent spirit as opposed to agathodemon (a good - spirit). Cacodaemons are shape shifters. - There are apparently 1024 of them.'Howard

    The Lounge com lounge

  • What's up today..
    H Howard Richards

    It's Friday of course... !:cool:

    'Howard

    The Lounge question

  • "Giant mystery blob discovered near the dawn of time"
    H Howard Richards

    I was just pondering the concept that astronomers looking at the sky are of course looking into the past. And this raised a question: how can we have any idea what the universe looks like at this current point in time? I've see a couple of 3d maps of "the universe" but how did they build these? As you get further away it's the universe as it was when the light left. It's rather like trying to build a picture of the world's current events via geography: for every mile from where you are now, subtract 1 year. So sitting here in Surrey, UK in 2009: Central London is 20 miles away. So it's 1989 and Mrs Thatcher is still the Prime Minister, and the Berlin Wall is about to disappear. Over in Paris it's 1866 and Claude Monet has been exhibitiing some new paintings. In New York it's 1100BC. In San Francisco it's about 3500BC and there might be the last few remaining Mammoths wandering around.

    'Howard

    The Lounge announcement html com

  • Problem with Unique Identifier column in SQl Server compact edition
    H Howard Richards

    Ah.. looks like GUID autogenerated keys are not very well supported. In that case you need to take it off again and follow the alternative route as discussed in my blog post: set the GUID in your code.

    Private Sub InsertXXX(instance as XXX)
    'generate primary key
    instance.GUID = GUID.NewGuid()
    ExecuteDynamicInsert(instance)
    End Sub

    Replace the two XXX bits with the name of your table

    'Howard

    LINQ csharp database sql-server linq sysadmin

  • Problem with Unique Identifier column in SQl Server compact edition
    H Howard Richards

    If the GUID is set using a SQL DEFAULT it won't work with LINQ to SQL unless you flag the primary key as IsDbGenerated = true in the LINQ to SQL schema. Check that first. Also see my blog post[^] on this topic.

    'Howard

    LINQ csharp database sql-server linq sysadmin

  • Problem with Unique Identifier column in SQl Server compact edition
    H Howard Richards

    question 1: are you setting the GUID from code, or is it set in SQL server as a default? question 2: if set from code, are you definitely generating a new GUID for each one or re-using the old one? question 3: if set in SQL, be aware that LINQ to SQL ignores SQL default values, and if your column permits null will insert a new record as null

    'Howard

    LINQ csharp database sql-server linq sysadmin

  • A Good Polish Helps a Lot
    H Howard Richards

    Presumably you don't read dilbert[^]..

    'Howard

    The Lounge css announcement

  • Detect a special node in a XML file !
    H Howard Richards

    I assume (as you have not explained) that you want to fix the sequence so that it is correct. ID="15" is out-of-sequence but then so are all the remaining items after it. Unless your example is also wrong. Please explain your objectives.

    'Howard

    LINQ algorithms xml tutorial question

  • Detect a special node in a XML file !
    H Howard Richards

    You are not clear on what you want to do. Do you want to: a) remove ID="15" ? b) find Data elements out of sequence? c) re-order? d) renumber?

    'Howard

    LINQ algorithms xml tutorial question

  • Javascript in Iteminserting of Detailview
    H Howard Richards

    JavaScript cannot see the ItemInserting event as it is code-behind (running on the server, not the browser). If you want to run JavaScript when inserting, add an onClientClick event to your Insert button on the form and execute the JavaScript there.

    'Howard

    IT & Infrastructure csharp javascript help

  • Application monitoring code/framework/app
    H Howard Richards

    I need to find an application/framework/code that is able to integrate with or talk to .NET for monitoring applications. I don't mean the usual network-monitoring apps that ping servers and monitor disk space. I want to monitor various processes within my own .NET application - is the job system running? Has it had errors? When was the last time supplier XYZ sent us a status update? I know about Nagios but don't want to install a linux box just for this, and my searches so far have turned up lots of commercial stuff like Nov8r.com CALM. Ideally I'd like a simple framework that I can build against rather than reinvent the wheel.. here's hoping.. TIA

    'Howard

    IT & Infrastructure csharp com sysadmin linux question

  • What dumb thing have you done today?
    H Howard Richards

    Not today.. but a couple of weeks ago I wrote an email-reading routine that copies emails into a database table.. except I forgot the dataContext.Emails.InsertOnSubmit(newEmail); I did remember the dataContext.SubmitChanges() but that's not much use.

    'Howard

    The Lounge c++ com debugging architecture question

  • Linq + SQLMetal = Cool...
    H Howard Richards

    Welcome to the club! :) It's just too easy to things with LINQ, despite the various drawbacks.

    'Howard

    The Lounge csharp database visual-studio sql-server linq

  • Problem with Store Procedure
    H Howard Richards

    The designer does try to analyse a SPROC to determine the output type but it's very limited, and in this case you're returning from a temp table based on constructed SQL - it would be difficult to determine what this is. Your best bet is to create a class manually that can hold the results and specify in the designer that it returns that type. Try reading "Handling Multiple Result Shapes from SPROCs" in http://weblogs.asp.net/scottgu/archive/2007/08/16/linq-to-sql-part-6-retrieving-data-using-stored-procedures.aspx[^]

    'Howard

    LINQ csharp sharepoint database wcf help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups