Tips n Tracks

  • Increase font size
  • Default font size
  • Decrease font size
  • default color
  • black color

Reference

Sample image

Microsoft .NET Framework Get Details.

Sample image

Microsoft .NET Framework Get Details.

Reference

Sample image Microsoft .NET Framework Get Details.
Sample image

Microsoft .NET Framework Get Details.


Text and Data Manipulation with Regular Expressions in .NET Development


Text and Data Manipulation with Regular Expressions in .NET Development

Regular expressions(or regex) is a language used for more sophisticated form and text processing. They are often used to perform complex search-and-replace operations, and to validate that text data is well-formed. Today, regular expressions are supported by most programming languages, as well as many scripting languages (like Perl, ASP, Visual Basic, .NET, C#, Java, JSP, PHP,Python, ColdFusion, Tcl, Ruby and many other languages), editors (EmEditor, TextPad), applications (Microsoft Word, Microsoft Excel, StarOffice, OpenOffice), databases(MySQL, SQL Server), and command-line tools.

Here we see a hands on approach to solve the needs of the majority of RegEx to manipulate data. I have try my best to provide ready to use source for lattest version of ASP.NET, VB.NET, C#.NET. All the example described here are tested with Visual Studio 2008. I have try to cover all important and mostly used regular expressions. If you face with any error or you have new idea which needed to be cover here. Please drop your feedback for me. Ok!, let’s get started…


Read the rest of this entry »

Learning JavaScript tutorial – JavaScript Variables


Learning JavaScript tutorial – JavaScript Variables

JavaScript Reserved KeyWords are part of the JavaScript language syntax. JavaScript Reserved KeyWords has special meanings and used to instruct JavaScript interpreter to perform a specific pre define task. JavaScript has some reserved keywords which can not be used as an identifier. Using JavaScript Reserved KeyWords as an identifier for variable names, function names, and loop labels results in error.

Table 1 -JavaScript 1.5 Reserved KeyWords
abstract boolean break byte case
catch char class const delete
debugger default delete do double
else enum export extends false
final finally float for function
goto if implements import in
instanceof int interface long native
new null package private protected
public return short static super
switch synchronized this throw throws
transient true try typeof val
var void volatile while with


Read the rest of this entry »

Learning JavaScript tutorial – JavaScript Variables


Learning JavaScript tutorial – JavaScript Variables

JavaScript Variables are the main building blocks of JavaScript Scripting language. JavaScript Variables are used for storing (contains) the data (value) and manipulate that data in your programs.

Every JavaScript variable has a name, called its ‘identifier’ and optional data called ‘Literals’. JavaScript Variables are declared using JavaScript ‘var’ keyword. JavaScript var keyword allocates storage space for variable to store data. Multiple variables can be declared with one JavaScript ‘var’ keyword. The main advantage of JavaScript variable is, it can hold a value of any data type. Using an undeclared variable causes an error. The best practice of defining JavaScript Variables is with assigned initial values.

var intNum;  //variable intNum is declared
var intNum=10; //variable declared with assigned initial values
var x=5, y=4, z=x+y; //multiple variables with one var keyword


Read the rest of this entry »

Learning JavaScript tutorial – JavaScript Literals and Identifiers


Learning JavaScript tutorial – JavaScript Literals and Identifiers

JavaScript Literals

JavaScript Literals are the notation for representing a fixed data value that appears directly in a JavaScript program. JavaScript Literals helps us to assign values (initialize) to various JavaScript Data Types and Variables; such as integers, floating-point numbers, strings, and Booleans; enumerated Data Types and compound values such as arrays, records, and objects.

var intNum = 82    // 82 is a integer literal
var PI = 3.14        // 3.14 is a float literal
var strInfo="This is a string" // this is a string literal
var strGreet=‘Hello!’;   // another string literal
var isMale=true          // A Boolean value literal
var arrAnimal={"cat","dog"}    // array literals


Read the rest of this entry »

Learning JavaScript tutorial – JavaScript Comments


Learning JavaScript tutorial – JavaScript Comments

JavaScript Comments allows us to add remarks and a well written explanation about the working of JavaScript code. JavaScript Comments make the code more readable, understandable for future reference. Commenting your JavaScript code makes it easier for others to understand. To increase re-usability of a JavaScript code be, sure to include comments in your scripts. Commenting your JavaScript code is the best practice of JavaScript programming and suits to your aspect of good programming style.

Any comments you include in your JavaScript code will simply ignored by the JavaScript interpreter. JavaScript supports both C++ and C-style comments. JavaScript supports two types of comments, Single-line comments and multiple-line comments.


Read the rest of this entry »

Learning JavaScript tutorial – Lexical Structure and Statements


Learning JavaScript tutorial – Lexical Structure and Statements

A JavaScript statement is a command to a web browser to perform specific task define (program written) by the user. JavaScript Statements are written with the set of elementary rules that specifies how to write JavaScript programs. A JavaScript program is a set of one or more statements. A statement will have internal components like Variables, Literals, Identifier, reserved keywords, Comments, conditional statement, Arrays, Functions, Objects, Classes etc

JavaScript is case sensitive, in the most of cases JavaScript Statements terminated with a semicolon(;) or with Returns(Enter or line-break). Even though semicolon is optional, JavaScript Statements terminated with a semicolon(;) is the best practice of JavaScript programming.

var txtName="I love JavaScript";
var intNum=10

semicolons allows us to group multiple statements on one line.


Read the rest of this entry »