Could someone tell me the difference or why I should use one over the other?
I am using asp.NET (2.0) to do a rewrite of an application to be released March of next year. I am little confused why I should cache something verse just putting a populated DataTable as a global variable at app start.
I am using the DateDif to get the difference between BeginDate and EndDate to return a Count.
Count = DateDiff(DateInterval.Quarter, BeginDate, EndDate)
Count + 1
How do I figure out what the next quarter is to get the first month of that quarter? (StartDate)
Example..
BeginDate = June 15...
This is sorta "Ugly" but it works.. :)
'set mail server
SmtpMail.SmtpServer = "????.com"
Dim outmail As New MailMessage
outmail.To = "CodeMonkey@????.com"
outmail.Cc = "need2progm@hotmail.com"
outmail.From = "General Manager"
outmail.Subject = "Testing Mail"
outmail.BodyFormat =...
I have 4 "TimeSlices" Annual, Quarterly, Weekly, Daily.
Given a time slice and 2 dates (BeginDate as Date, and EndDate as Date) I need to come up with the number of occurrences.
Example ...
BeginDate = 1/1/2004
EndDate = 2/15/2005
Switch TimeSliceType
Case Annual
Count = EndDate.Year...
Seems that the .NET framework service pack (1.1) was applied to the hoseted site. After applying it in house I was still getting the error. I also tried using the aspnet_regiis -c comand line .. also did not work.
Finially I did a search to see where the service pack had out the...
We deployed our new website over the weekend (from peal and PHP to .NET) and non of the asp buttons click events are causing a post back. They are however validating the text boxes on the form. This works in development.
I created 1 web form with 3 user controls that hide and unhide depending...
I am trying to get the current log in user (DomainName/UserName).. for window authentication for my asp application.
This is what I have so far.. Got this right off MSDN
'Get the current identity and put it into an identity object.
Dim MyIdentity2 As WindowsIdentity =...
I did have this issue once... My Dataset still had "old" data in so when I re-populated it the old data was still around thus was put into my output stream to the pdf file I was creating.
I found out that before I could run my sql query I had to do this..
Try
DataSet.Table.Rows.Clear() 'clear...
I created an ASP.NET application, creating the virtual directory on my thumb drive. Took it to work and in IIS I created a virtual directory pointing to my thumb drive.
I was unable to debug in the application.
Any ideas why?
Thanks for any help you can provide
Can you set the metadata tags in code behind.
I know I can get to the page but not sure how to set that tag information.
Thanks for any help you may give
I have recently rebuilt my development server. After reinstalling visual studio 2003 the debugger (keyword) in the javascript (code in front) is not breaking out. I am having to pop alerts for debugging.. which is horrible. Can anyone give me some advice on how to re-enable this feature...
Thanks for the script. Out of 500 rows of data only 25 were dumped into a backup table.
I also tried using it with access but it does not like CHARINDEX :(
Stick with SQL Server.. That is what I tell my customers
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.