Programming Code Interview Questions
Questions Answers Views Company eMail

Coding for using Nullable Types in C#?

1 4962

Coding for Manipulate XML File Data Using C#?

1 7916

Code for Creating a Form Using PlaceHolder Controls?

Arena, JSA,

2352

How to get Dynamically Linked Comboboxes Set?

HCL,

2032

How to Snap the Cursor to a Button?

1 3169

How to use Client-side Script to Focus Controls in ASP.NET?

2366

Give coding for Implementing a Fixed GridView Header in ASP.NET?

1 8056

How to Create Scrollable Micro Windows?

2 4216

Coding for Synchronizing Cache Access in ASP.NET?

3124

How to Export Data to Excel?

Eastcom Systems,

4 9120

Give coding for Exception Handling Techniques in ASP.NET?

Microsoft,

3 8632

Coding for .NET Delegates?

2100

Code for IP Address Comparison and Conversion in C#?

3994

Code for Sending E-Mail with System.Web.Mail?

2 6652

Code for Getting Information About A File?

1 4516


Un-Answered Questions { Programming Code }

program for straight line(y=mx+c)

5556


A program that will create a movie seat reservation. The program will display the summary seats and its status. The user will be ask what seat no. to be reserved, then it will go back again to the summary to display the updated seat status. If the seat no. is already reserved then it will prompt an error message. And also if the input seat no is out of range then it will also prompt an error message. The program is continuously running. Termination of the program will depends on how the programmer will apply. Sample output: Movie Seats Reservation Summary of Seats: Seat 1: Available Seat 2: Available Seat 3: Available Seat 4: Available Seat 5: Available Enter seat no. (Press 0 to terminate Or the assigned seat capacity) : 1 Movie Seats Reservation Summary of Seats: Seat 1: Reserve Seat 2: Available Seat 3: Available Seat 4: Available Seat 5: Available Enter seat no. (Press 0 to terminate Or the assigned seat capacity) : 6 The Seat no. is out of range! Movie Seats Reservation Summary of Seats: Seat 1: Reserve Seat 2: Available Seat 3: Available Seat 4: Available Seat 5: Available Enter seat no. (Press 0 to terminate Or the assigned seat capacity) : 1 The Seat no. is already reserved! Movie Seats Reservation Summary of Seats: Seat 1: Reserve Seat 2: Available Seat 3: Available Seat 4: Available Seat 5: Available Enter seat no. (Press 0 to terminate Or the assigned seat capacity) : 0 GoodBye... Thank You!!!

1845


Write a Program to find whether the given number is a Armstrong number.

531


Explain MIDlet Life cycle?

2366


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.

4397






What is the functionality of GetWindowTextLength?

593


How to export 2 datatables of a single dataset to 2 different worksheets of a single MSExcel file ?

1943


How many digit have a Polaris 1995 300c.c. 2x4 nad how many have a Polaris 2007 300 c.c 2x4? And what site I can check this information???

2239


Coding for Synchronizing Cache Access in ASP.NET?

3124


Write code that allows to create only one instance of a class?

490


Can we change the validator-rules.xml for our own validations in struts??

2342


Teta-Omeg-Big-Oh Show that f(n) = n2 + 3n3 is ;(n3).

3191


create a .dll component operation and use created component in another project. required methods events and properties. connect, add,search,data report

2093


1+1/2!+1/3!+...+1/n!

1945


i want run following code on button click of view. i am trying to retrieve data from isc_order_details table and isc_product table. but after retriaval of data i m getting error like FIELD MUST BE ENTERED!! DECLARE m number; n number; CURSOR order_details IS SELECT PRODUCT_ORDER_QUAN,PRODUCT_ID FROM isc_order_details WHERE order_id=:isc_order_master.order_id; amount NUMBER (8,2):=0.0; alert number; BEGIN go_block('isc_order_details'); first_record; m:=:system.cursor_record; last_record; n:=:system.cursor_record; OPEN order_details; --for i in m..n loop FETCH order_details INTO :ISC_ORDER_DETAILS.PRODUCT_ORDER_QUAN,:ISC_ORDER_DETAIL S.PRODUCT_ID; IF order_details%FOUND THEN SELECT order_value,order_date INTO :ISC_ORDER_MASTER.ORDER_VALUE,:ISC_ORDER_MASTER.ORDER_D ATE FROM isc_order_master WHERE order_id=:ISC_ORDER_MASTER.ORDER_ID; SELECT product_desc,product_price INTO :ISC_ORDER_DETAILS.PRODUCT_DESC,:ISC_ORDER_DETAILS.PROD UCT_PRICE FROM isc_product WHERE product_id=:ISC_ORDER_DETAILS.PRODUCT_ID; next_record; END IF; EXIT WHEN order_details%NOTFOUND; END LOOP; last_record; CLOSE order_details; EXCEPTION when NO_DATA_FOUND then alert:=SHOW_ALERT('ENTER_DATA'); Go_Item('isc_order_master.order_id'); END;

1878