You don't have to create your own project, there are plenty that could use some help: Up For Grabs[^]
'Howard
You don't have to create your own project, there are plenty that could use some help: Up For Grabs[^]
'Howard
http://www.asp.net/get-started[^]
'Howard
Have you moved files or directories about? Resources in C# sit in a namespace based on the file and directory location.
'Howard
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
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
Looks like we all need to upgrade to carrier pigeon.. http://news.bbc.co.uk/1/hi/world/africa/8248056.stm[^]
'Howard
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
It's Friday of course... !:cool:
'Howard
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
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
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
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
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
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
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
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
Welcome to the club! :) It's just too easy to things with LINQ, despite the various drawbacks.
'Howard
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