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.


I have got the Prestigious Microsoft MVP award


I have got the Prestigious Microsoft MVP award

Hello everyone,
I am very happy to inform you all that I have got the most Prestigious Microsoft MVP(Most Valuable Professional)award today. I don’t have words to explain my feeling right now. this is all because of you all my friends and your good wishes that I have got this award. I would like ro thanks all friends who have supported me in each moment of my life…

MVP(Most Valuable Professional)award
Anil Kumar Pandey

you can see the announce lise here.. MVPS Announcement – October 2009

 

Introduction to Microsoft Visual C# 2008 Programming Language


Introduction to Microsoft Visual C# 2008 Programming Language

Microsoft released .NET Framework 3.5 on November 19, 2007. Along with it, was released Microsoft Visual Studio 2008. Microsoft Visual Studio 2008 – Code Name "Orcas", is the successor to Microsoft Visual Studio 2005. Visual C# 2008 is the member of Microsoft Visual Studio 2008 family, which get released along with Visual Basic 2008 and ASP.NET 3.5.

Visual C# 2008 is a modern, object-oriented, and type-safe programming language. C# has its roots in the C family of languages like C, C++. Visual Studio C# 2008 has capabilities for creating web and windows application. Enhanced features in the .NET Framework version 3.5 like Windows Communication Foundation, Windows Presentation Foundation, Windows Workflow Foundation along with Extensible Application Markup Language (XAML) and Silverlight improved capabilities of Visual C# 2008 to develop enhanced rich interactive applications (RIA).


Read the rest of this entry »

JavaScript Validation for Check box list


Here is the sample JavaScript code to demonstrate that how can we validate a checkbox list inside the aspx page. Just call function vldChkBoxlist() and it will validate your checkbox list.

function vldChkBoxlist()
{
var tableBody = document.getElementById(‘CheckBoxList1’).childNodes[0];
for (var i=0;i<tableBody.childNodes.length; i++)
{
var currentTd = tableBody.childNodes[i].childNodes[0];
var listControl = currentTd.childNodes[0];
if (listControl.checked =true)
{
listControl.checked = false;
}
return false;
}

Creating Images in .Net with Bitmap and Graphics objects


Creating images in .Net is not a big task.This can be done using a bitmap object & graphics object. Using thease objcts we can create our own images or any graphicle objects.

Public Void CreateImage()
{
System.Drawing.Bitmap objBMP = new System.Drawing.Bitmap(1500, 600);
 
System.Drawing.Graphics objGraph = System.Drawing.Graphics.FromImage(objBMP);
objGraph.Clear(System.Drawing.Color.Gray);
objGraph.DrawString("Hello Anil.", new System.Drawing.Font("Courier", 10), Brushes.Green, 70, 90);
objBMP.Save("D:\\Anil\\Sample.bmp", System.Drawing.Imaging.ImageFormat.Bmp); //Please provide your path here tp save the image
}

Finding Variations in a Words using regular expressions with .net


Finding Variations in a Words (like John, Johny, Jon, Jonathan) using regular expressions with .net

In this regular expression we are going to find out variations in a Words like John, Johny, Jon, Jonathan. Just take a look at above words they all same begining "jo".

Regular Expression Pattern

\b[jJ]o\w*\b

A description of the regular expression:

First or last character in a word
Any character in this class: [jJ]
o\w*\b
o
Alphanumeric, any number of repetitions
First or last character in a word

Sucessful Matches

John
Johny
Jon
Jonathan
joiee


Read the rest of this entry »