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...
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...
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 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...
Does any one know a way to get a collection of Worksheets form an excel workbook?
I want to provide the user a list of the available worksheets in a dropdown list and I am not sure how to get them.
Thanks in Advance for any help you can provide
I have added Me.SmartNavigation = True to one web page in my application and now I get a StackOver in an alert box.. After clicking OK .. the task is completed as designed.
Very confused as why this is happening?
I am trying to make our web app multilingual by using resource files. Seems to be the best fit for the job.
I have implemented them by using Microsoft example. ms-help://MS.VSCC/MS.MSDNVS/vbcon/html/vbwlkWalkthroughLocalizingWebForms.htm
My question....
I have a client who develops...
I have a check box ....
<asp:checkbox id="chkAll" OnCheckedChanged=ValueChanged() </asp:checkbox>
in script tags a I have..
<script language="javascript">
function ValueChanged()
{
//check all was selected so check all the parents
// selecting the parents will recursivly...
I have a check box ....
<asp:checkbox id="chkAll" OnCheckedChanged=ValueChanged(this.Checked) </asp:checkbox>
in script tags a I have..
<script language="javascript">
function ValueChanged(value)
{
//check all was selected so check all the parents
// selecting the parents...
I installed w2003 server several months ago....Now due to not supported OS and driver issues I need to reinstall xp pro on the unallocated space. The 2003 server is a domain controller and my Exchange server. I really do not want to have to rebuild this server.
How do I install xp with out...
I have a Solution containing
-c# class lib
-vb class lib
-5 vb asp web apps
In one of the asp projects I have a user control that I drop on most pages. I want to use this control on other pages in other projects with in same solution. I have added a reference to the project that contains the...
I updated a client of ours to latest and greatest version of our application.
The client is getting a script error immediately after logging into application on a page that includes a third party asp.net control menu bar. They are unable to navigate at all through the application. I have...
I have an ASP.net application that I want to remove the toolbar on the browser... forcing the user to use the controls in the application for navigation.
Is their a setting I can set at the app level or do I need a line of code on every web form
I already have some pages that I pop using...
I have parameterized property written in VB.NET. How do I use that in C#?
In VB…
public property A( B as B) as C
In C#......
C = A( ??? ) ;
I thought this.. c = A[B]; but nope.. didn’t work
Thanks for any direction you can give me…
Decided to upgrade to exchange 2003 at the office over the weekend.. having issues
Exchange cannot see the Global catalog, thus cannot authenticate thus cannot start..
I demoted the old windows 2000 domain controller
Then exchange died
It found that there was a new PDC, but could not...
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.