Click here to Skip to main content
15,881,027 members
Everything / Programming Languages / ASP

ASP

ASP

Great Reads

by DataBytzAI
Easy way to send email on Azure with no mail server, using DNS MX and SMTP
by Jason Henderson
Get organized and find a reason to use Active Desktop at the same time.
by Najmul Hoda
IM status indicator is as an easy and reliable way to check online status of certain instant messenger account like yahoo, msn, aol, skype and icq..
by Larry Boeldt
Building on a previous article, we now delve into the Facebook Graph API and provide a few useful functions.

Latest Articles

by Rudi Breedenraedt
In this series, we will see how to build interactive web applications in ASP.NET Core with the help of Sircl.
by Zijian
A series of articles comparing programmer experiences of Angular, Aurelia, React, Vue, Xamarin and MAUI
by Rudi Breedenraedt
In this series, we will see how to build interactive web applications in ASP.NET Core with the help of Sircl.
by Rudi Breedenraedt
In this series, we will see how to build interactive web applications in ASP.NET Core with the help of Sircl.

All Articles

Sort by Score

ASP 

4 Feb 2018 by DataBytzAI
Easy way to send email on Azure with no mail server, using DNS MX and SMTP
17 Sep 2002 by Jason Henderson
Get organized and find a reason to use Active Desktop at the same time.
4 Sep 2010 by OriginalGriff
After you posted your tutors email address to a public forum (which also automatically emailed it to me) I was not sure how best to approach this. So, I put it to a vote, and the results are in: Overwhelmingly, they voted that I should email your tutor and tell him who you are, and what you have...
12 Sep 2008 by Najmul Hoda
IM status indicator is as an easy and reliable way to check online status of certain instant messenger account like yahoo, msn, aol, skype and icq..
10 Apr 2012 by Larry Boeldt
Building on a previous article, we now delve into the Facebook Graph API and provide a few useful functions.
28 Oct 2014 by Sergey Alexandrovich Kryukov
I would like to strongly recommend you to invent your own idea. This is pretty easy to do, because right now, great number of unsolved problems just flow in the air, surround you in your every step. You just need to look around to get and idea. First of all, you should listen to your own needs,...
16 Oct 2012 by Sunasara Imdadhusen
MS Test Result Viewer is a free open source library to convert MS Test result (.trx) file into HTML. It is also allowed you to perform MS Test on your test container project (.dll) file. This utility will work with simple command line arguments to generate test report in HTML format with excellent U
24 Jan 2008 by defwebserver
This tutorial will show you how to create a DotNetNuke module using LINQ to SQL.
23 Jan 2011 by Sergey Alexandrovich Kryukov
ASP is not a language. All right, ASP and NET is server-side technology, and all use HTML.Nevertheless, the question makes sense, even though it looks like comparison of apples and oranges.Strict answer is: no way! If you look at the page from the the client side or HTML source code, you...
10 Feb 2014 by jigar001
Server.Transfer v/s Response.RedirectBoth “Server” and “Response” are objects of ASP.NET. Server.Transfer and Response.Redirect both are used to transfer a user from one page to another page. Both are used for the same purpose but still there are some differences are there between both that...
5 Jul 2011 by Sergey Alexandrovich Kryukov
I'm risking to get a lot of down-votes now, but I don't care — my warning is more important.Please, have a mercy for a little child: don't let starting from VB (not matter what kind) happen. Imprinting is a terrible thing. You're risking to kill the ability to learn any programming...
19 Mar 2014 by David Cantrell
In which a class that wraps an ADO Connection object and makes it more developer-friendly is discussed.
31 May 2012 by rcarlson-cayen, Cayen Systems
This article details how to make a legacy code base more maintainable by utilizing a JSON architecture.
5 Jul 2011 by Christian Graus
I found this[^] with google. What does your question have to do with asp ? Do you care if it's VB6 or VB.NET ? There's a VB.NET tag.
3 Sep 2015 by OriginalGriff
First of, never fetch DateTime.Now more than once: it leads to intermittent problem around midnight which can really mess you up. Fetch it once, and use it for all checks.Then try:DateTime now = DateTime.Now;var receiveDetails = objDB.GetAllReceivedDetails().Where(a =>...
24 Aug 2009 by MatthewCasperson
An introductory look at the JavaScript CAKE library, which allows you to build up the HTML5 canvas element like a vector image.
27 Jul 2011 by DominicZA
public string CalculateKundali(string name){ string[] s = new string[] { "_name_, will meet the girl of your dreams this week", "_name_, your health is important, eat healthy this week", "_name_, his week expect good luck", "Beware _name_, don't...
13 Dec 2011 by Nikil S
Why don't you post such questions in Lounge[^]?It is not a programming question.
13 Dec 2011 by Richard MacCutchan
Take what they offer. A job with a low salary is far better than no job.
29 May 2012 by Prasad_Kulkarni
InProc and OutProc is related to asp.net session management. Session can be maintained in 3 different ways as seen below. InProc - session kept as live objects in web server (aspnet_wp.exe). Use "cookieless" configuration in web.config to "munge" the sessionId onto the URL (solves...
5 Jul 2012 by Abhinav S
A variable is cleared when you are not using it and the garbage collector is ready to clean it up.This has nothing to do with session variables.Session state is nothing more than memory in the shape of a dictionary or hash table, e.g. key-value pairs, which can be set and read for the...
28 Aug 2001 by Uwe Keim
Tiny little Perl library to retrieve an arbitrary URL as a string
23 Feb 2009 by David Meng
Introduces a way to create a key column in a SharePoint list.
25 Dec 2011 by Rajesh Anuhya
Check the permission to the folder where you are saving this JPEG file.folder should be have write permissions
23 Mar 2012 by Ajith The Great
Declare @flt as FloatSet @flt = 3.44445556Select round(@flt,1)OUTPUT :3.3999999999999999AND IF YOU USE MONEY DATATYPE Declare @flt as MONEYSet @flt = 3.44445556Select round(@flt,1)OUTPUT : 3.40BETTER TO USE MONEY DATATYPE Hope This May Help You..
4 Jan 2013 by OriginalGriff
We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.Try it yourself, you may find it...
30 Jan 2013 by OriginalGriff
The best way is to start with the start time, then find the end time.DateTime startTime = DateTime.Now;...DateTime endTime = DateTime.Now;If you then subtract them, you get a Timespan:TimeSpan takenSoFar = endTime - startTime;When it comes to the second attempt, you do the same...
18 Feb 2013 by gmaran23
Query the properties, or download a file present on a Unix server to a Windows server via SFTP connection
17 Dec 2013 by Rakesh Meel
visit here..http://msdn.microsoft.com/en-us/library/6c3yckfw%28v=vs.100%29.aspx[^]
3 Apr 2014 by Code Help 2014
This is a complete working example with code on how to send email using classic ASP.
2 Oct 2014 by Peter Leow
Check these out:1. Useful Reference Books[^]2. A Gallery of Useful Programming Books[^]
19 May 2015 by Richard Deeming
This is due to operator precedence. Your code is equivalent to:if (("Call Time: " + searchResult[i].CreatedDate) != null){ sb.Append(Convert.ToDateTime(searchResult[i].CreatedDate).ToString("hh:mm tt"));}else{ sb.Append("" + "");}Since anything...
15 Oct 2001 by Ciprian Miclaus
An article on how to improve SQL hierarchies
1 Jul 2002 by Adrian Bacaianu
This article describes a simple function which calculates the execution time of your asp scripts
2 Jan 2010 by Sky Sanders
AccessControlModule can impart a greater consistency and usability upon the default behaviour of FormsAuthentication and allow any client script code to leverage FormsAuthentication in a straight forward manner.
2 Feb 2010 by #realJSOP
Nezam Ahamed wrote:The codes are available in net. and i can download and i give it to them but i will be going through it and of course i will be implementing it myself.Typical... and pathetic.If your "idea" was rejected, use your brain and come up with something different for god's...
13 Aug 2010 by OriginalGriff
Oh boy - this is going to be difficult to explain without pictures, so you would be better off looking in a book. But:In your click handler, you create an instance of Class1, and assign it to a variable called oClass1. What is actually in oClass1? Is it an int - the total data stored by...
27 Aug 2010 by Ankur\m/
Check the link below:http://blog.divergencehosting.com/2010/01/14/adding-a-check-all-box-to-check-checkboxes-within-a-row-in-a-gridview/[^]I hope it helps! :thumbsup:
5 Feb 2011 by OriginalGriff
Has the developer created each page separately?Yes. If you look at most websites, they are done the same way.How the webmaster is handling this site, any update, any modificationwithout a database, how every thing is working.Very well indeed - All you have to do is use Cascading Style...
4 Apr 2011 by Monjurul Habib
This Virtual Directory does not allow contents to be listed Directory Listing DeniedI hope the above information will be helpful. If you have more concerns, please let me know.
2 Jul 2011 by Tiwari Avinash
Try to manage Z-Index of both Menu and the control holding Slide show.Your drop menu must have greater Z-Index value.http://www.asp.net/ajax/tutorials/adjusting-the-z-index-of-a-dropshadow-vb[^]http://www.w3schools.com/cssref/pr_pos_z-index.asp[^]
15 Sep 2011 by Suman Zalodiya
Let me solve your problem.for example you want to show for columns in the gried view fetched by sql query, your template fields will look like this in the griedview
30 Sep 2011 by Wonde Tadesse
Try to check the connection string using UDL. Here is MSDN article how to do so.Creating and Configuring UDL[^]
30 Sep 2011 by Wonde Tadesse
Use Session [^]or QueryString[^]
20 Dec 2011 by Ahmd.Refat.Twfik
The main purpose of this tutorial is to get you started with ASP.NET MVC easily, which will be through building a simple Twitter client to demonstrate the components of the framework and exposing some concepts too.
23 Dec 2011 by Sergey Alexandrovich Kryukov
Of course the server side still have an old value. You never sent any HTTP request to the server side during all you jQuery manipulation. The missing link is Ajax HTTP request to be sent via jQuery. Something like:$.post( 'myPage.aspx', { type: "textbox-text-updated", ...
24 Dec 2011 by RaviRanjanKr
you need to a) Create a class that inherits System.Web.Security.MembershipProvider. MembershipProvider is an abstract class, so you are readily shown what methods need to be implemented.b) The names are pretty self explanatory, so you can probably more or less copy your existing...
28 Dec 2011 by thatraja
Check theseConverting ASP to ASP.NET[^]Migrating ASP Pages to ASP.NET[^]ASP to ASP.NET 1.x Migration Assistant[^]
25 Jan 2012 by Dalek Dave
If you are talking about baud rate then there are so many of these available why reinvent the wheel.Site performance may work to make the code behind work quicker but there are so many other factors that are beyond your control.What particularly do you wish to streamline?Does this...
20 Apr 2012 by Sandeep Mewara
I want to begin with office or games, cause that is my most familiar. is there somebooks to guide or some site to find out solution. This very website has tons of articles - games, utilities, controls, etc.Here is the link to all Beginner articles: CodeProject Beginner articles[^]Pick...
29 May 2012 by Rahul Rajat Singh
I am working on an article for the same. the article is not complete but i am sending you the text from the draft copy of it:The major limitation with web services is that the comunication can happen over HTTP only. Second limitation with web services is that it provide singlex communication...
11 Jun 2012 by Sandeep Mewara
Use traditional AJAX for ASP - XMLHttp or ServerXMLHTTP Object.Refer:How To Submit Form Data by Using XMLHTTP or ServerXMLHTTP Object[^]
17 Jun 2012 by Prasad_Kulkarni
Active Server Pages (ASP) is a server side scripting language.Refer: Active Server Pages[^]ASP introduction[^]
26 Jun 2012 by DamithSL
following method create table and add records to it static DataTable GetTable() { // // Here we create a DataTable with four columns. // DataTable table = new DataTable(); table.Columns.Add("Dosage", typeof(int)); table.Columns.Add("Drug",...
6 Jul 2012 by Prasad_Kulkarni
Refer 5 steps to delete history: How to Delete History in ASP.NET[^]
6 Jul 2012 by Tim Corey
W3Schools can help you learn ASP:http://www.w3schools.com/asp/asp_intro.asp[^]You can also go here for more help:http://www.asptutorial.info/[^]As for the editor, like ryanb31 mentioned, you can use Notepad (my preference) or Visual Studio. You can also use Dreamweaver...
11 Jul 2012 by Prasad_Kulkarni
Does google stops working?Try search on google[^] first.You can also try search on CodeProject Articles[^] or CodeProject QA[^]This is simple code snippets which stores image in SQL using FileUpload controlFileStream file = new FileStream(openFileDialog1.FileName, FileMode.Open,...
16 Aug 2012 by Wendelius
If you're looking for an alternative for the SQL Server Job Scheduler, for example because it's not included in the Express Edition, have a look at SQL Agent: A Job Scheduler Framework[^].That's also a good learning material.
28 Aug 2012 by Prasad_Kulkarni
hi.. i want know the code for cookies, how to use cookies in online polling application[^]How to create and destroy cookie on login page ?[^]how can i save cookies in pages[^]Get more results:Here[^] & on CP Search[^]
8 Sep 2012 by OriginalGriff
Have a look here: Sending an Email in C# with or without attachments: generic routine.[^] - it's a generic routine that works fine for me!
8 Oct 2012 by I.explore.code
You have got pretty much the right idea, ASP is definitely old and working with it and especially debugging can be a pain (at least IMO). There is no "best" way out really since there are literally dozens of options for web application development. RubyOnRails, Python, PHP, Java, ASP.NET etc and...
31 Jan 2013 by Pluto is a Planet
This is a pretty late response, but I had this very problem and neither of these answers were right. DBNull doesn't exist in Classic ASP, and there has to be a way to set SQL's DateTime fields to null (because if you don't set them from the beginning then they're already null).I spent about...
5 Mar 2013 by willington.d
Hi KavithaleYou have to remove the '=' in the for loop. b'cos "i" value is starting from 0. for example, if u have 10 records in a gridview. you have to consider 0 to 9for (int i = 0; i
26 Feb 2014 by ASP.NET Community
Asp Menu controls lacks to render its items which are set with dynamic visibility in Internet Explorer 8. Microsoft has also confirmed at Microsoft
24 Jun 2014 by Dave Kreskowiak
No, threading is NOT a good solution to this. ASP.NET code only runs when a request is received from a browser. It's not running all the time.This requirement is better done as a console application executed by the Scheduled Task service in Windows.
12 Oct 2014 by Maciej Los
Start with basics: ASP.NET Session State Overview[^]
19 May 2015 by Tomas Takac
Mind the operator precedence[^] - conditional operator has very low priority and only comes after + (concatenation). You can either use parentheses to change the evaluation or split it into multiple statements.sb.Append("Call Time: " + (searchResult[i].CreatedDate != null ?...
19 May 2015 by OriginalGriff
Operator precedence is the key here...Try this:object o = null;string s = "1" + o == null ? "2" : "3" + "4";string t = "1" + o != null ? "2" : "3" + "4";And compare the values of s and ts: "34"t: "2"The reason for this is that the "+" has a higher precedence than "?" - so the...
8 Sep 2015 by Wendelius
I really wouldn't advice doing this. If you need a growing sequence number, store the number separately. Have a separate column containing the number and increment it by one whenever needed. Based on your example the prefix "OP" looks like a static one but if it isn't then store the prefix in...
14 Sep 2016 by Suvendu Shekhar Giri
The easiest solution is to change the image url so that everytime it gets an unique URL.Try something like following example -MyImage.ImageUrl ="Images/NewImage1.jpg?" + DateTime.Now.Ticks.ToString();If this doesn't help then let me know.Thanks
22 Nov 2016 by Richard Deeming
The code you've shown is executing on the server.It might appear to work when you debug your code within Visual Studio, but that's only because the server and the client are the same machine in that specific instance.As soon as you deploy your code to a real server, it will break. At...
12 Dec 2016 by OriginalGriff
And if I try the Regex, it works - except it has a "/" character after the "end of string" indicator. Remove that, and it should work:@"^[0-9a-zA-Z\s]{0,30}$"
12 Dec 2016 by #realJSOP
Why not just write a string extension method that uses regular .Net classes/methods. it would be much more efficient than using Regex.public static bool ValidString(this string text){ bool result = true; if (text.Length
23 Aug 2017 by OriginalGriff
You added it to the class, but you don't appear to have a matching column in your database. As a result, SQL cannot handle any requests you make to that column. Add the column to the DB...
30 Jan 2020 by Lee P Richardson
Description of two ways to use LINQPad with ABP apps to solve performance problems
19 Feb 2020 by MadMyche
Take Classic ASP out of the mix for the time being, as what you are looking for at first will be what is on the HTML page the end user sees, and I think you are on the correct track with utilizing AJAX to accomplish this. I have seen similar...
8 Nov 2021 by honey the codewitch
Deep dive some advanced source generation in a real world application
28 Aug 2001 by Adrian Bacaianu
This article shows how to make one ATL COM component with crypt/decrypt functions and how to use it in ASP programs. It shows also how to register a component in MTS.
28 Mar 2009 by Hesham Desouky
A How to that demonstrates how to use RsClientPrint ActiveX control to print reports from Microsoft SQL Server Reporting Services
23 Mar 2010 by md1006
Hello,You need to use localization in your web site.Add resource file as shown in given links below.check these links:http://msdn.microsoft.com/en-us/library/c6zyy3s9.aspxAn Easy Introduction to Localization in ASP.NET 2.0Hope this will help you.
30 Mar 2010 by DaveAuld
See this blog entry and also check out the link at the bottom of it about the Flickr architecture.http://www.childofthemachine.com/blog/2008/02/image-storage-database-blob-vs-file-system/[^]
19 Aug 2010 by Al-Farooque Shubho
What you need is Asynchronous method invocation (Using BeginEnvoke and EndInvoke) and use IAsyncResult to get the result. You need to use a delegate to invoke the method (The delegate will have matching signature with the method, that will accept parameter). Internally, your asynchronous method...
7 Mar 2012 by Larry Boeldt
A VBScript class for calling Yahoo!'s Placefinder for geocoding
22 Sep 2010 by Brij
There is very good link at CP itself for person like you, who have just started ASP.NET.Beginner's Walk - Web Development
19 Nov 2010 by Ankur\m/
The problem with your code is:When you click the 'Dark' button, the JavaScript is called but the form and the other elements are not available at that time. So it gives an error: document.f.box1 is null or not an object.To make this code working, move if request("test")... part to below...
12 Jan 2011 by Espen Harlinn
Use Common Table Expressions:http://www.4guysfromrolla.com/webtech/071906-1.shtml[^]orBuilding hierarchy using Recursive CTE[^] by Hiren SolankiRegardsEspen Harlinn
14 Jan 2011 by Gil Fink
Book Review – HTML5: Up and Running
28 Feb 2011 by Shahriar Iqbal Chowdhury/Galib
Hi,use this code below. document.forms['form1'].submit();this will force submit the form. Hope this will help.
5 Mar 2011 by OriginalGriff
A couple of things for you:1) If you ask people nicely, they are a lot more willing to help.2) If you are rude, and try to give orders, they tend to be less helpful in response.3) If you just demand code, they are less helpful.So: reflecting on this, does "I need either a source code"...
14 Mar 2011 by Sandeep Mewara
:doh:I am sorry but there is no quick question here. This is your college assignment, you should put some effort.We expect you to put some time in trying the issue that you are facing and then some time in formulating the question while posting here. I see both missing. :doh:Here is...
17 Mar 2011 by Sandeep Mewara
How do all the flight information on this site They must have gathered all the information and must be updating the database with latest information all the time. For this, they might had also have a tie-up with them such that they can get easy information flow.Is it possible to share a...
22 Mar 2011 by Sergey Alexandrovich Kryukov
There is not such thing in HTML, ASP or Flash.If your can use .NET, you can use ASP.NET. With .NET, image recognition is available using System.Speech, name space System.Speech.Recognition. You should understand: you can bind this speech recognition language only on server side (who knows...
30 Mar 2011 by Sergey Alexandrovich Kryukov
Do you mean Concurrent Versions System? Forget it! It's long gone, replaced with Subversion and newer systems.Please see this discussion: Revision control systems, which to choose from?[^].—SA
4 Apr 2011 by Michael Bookatz
It looks like an IIS error. You need to config IIS to use the right start page or allow people to view the directory.
6 Apr 2011 by Monjurul Habib
http://www.dot...
6 Apr 2011 by Sandeep Mewara
Sounds like you want to know how to talk to server from Javascript. There are few ways to interact with server side through client side(Javascript):1. XMLHttpRequest[^]2. Callback[^]3. WebService call[^]4. PageMethod[^]
7 Apr 2011 by Mahendra.p25
Searched on google you can get answers to all your small questions :Server.Transfer() : client is shown as it is on the requesting page only, but the all the content is of the requested page. Data can be persist accros the pages using Context.Item collection, which is one of the best way...
2 May 2011 by yesotaso
Hi,What you see in designer is "01acdfb\\pallavi" and there is actually 1 "\" thereDo NOT confuse:strOriginal = "01acdfb\\pallavi";strOriginal_v2 = @"01acdfb\pallavi"; // There 2 are the same in nature they both have same stringthenstrReplace = strOriginal.Replace(@"\\", @"\");...
16 May 2011 by R. Giskard Reventlov
Yes: Here[^] is one way. Pretty sure I did use another method but that was many years ago and don't recall the detail.