PRODUCT SPOTLIGHT This is an addition to my series of blog posts on jQuery Mobile: jQuery Mobile Introduction & Tips To Get Started jQuery Mobile Getting Started So, if you've been following my posts so far, you should have a good overview of jQuery Mobile, it's documentation, how to set up your Visual Studio environment, and the structure of a jQuery Mobile page. Today, I'm going to...
This is an addition to my series of blog posts on jQuery Mobile: jQuery Mobile Introduction & Tips To Get Started jQuery Mobile Getting Started jQuery Mobile Login Dialog Box So, if you've been following my posts so far, you should have a good overview of jQuery Mobile, it's documentation, how to set up your Visual Studio environment, the structure of a jQuery Mobile page, and how to...
Like I said in my last blog post, jQuery Introduction & Tips , I've been following the development of jQuery mobile for some time now. And now that it's finally been released, I've decided to make some blog posts to help you get started. In today's post, I'm going to show you how to quickly set up your Visual Studio Environment to start using jQuery Mobile. First, you'll want to crea...
I've been closely following the development on the jQuery mobile since it's announcement -- and now that jQuery Mobile 1.0 Alpha 2 has been released, I though it would be a good time to see how things are going to work with ASP.NET. After taking a look through the documentation, I decided to dig in and start creating a mobile site for CodeAsp.Net. After a few hours of tinkering, I've fou...
I've always thought that these word clouds were pretty neat, and if you're new to these (and living under a rock)... here's how it works. The clouds give greater prominence to words that appear more frequently in the source text. So, when I input the CodeAsp.Net website, this is what pops out. Pretty neat...huh? You can make your own word cloud here :
Before we start with how to write to a file in C# one should know about File, FileStream and StreamWriter classes and the methods and properties they have. Also about FileAccess and FileMode enumeration. In order to write to a file, we need to open the file for writing. It is similar to opening a file for reading. For Ex: FileStream fstream= File.Create(@"c:\samplefile.txt"); It creates ...
Before we start with how to read from a text file in C# one should know about File, FileStream and StreamReader classes and the methods and properties they have. Also about FileAccess and FileMode enumeration To open a file we use open method of File class by specifying the path to the file. To read the contents of the file, we also use the FileMode.Open enumeration member and FileAccess...
In this blog, I will explain the "while" and "do while" loop and the difference between them. The " While" loop The "while" loop is used in a scenario when one is not sure in advance about how many times the loop needs to be executed. The "while" loop executes a statement or block of statements as long as the condition is true. It is also called entry controlled loop. Syntax of while loo...
Using "Try Catch and Finally" is one of the methods of handling errors in ASP.NET. Try Catch and Finally are three blocks of code, with each block having it's own functionality. The "Try" block encloses the code that can throw an exception when some kind of error occurs in the logic. Whereas, the "Catch" block handles exceptions or errors that occur in the "Try" block. "Finally" block is...
The "for" loop enables the user to iterate through a series of values to perform a task a specified number of times. In order to implement "for" loop, one should know in advance about how many times the loop is to be executed. It is also called count controlled loop. Syntax of for loop is: for(initialization,conditional expression,increment) { statement } where for : is a reserved word i...
First of all, in this post, I'm going to show you how to configure XHTML Rendering in ASP.NET Web Sites. Ok so...if you've been reading any of my previous posts or emails, you may know that there are times where I come up against a programming problem that I just cant seem to fix...and I tend to be famous for "banging my head against the wall" until a solution pops out. Just so you know....
>> UPDATE << From now until May 31, 2009 April 30, 2009 , use the Promotion Code at the bottom of this post to obtain a Microsoft Certification Exam Voucher Code at a 10% discount. And, if you fail the test, you'll get a free "retake." Yea, that's right... You get 10% off a Microsoft Certification exam. Now, this offer is for our India members only. (Sorry to those this doesn...
RSS, which you probably already know, stands for Really Simple Syndication. It is a technology that enables you to syndicate content using an XML structured document. After you establish a connection with certain website, you will receive links to the stories and news on certain page or section of the website along with a short summary or description of the information. When you click th...
You may come across an instance in your C# and ASP.NET programming where you need to download an external webpage and parse the meta tags... specifically, the "Title," "Meta Description," and "Meta Keywords." The method below will show you how to: download an external webpage parse the meta title parse the meta description parse the meta keywords The parsing is done using regular express...
If you havent heard the news, JQuery, one of the most popular javascript libraries on the web has added support for integration with Visual Studio. And Microsoft will be shipping JQuery with Visual Studio. Now, I've been using JQuery for some time now...and have absolutely fell in love with it. The ease and elegance of adding functionality with the library is simply amazing. Also, since ...
When you need to validate a small amount of logical evaluations the "if / then" statement will usually suffice. However, when you need to validate more and more logical evaluations a switch statement is going to be more managable. Here is the syntax for a C# switch statement: switch (value) { case 1: //do stuff break; case 2: //do stuff break/jump default: //do stuff break/jump } ...and ...
I was doing a database migration from a shared hosting plan to a MOSSO database and ran into an issue regarding MSSQL object ownership. When the database was originally installed, it was installed under a user other than the "dbo" user. Since MOSSO has specific naming conventions, it was impossible for me to just recreate this user in their system. So, this left me with a ton of tables, ...
C# credit card validation class Here a quick hitter for you - this little piece of code allows you to validate a credit card (in C#) before submitting for processing. This should work with Visa, Mastercard, Discover, and American Express. I'm not really sure where this came from...or if I even wrote this. I can't remember. But I hope it helps you in your everyday programming. using Syste...
In my last blog post, " CSS Reset - What is it? " I covered and explained exactly what a CSS Reset is, I gave you some CSS code to make it happen, and showed you where to put it in your CSS file. If you haven't read that post, go read it now because this post picks up where that one left off. So...now that you have the CSS reset code incorporated in your CSS file, your going to have to d...
Since the fine line between CSS/HTML coders and ASP.NET developer is becoming thinner everyday, I like to encourage all ASP.NET developers to become familiar with CSS. As you may know (or may not know) the major browsers (IE, Firefox, Safari) all use different HTML/CSS rendering engines. And because of this, they all interpret HTML and CSS a little differently. Now, the primary goal of a...
It's fast, easy and free! Submit articles, get your own blog, ask questions & give answers in the forums, and become a better developer, faster.
enter your email address:
What kind of email newsletter would you prefer to receive from CodeAsp.Net?18