In the Design view in Visual Studio 2005 of an ASP.NET web
page, what is the easiest way to create an event handler for
the default event of an ASP.NET server control?
hello friends, given an expression we have to remove the
unwanted brackets in that expression.
Eg : (a+b) ---> a+b
(a+b)*(c)-----> (a+b)*c. Please mail me if you know
the logic. My mail id is : saravana6m@gmail.com.
Thank you in advance :-)
I am developing a web application using google map api.I
want to update the map inside the div control within update
panel. I got other controls updated but map doesn't get
updated.I do not not want to update map whenever unnecessary
controls are fired at server side.How could it be achieved?
Given a table of the form:
Product Sold on
A 1/1/1980
B 1/1/1980
C 1/1/1980
A 1/1/1980
B 1/1/1980
C 2/1/1980
A 2/1/1980
There are 30 products and 10,000 records of such type. Also
the month period during which sales happened is given to u.
Write the program to display the result as:
Product Month No. of copies
A January 12
A February 15
A March 27
B January 54
B February 15
B March 10
C January 37
Definition of priority queue was given. We have to implement
the priority queue using array of pointers with the
priorities given in the range 1..n.
The array could be accessed using the variable top. The list
corresponding to the array elements contains the items
having the priority as the array index.
Adding an item would require changing the value of top if it
has higher priority than top.
Extracting an item would require deleting the first element
from the corresponding queue.
The following class was given:
class PriorityQueue
{
int *Data[100];
int top;
public:
void put(int item, int priority); // inserts the item with
the given priority.
int get(int priority); // extract the element with the
given priority.
int count(); // returns the total elements in the priority
queue.
int isEmpty(); // check whether the priority queue is empty
or not.
};
We had to implement all these class functions.
An array of size 5X5 is given to us. The elements from 1 to
25 are to be inserted in the array, such that starting from
a particular position for an element i, the next element
i+1can be inserted only at the mentioned positions (u,v),
and if these all positions are occupied then it returns
giving a count of how many positions have been occupied in
the array:
(u,v) = (x+/-3 , y)
(u,v) = (x , y+/-3)
(u,v) = (x+/-2 , y+/-2).
Example: if the starting element is 1 with the given
positions (1,2), then next element 2 can be placed at any
one of the positions marked with *.
_ _ _ _ _
1 _ _ _ *
_ _ _ _ _
_ _ * _ _
* _ _ _ _
You are given any character string. Find the number of sets
of vowels that come in the order of aeiou in the given
string. For eg., let the given string be DIPLOMATIC. The
answer returned must be "The number of sets is 2" and "The
sets are "IO and AI". Vowels that form a singleton set must
be neglected. Try to post the program executable in gcc or
g++ or in java.
Performance
Algorithm A performs 10n2 basic operations and algorithm B
performs 300 lg n basic operations. For what value of n does
algorithm B start to show its better performance?
How to get the version(major,minor,revision ) of VB6.0
delphi code .I am able to fetch dll file of vb6.0 but not
vba file .Can u send me the code snippet in delphi to get
the value for vb6.0.
363
code to detect versions of different browsers like internet
explorer, netscape, mozilla, opera etc
167
WORKING STORAGE
01 WS-LENGTH PIC 9(1) VALUE 5.
01 DFHCOMMAREA.
COPY ABCDEF
(COPYBOOK ABCDEF IS HAVING ONLY ONE VARIABLE OF LENGTH X
(100).)
..
PROCEDUER DIVISION.
...
EXEC CICS XCTL
PROGRAM (WS-PGM)
COMMAREA (DFHCOMMAREA)
LENGTH (WS-LENGTH)
RESP (WC-RESPONSE)
END-EXEC
1. What will be the value of EIBCALEN in program ABCDEF?
2. What will be length of commarea when in ABCDEF?
3. Will such a code thow any error while linking to called
program?
Thanks in Advance
84
Code for Presenting Parent/Child Data in a Data Grid Row?
340
how to pass data between pages using Frames
258
Write a program to implement the motion of a bouncing ball
using a downward gravitational force and a ground-plane
friction force. Initially the ball is to be projected in to
space with a given velocity vector
508
We need to write the function to check the password
entered is correct or not based on the following
conditions..
a) It must have atleast one lower case character and one
digit.
b)It must not have any Upper case characters and any
special characters
c) length should be b/w 5-12.
d) It should not have any same immediate patterns like
abcanan1 : not acceptable coz of an an pattern
abc11se: not acceptable, coz of pattern 11
123sd123 : acceptable, as not immediate pattern
adfasdsdf : not acceptable, as no digits
Aasdfasd12: not acceptable, as have uppercase character
41
Implement a t9 mobile dictionary.
(Give code with explanation )