Given the following information, how can I combine these 2 linq queries into 1. Having a bit of trouble with the join statement.
'projectDetails' is just a list of ProjectDetails
ProjectDetails (1 to many) PCardAuthorizations
ProjectDetails (1 to many) ExpenditureDetails
Notice I am grouping by the same information and selecting the same type of…
I have a webpage that displays data based on a default date. The user can then change their view of the data by slecting a date with a date picker and clicking a submit button. I already have a variable set so that if no date is chosen, a default date is used.... so what's the problem? The problem comes if the user trys to type in the url page…
How important is inter-linking for seo. This site has 800k pages indexed on Google, but it's all duplicate content from other celebrity sites. I'm wondering if they're inter-linking has anything to do with this. www.celebrifi.com
Any ideas?
By default the height of an Flex Accordion container is the height of the initially selected child. I'd like to be able to set the height to the tallest child so that no resizing or scrolling is necessary when other children are selected.
I do not want to use the resizeToContent property. I want the size of the container to stay constant no…
If I'm creating a C# wrapper for a stored proc, and that sp only returns/selects (not sure) 1 value, should I use return or select at the end of that sp?
This is for t-sql.
I'm trying to get google chrome to do page breaks.
I've been told via a bunch of websites that page-break-after: always; is valid in chrome but I can not seem to get it to work even with a very simple example. is there any way to force a page break when printing in chrome?
I know this has got to be the simplest-sounding question ever asked about ASP.Net but I'm baffled. I have a form wherein my visitor will enter name, address, etc. Then I am POSTing that form via the PostBackUrl property of my Submit button to another page, where the fields are supposed to be all re-formed into new hidden fields, then POSTed…
I'd like to have a shell script redirect stdout of a child process in the following manner
Redirect stdout to a file
Display the output of the process in real time
I know I could do something like
#!/bin/sh
./child > file
cat file
But that would not display stdout in real time. For instance, if the child was
#!/bin/sh
echo 1…
I'm just learning Haskell. I thought this would produce a factorial function...
(within ghci)
Prelude let ft 0 = 1
Prelude let ft n = n * ft (n - 1)
Prelude ft 5
(hangs indefinitely, until ^C).
Can someone point me in the right direction?
Thanks!
In my app a user clicks a link to another page. I'd like to track that in Omniture with a custom event, so I've bound the omniture s.t() event to the click event. How can I make certain the event fires before the next page is requested?
I've considered event.preventDefault() on the click event of the link, but I actually want the…
I visited Avis.com, and I notice the web pages have *.ac extension. Not familiar with this type--what language or framework is this? This something Python-related?
Thanks.
Hi!
I need to calculate an end date based on todays date and a number of months. For example, todays date 04/01/2010 and the number of months is 6. Are there any functions I can use to do some math that would return "10/01/2010"?
Also, I think it's important to note that I am storing the result in MySQL as a "DATETIME" so I…
I am making a small game as sort of a test project, nothing major. I just started and am working on the graphics piece, but I'm not sure the best way to draw the graphics to the screen.
It is going to be sort of like the old Zelda, so pretty simple using bitmaps and such. I started thinking that I could just paint to a…
A friend and I are thinking about creating a simple file system for learning purposes. We're going to write it in C/C++, and try to get it to a mountable state from within linux. We've both been coding or over 16 years (32 combined), so I suppose its just a matter of finding some documentation, and a ton of learning.
…
I'm sort of new to Perl and I'm wondering if there a prefered unit testing framework?
Google is showing me some nice results, but since I'm new to this, I don't know if there is a clear preference within the community.
I have a list of objects:
class Beer {
var $name;
var $id;
var $style;
var $brewery;
var $rate;
function getName() {
return $this->name;
}
function getID() {
return $this->id;
}
function getStyle() {
return $this->style;
…
I am working on a Scala app that consumes large amounts of CPU time, so performance matters. The prototype of the system was written in Python, and performance was unacceptable.
The application does a lot with inserting and manipulating data in maps. Rex Kerr's Thyme was used to look at the performance of updating and…
Hi,
I am developing an iphone app. Instruments reported a leaked object ServiceTypes. Below is the relevant code. Does anyone have any ideas? Thanks a lot for your help.
ServiceTypes *serviceTypes = [[ServiceTypes alloc] init];
if ([userConnection getServiceTypes:serviceTypes]) {
if ([serviceTypes.types length] …
I need to rotate an ImageView by a few degrees. I'm doing this by subclassing ImageView and overloading onDraw()
@Override
protected void onDraw(Canvas canvas) {
canvas.save();
canvas.scale(0.92f,0.92f);
canvas.translate(14, 0);
canvas.rotate(1,0,0);
super.onDraw(canvas);
canvas.restore();
}…
Any idea why when using system proxy settings in firefox, it can not accept a proxy such as: user:pass@proxyserver.com:port ??? IE will allow and connect to a proxy in this format. Not only does firefox not work, but it does not prompt for the password, nor attempt to make a connection to the proxy. Basically get a…
Any idea why when using system proxy settings in firefox, it can not accept a proxy such as: user:pass@proxyserver.com:port ??? IE will allow and connect to a proxy in this format. Not only does firefox not work, but it does not prompt for the password, nor attempt to make a connection to the proxy. Basically get a…