i have 2 dateTime value
1st value is current datetime and 2nd value is some datetime
now i need to know is 30 minite past or not
can u help me?
View Complete Post
MSDN Magazine October 2003
MSDN Magazine January 2001
MSDN Magazine November 2000
I have a gridview pulling all data from one user. This gridview has an edit button and when that is clicked the gridview becomes too wide for the div/screen and I get a scroll bar. Since this gridview can only have one user in it anyway is it possible to display each field on seperate lines instead?
The document at the url http://spd:16841/_vti_bin/UserGroup.asmx was not recognized as a known document type.
The error message from each known type may help you fix the problem:
- Report from 'http://spd:16841/_vti_bin/UserGroup.asmx' is 'The document format is not recognized (the content type is 'text/html; charset=utf-8').'.
- Report from 'DISCO Document' is 'Root element is missing.'.
- Report from 'WSDL Document' is 'The document format is not recognized (the content type is 'text/html; charset=utf-8').'.
- Report from 'XML Schema' is 'The document format is not recognized (the content type is 'text/html; charset=utf-8').'.
one of biggest sad in my life is above error which i am not getting correct solution from microsoft.
I keep getting a HTTP 400 exception whenver I try to send a large message.
My service contains a messageContract that consists of 3 int32s and 1 stream (Regular stream, not memorystream or any other derrivative of stream)
When I send a messageContract that has the 3 ints and 48837 bytes on the stream, the sending and recieving work. When I set it to 48838 bytes, however, I get the following error:
System.ServiceModel.ProtocolException was caught
Message=The remote server returned an unexpected response: (400) Bad Request.
Server stack trace:
at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory factory, WebException responseException, ChannelBinding channelBinding)
at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
<!-- Web.Config Configuration File --><configuration> <system.web> <customErrors mode="Off"/> </system.web></configuration>
I am trying to see how many times a set of 50 sp's ran on my prod server. The idea is to remove the ones not being used anymore and clean the unused sps. My environment is Sql Server 2005 sp3
I did a basic search online and found out that sys.dm_exec_query_stats does a good job in giving the cout but only if the cache has not been flushed out. How do i know when was the last time the cache was flushed out in my sql server? Also what do they
mean by cache being flushed out?
Is there a better way to capture all my sp execution counts on SQL Server 2005 other than running a server side trace?
I want to do something as simple as Adding the previous 12 months sales to a row.
My tablix report is suppose to look something like this:
Year Filter: 2010
Months: Months Sales Sales Past 12 months
And so on
So ... in the third column, Sales Past 12 months, say for Mar 2010, the Sum should be something like:
Sales Mar 2010 + Sales Feb 2010 + Sales Jan 2010 + ... + Sales Apr 2009 = 89
Under HyperV - turning off host with guests running, they are saved with no dataloss. However on restarting the HOST, SQL agent jobs(inside guests) are struck with their past readings as seen in JobActivity Monitor and none of the jobs are running automatically
unless you; (a) delete and recreate the schedule. (b) manually run the jobs at once. (c) restart the agent service. [So] Is there some thing available for a fix on this. (tested on SQL 9 SP3 & 10). Guest machines are going for SavedState but there should
be something in SQL Server to update the detail (timings) for job execution.
Im having a problem with ie only, firefox , chrome and opera work fine if i copy some values from a column an excel an past to a textbox,
but at IE is pasting just first value .....
I've got 3 problems and I can't find the solution so that's why I'm here.1. I've got a calander for adding a product to my shop. How can I make sure that you can't select a date in the past?2. I have a gridview, and I have added a hyperlinkfield in access. When I'm filling up my gridview it doesn't show a link, it shows this:example= www.Groezrock.be#http://www.Groezrock.be#3. I've added a label and a textbox on my guestbook page. It says "Please fill in the number in the textbox -label that generates 4 random number- txtbox.For filling up the textbox I use this code:
Dim randObj As New Random lblVraag.Text = (randObj.Next(1001, 10000).ToString)
The problem is, when I fill in the number, it always gives me the validation error "Numbers don't match" which I added myself.
If txtnumbers.Text = lblnumbers.Text Then ... Else lblFout.Text = "Numbers don't match."