Wednesday, 22 August 2012

how to solve Error :Unable to connect: incorrect log on parameters

how to solve Error :Unable to connect: incorrect log on parameters
in asp.net when we  run program for crystal report then this problem might come so i m wondering how  to sole this kind of error..if any one got please replyLogon failed. Details: crdb_adoplus : Object reference not set to an instance of an object. Error in File C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\temp_ad5664c4-2542-42ab-939f-4357a392e7ec...

How to display crystal report in pdf | Exel | Word format | With Code

How to display crystal report in pdf | Exel | Word format | With Code
We can display crystal report in many format like pdf format , Exel Format . Word Fortmat.Now using below code you can develop logic to display record in Browser also.Import the following important namespaceusing CrystalDecisions.CrystalReports;using CrystalDecisions.Shared;using CrystalDecisions.ReportSource;using...

javascript program find the coordinate of two axis | code

javascript program find the coordinate of two axis | code
javascript program find the coordinate of two axis | code
<script>
function xycod()
{ var x1,y1;
x1=event.clientX;
y1=event.clientY;
alert("x-coordinate="+x1+" "+"y-coordinate="+y1);
}

How to calculate Area ,Perimeter of Rectangle ,Triangle , and Square with formula IN PHP

How to calculate Area ,Perimeter of Rectangle ,Triangle , and Square with formula IN PHP
How to use sqrt in php.Formula to calculate Area and Perimeter of Rectangle ,Triangle , and Square.Logic to develop Code in Php.<?phpecho"<h1>RECTANGLE</h1>";$l=30;$b=40;$area=$l*$b;$peri=2*($l+$b);echo "AREA: ".$area."<br>";echo "PERIMETER: ".$peri."<br>";echo"<h1>SQUARE</h1>";$S=30;$peri=4*$s;$area=$s*$s;echo...

How to calculate Area ,Perimeter of Rectangle ,Triangle , and Square with formula IN PHP

How to calculate Area ,Perimeter of Rectangle ,Triangle , and Square with formula IN PHP
How to use sqrt in php.Formula to calculate Area and Perimeter of Rectangle ,Triangle , and Square.Logic to develop Code in Php.<?phpecho"<h1>RECTANGLE</h1>";$l=30;$b=40;$area=$l*$b;$peri=2*($l+$b);echo "AREA: ".$area."<br>";echo "PERIMETER: ".$peri."<br>";echo"<h1>SQUARE</h1>";$S=30;$peri=4*$s;$area=$s*$s;echo...

Circular linked list | malloc(sizeof) | deletion | insertion code

Circular linked list | malloc(sizeof) | deletion | insertion code
/* Program for implementation of circular linked listand operation on cicular linked list */# include <stdio.h># include <malloc.h>struct node{int info;struct node *link;}*last;void create(int data){struct node *q,*temp;temp=malloc(sizeof(struct node));temp->info=data;if(last==NULL){last=temp;temp->link=last;}else{temp->link=last->link;last->link=temp;last=temp;}}void...

Conversion from infix to postfix and prefix expression | priority method and evaluation of postfix and prefix expression | Output

Conversion from infix to postfix and prefix expression | priority method and evaluation of postfix and prefix expression | Output
conversion from infix to postfix and prefix expression | priority method and evaluation ofpostfix and prefix expression | Output/* How to  convert from infix to postfix and prefix expressionby priority method and evaluation of postfix and prefix expression */#include<stdio.h>#include<conio.h>#define...

operation on linked list | Reverse | insert | add | delete | search

operation on linked list | Reverse | insert | add | delete | search
Data structure Program | operation on linked list | Reverse | insert | add | delete | search #include<stdio.h>#include<conio.h>#include<malloc.h>struct node{int info;struct node *link;}*start;void create(int data){struct node *q,*temp;temp=malloc(sizeof(struct node));temp->info=data;temp->link=NULL;if(start==NULL)start=temp;else{q=start;while(q->link!=NULL)q=q->link;q->link=temp;}}void...

Monday, 20 August 2012

dynamic programming | Knapsack problem | multistage graph principle of optimality interview question papers

dynamic programming | Knapsack problem | multistage graph principle of optimality interview question papers
dynamic programming  | Knapsack problem  | multistage graph  principle of optimality interview question papers1.what is actual  dynamic programming ?2. principle of optimality .3.how to write  the multistage graph problem.4.find the minimum cost path from “S” TO “T”...

Backtracking ,N-queens problem, Hamiltonian cycles, m-coloring of graph, interview

Backtracking ,N-queens problem, Hamiltonian cycles, m-coloring of graph, interview
1.what is backtracking ?explain the implicit and explicit constraints.2.define the following1.state space tree2. Problem state3.solution state4.answer state5. live node6.E.node7.DEAD NODE8.chromatic number of graph3.describe 4-queens problem .draw and explain the portion of the tree for 4-queen...