Friday, November 23, 2012

ASP.NET PAGE LIFE CYCLE

ASP.NET Page Life Cycle          A Page in an ASP.NET application consists of server controls. There  are the fundamentals building blocks of an ASP.NET application. The life cycle of an ASP.NET page, depends on whether the page is requested for the first time or it is postback. Postback is a process by which a page can request for itself.When The Page Is Requested For The First Time The life cycle of a page when requested for the first time:Initializing...

Key Features of C-Sharp(C#)

Key Features of C-Sharp(C#) Simple :                It simplifies C++ by eliminating irk some operator such as ->, : : and pointers. Consistent :                    It support an unified type system which eliminates the problem of varying ranges of integer types. All types are treated as object and developers can extend the type system simply and easily.Modern :               ...

CLR Architecture

CLR Architecture           The source code that is written is compiled to an intermediate code called the byte code(in java) or the Common Intermediate Language(in .Net). Either the Java Virtual Machine or the Common Language Runtime (CLR) is used to compile the code to the intermediate form.While executing the program, i.e., the intermediate code,...

Thursday, November 22, 2012

C PROGRAM FOR REPLACING STRING

/* C PROGRAM FOR  REPLACING STRING*/ #include<stdio.h> #include<conio.h> #include<string.h>  void main()  {           int slen,sublen,newlen,reslen,m,k,i,j,temp;           char str[40],substr[20],newstr[20],resstr[25];           clrscr();           printf("\n\t\t STRING REPLACING");           printf("\n\t\t...

C PROGRAM FOR SALES REPORT

/*  C PROGRAM FOR  SALES REPORT */ #include<stdio.h> #include<conio.h> #include<string.h> void main() {      int sal[5][5],s,p,i,j,row,col,temp,per,avg;      char s_men[10][30],pr[10][30],waste[33];      clrscr();      printf("\n\t\t SALES REPORT");      printf("\n\t\t -------------");      printf("Enter how many salesman:");      scanf("%d",&s);     ...

C PROGRAM FOR BOOK SEARCHING AND SORTING

/* C PROGRAM FOR BOOK SEARCHING AND SORTING*/ #include<stdio.h> #include<conio.h> #include<string.h> void newentry(); void sort(); void search(); void list(); struct books {     char authname[50];     char title[50]; }b[10]; int c=1; void main() { int k,i,ch,n; char w[30]; clrscr(); printf("\n\t\t\tBOOK OPERATION\n"); printf("\n\t\t\t--------------\n"); printf("\nEnter how many book you want to enter:"); scanf("%d",&n); for(i=0;i<n;i++) newentry(); while(1) {  clrscr();  printf("\nMain...

C PROGRAM FOR BANK OPERATION USING FUNCTIONS

/* C PROGRAM FOR  BANK OPERATION USING FUNCTIONS*/ #include<stdio.h> #include<conio.h> int amt=10000,b,w,d,n; void deposit() {      printf("Enter amount\n");      scanf("%d",&d);      amt=amt+d;      printf("Your amount is:%d\n",amt);  } void withdraw() {      printf("Enter amount\n");      scanf("%d",&w);      if(amt>=100)      {       amt=amt-w;       printf("Your...

C PROGRAM FOR STUDENTS MARKSHEET USING STRUCTURES

/*  C PROGRAM FOR STUDENTS MARKSHEET USING STRUCTURES */ #include<stdio.h> #include<conio.h> struct stu {       int rn,grade,a[5];       float avg;   }s[2]; void main() {       int i,j,sum,n;       float avg;       clrscr();       printf("\t STUDENT MARKSHEET USING STRUCTURES\n\n");       printf("Enter the no of students");       scanf("%d",&n); for(i=0;i<n;i++) {       scanf("%d",s[i].rn); for(j=0;j<=5;j++) {       scanf("%d",&s[i].a[j]);   ...