Your online reputation is important

Your online reputation is important You should know that it takes decades to make your reputation but to ruin it you need just couple of minutes and this is truer for your online image where it’s destroyed before you know it. Internet never...

Basics of Cookies is Asp.Net

Basics of Cookies is Asp.Net Through this article you are able to know about the following points:1> What are the cookies?2> How to write and read cookies 3> Limitation of cookies 1>What are cookies? Let us take an example. You request for a...

Learn ASP

  Introduction A Web server hosts information in the form of HTML files. The Web server is usually passive and merely acts as an efficient interface between the Web browser and the information stored on the Web server. Web pages are usually...

Best language to learn

Best language to learn .NET language is the best thing to learn. It has somewhat similar syntax as java and it’s a Microsoft Technology moreover it was designed to capture market over Sun and it’s doing that quite well so on the long run it's...

Avoid Three Things When You are Emailing Your List

If you decide to have an  opt-in list is not just a matter of sending your subscribers your promotional newsletters or catalogs. There are several things to look at the prevention of many complications. While many opportunities exist, people can...

how to configure MVC framework to Asp.Net 3.5

To follow this step: 1. Download Asp.Net 3.5 framework sp1 and install it. 2. Download AspNetMVC1 then install it. 3. For Nunit test download nunitProjecttemplate file .  To install nunitprojecttemplate file  Follw this step:        3.1 extact...

make a school result program in C sharp

using System;class Addition{ int H,E,M,sc,sn,so=0; int sum=0; float per=0; public void insert() { Console.WriteLine("Enter your Value of Hindi"); H=Convert.ToInt32(Console.ReadLine()); Console.WriteLine("Enter your Value of English");...

how to claculate Prime No.

using System;class prime{ int i,c,b; void insert() { Console.WriteLine("Enter your value"); b=Convert.ToInt32(Console.ReadLine()); for(int j=1; j

how to make a calculator

using System;class calculator{ int a=0, b; char option, d='y'; void insert() { while (d=='y') { option=Convert.ToChar(Console.ReadLine()); switch(option) { case '+': b=Convert.ToInt32(Console.ReadLine()); a=a+b; Console.WriteLine("Result of...

Use of Comments in Programming

Use of Comments in Programming This question may be arising in your mind about comment word. You might be thinking that why to use the comment in the program and what is the use of comments? Whether it is a part of program or whether it is...

List of Keywords in Visual Studio C Sharp

List of Keywords in Visual Studio C Sharp abstract     as        base         bool        breakByte         case      catch        char        checkedclass        const     continue     decimal     defaultdelegate     do        double      ...

How to create console application program in csharp

Tutorial on How to create my first C# console application in Microsoft Visual Studio   This Tutorial is basically for the begineers of C#. This tutorial is only for C sharp learners. To create a console application program follow the following...

Swap Data Table using vb.net

Public Function SwapTable(ByRef dt As DataTable, ByVal col As Integer) As DataTable Try Dim dtTemp As New DataTable Dim inti, intj As Integer dtTemp.Columns.Clear() dtTemp.Columns.Add(dt.Columns(col).Caption) For inti = 0 To dt.Columns.Count...

Code for DropDownList in asp.net

using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Web.UI.HtmlControls; public partial...

Function to Get Cookies and Session Variable in .net

Public Function GetSessionVar(ByVal pASPSessionVar As String) As String        Dim pASPCookieName As String        Dim pASPCookieValue As String         If Not GetSessionCookie(pASPCookieName, pASPCookieValue) Then            Return ""        End...

String Fuction to get Alphbetic and Alphnumeric String

 Public Function GetAlphabeticString(ByVal pStrText As String, ByVal pCharCase As TextCases, ByVal pLength As Integer) As String        If pLength > 0 Then pStrText = trimString(pStrText, pLength)        Return GetAlphabeticString(pStrText,...

Export to PDF function in vb.net

#Region "ExporttoPDF"     Public Sub ExportToPDF2(ByVal strRptName As String)        Dim strParam As String = ""        Dim strPath As String = Application.StartupPath        Dim objFS As Object        Dim strPDF As Boolean = True        Dim...

Open and Close Connection Code in .net

this is simple example to open and close connection in .net just use it with out hesitation and do not forget to include required name space like using System; using System.Data.SqlClient;using System.Data;   namespace Common{    public class...

Insert Grid Details Code of .net Functions

This is code to insert Grid details in vb.net you can use this function in common class. you also need to declare required variable globally. public Boolean InsertGridDetails(ref DataTable dt, string TableName, String PkValue, string...

Visual Sutdio 2010 Features

One of the interesting new features in Visual studio 2010 is that Microsoft has rewritten the code editor, and it's now 100% Windows Presentation Foundation (WPF). Because of this, they were able to add some exciting new features to the editor that...

Powered by CjBlog