Convert date to ticks
How to convert one datetime to ticks? ...
How to convert one datetime to ticks? ...
I need to block one IP address or class in asp.net Can anyone help me with the code? And how to implement? Thanks ...
I am creating ASP.Net MVC application and want to handle errors globally. I have set web.config value as mode=On and defaulRedirect="Error.aspx". I have Error.aspx at two places. One at Views/Shared folder and one at project root folder level. But each time an unhandled error occurs, the error page at root level gets called. How can I ma...
the jQuery $("#loginform").submit(function(){ $.ajax({ type: "POST", url: "loginrespajax.asp", data: $("#loginform").serialize(), success: function(){ $("#loginform").hide("slow"); $("#loginfo...
/* FPDF library for ASP can be downloaded from: http://www.aspxnet.it/public/default.asp INFORMATIONS: Translated by: Jeremy Author: Olivier License: Freeware DESCRIPTION: This script implements EAN13 and UPC-A barcodes (the second being a particular case of the first one). Bars are drawn directly in the PDF (no image is generate...
i have been reading, using vs too to get familiar with the step followed to write the coding...... i have reached the end, all the code the third party plug-ins, references etc have been made on running the work it gives a lot of errors, some are too hard to debug. can any one please help by giving the complete website this book has t...
Hi there. When editing parts of my project that get called in Application_Start(), i want to have the web app restart every time i press 'Debug', so that i can debug these parts. But if i dont change the Global.asax.cs self, it doesnt restart and therefore doesnt fire the Application_Start(). Is there any setting or trick to let the ap...
how can i save the file in utf-8? Dim FSO, File Set FSO = Server.CreateObject("Scripting.FileSystemObject") Set File = FSO.OpenTextFile(Path,2,true,-1) File.Write(xml1) File.Close Set File = Nothing Set FSO = Nothing ...
Hi, I am working on Classic ASP and was going through a possible solution of posting and reading an xml. I read Tim's reply (which is pasted below) but this doesn't work for me. It seems xmlDoc.load(Request) doesn't load anything. What could be wrong here? I would very much appreciate a prompt response. This is the posting page: url =...
I am retrofitting an intranet application to uses integrated windows authentication. The application is built in asp classic/vbscript. The application authenticates users by obtaining their username from the Request.ServerVariables("LOGON_USER") method, and checking the name against a list of registered users in a MSSQL database. This ...
Hi: We're working on a ASP Net web application that we migrated from 1.1 to 3.5 and, for some reason, the resource file is not taking the values we try to add/update. Some points to consider: 1)The legacy web app, generated 2 files: "MyFile.es-Mx.resx" and "MyFile.es-Mx.resources" 2)We can modify the "resx", but added/updates values are...
Is it possible for us to integrate the junit test cases for an application for which we are developing using the ASP.Net Platform? Since I am from Java j2ee Tech background, have a very less knowledge on .Net Technology ...
Hello, I am using Classic asp and SQL Server 2005. This is code that works (Provided by another member of Stack Overflow): sqlStr = "USE "&databaseNameRecordSet.Fields.Item("name")&";SELECT permission_name FROM fn_my_permissions(null, 'database')" This code checks what permissions I have on a given database - the problem being -...
Background: I have an ASP.NET dll which I'm referencing from a classic ASP web application. [Pause for groaning.] I've added the dll to the GAC and registered it with regasm and so forth, per various articles here at SO and elsewhere. It all works: the object is created, a database is called, everything ends well. The problem, thou...
i want my server time and date to be set as new date i have tried this: dateNow = new Date("<%=now()%>"); but this is not working how can i do this? here is the code that give me the problem... it is just get stack on the time diff and doesn't countdown <script type="text/javascript"> dateFuture = new Date(<%=year(privatesellstar...
Hi, I have to display the content of an HTML file which is hosted to some other server in a classic ASP page. I know using #include tage we can embed suchc html file provided they resides in same server, it can not refer to an external urls. Another way out is to use iFrame, but the problem with that is the user can right click on th ...
Hi, Working on a classic asp page that uses paging. The error I am having a problem with is this: Lets say that you have 5 pages returned in your record set and you are on page 2. You leave and come back, you then press the link for page 3, the trouble is your session has timed out. I don't know why this happens but the page is relo...
Many of us have come from classic-asp background and eventually picked up asp.net for better. But I miss many features from classic-asp that are not available in asp.net. Like, I don't get complete control over the markup renderred to the client in asp.net wherein in classic-asp it was possible. What are those features you miss from you...
I am writing an ASP.NET website, which is a new framework for me. I find that I have a try/catch block in literally every method of my codebehind. All these try/catch blocks do is catch the exception and then pop-up an error message to the user. Isn't there some sort of global error handler in ASP.NET? It's worth noting that my error han...
Hello, When I turn on URL Rewriting to access a page, the ~ no long is replaced with the application root. For example should produce: but its only outputting The tilda is supposed to be replaced with the application root path but it looks like IIRF is messing with that somehow? Any ideas on how to fix this? ...