Archive for October, 2007

Microsoft Certification

Friday, October 12th, 2007

1. Visual Studio .Net

a. MCTS: .NET Framework 2.0 Web Applications Candidates for this certification must pass two exams, one focusing on .NET Framework 2.0 foundational skills and one focusing on Web-based client development.
Exam-1 (70-536): MCTS Self-Paced Training Kit (Exam 70-536): Microsoft .NET Framework 2.0–Application Development Foundation
Exam-2 (70-528): MCTS Self-Paced Training Kit (Exam 70-528): Microsoft .NET Framework 2.0 Web-Based Client Development

b. MCPD: Web Developer MCPD: Web Developer candidates must first complete the requirements for the MCTS: .NET Framework 2.0 Web Applications certification (two exams).

After earning this certification, candidates may earn their MCPD: Web Developer by passing one additional required exam. If you are a Microsoft Certified Application Developer (MCAD), you can upgrade to the MCPD: Web Developer certification by taking one upgrade exam, Exam 70–551: UPGRADE: MCAD Skills to MCPD: Web Developer by Using the Microsoft .NET Framework. By passing this upgrade exam, you will automatically obtain the relevant MCTS prerequisite, MCTS: .NET Framework 2.0 Web Applications.

Exam-1 (70-547): MCPD Self-Paced Training Kit (Exam 70-547): Designing and Developing Web-Based Applications Using the Microsoft .NET Framework

What is a Value Type ?

Friday, October 12th, 2007

The simplest types in the .NET Framework, primarily numeric and Boolean types, are value types. Value types are variables that contain their data directly instead of containing a reference to the data stored elsewhere in memory. Instances of value types are stored in an area of memory called the stack, where the runtime can create, read, update, and remove them quickly with minimal overhead.
There are three general value types:
- Built-in types
- User-defined types
- Enumerations

Each of these types is derived from the System.Value base type.

Fill HTML DropDown Using Javascript

Sunday, October 7th, 2007

function FillDropDown()
{
document.frm.dropdown1.innerHTML = “”;
var option1 = document.createElement(‘option’);
option1.appendChild(document.createTextNode(“— Please Select —”));
option1.setAttribute(‘value’, “”);
document.frm.ddType.appendChild(option1);
for(var x = 1; x <= 3; x++)
{
var option = document.createElement(‘option’);
option.appendChild(document.createTextNode(“cat-”+ x));
option.setAttribute(‘value’, x);
document.frm.dropdown1.appendChild(option);
}
}

How to print contents of DataGridView

Friday, October 5th, 2007

Hi all,

I am developing a windows based application in C#.Net and using DataGridView 2.0 in my application. What the problem is, I need to print the contents of that dataGridView. I do search alot regarding that but no success.

Anyone having idea about that kindly reply me.

Thanx to all.

JavaScript to Check Characters in a String

Friday, October 5th, 2007

//The function given below is use to validate the string in correct format or not. In case of correct format the function will return true as result otherwise will return false.

<script language=’javascript’ type=’text/javascript’>

function IsLettersDigitsChars(strString)
{
       var strValidChars = “?0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ,()_&-. \n”;
       var strChar;
       var blnResult = true;
       if (strString.length == 0) return false;
       //  test strString consists of valid characters listed above
       for (i = 0; i < strString.length && blnResult == true; i++)
       {
             strChar = strString.charAt(i);
             if (strValidChars.indexOf(strChar) == -1)
             {
                      blnResult = false;
             }
       }
       return blnResult;
}

</script>