Dot Net Code Interview Questions
Questions Answers Views Company eMail

how does the below eqation proceed to be solved: x*=y+z options: x=x*y+z or x=x*(y+z)

1 3479

how to insert fname,lname,designation values into database while click on the submit button using windows authentication mode?

2172

Create a class called Accounts which has data members like ACCOUNT no, Customer name, Account type, Transaction type (d/w), amount, balance D->Deposit W->Withdrawal If transaction type is deposit call the credit(int amount) and update balance in this method. If transaction type is withdraw call debit(int amt) and update balance. Pass the other information like Account no,name,Account Type through constructor. Call the show data method to display the values.

Cognizant,

1 5824

what is software testing

TCS,

1 3659

c# code to Count number of 1's in a given range of integer (0 to n)

4277

IS Array list is generic or non generic

1 3610

program for check the given number is prime or not in VB.net

2676

Using C# Write a program that performs the following. The user inputs a number and then enters a series of numbers from 1 to that number. Your program should determine which number (or numbers) is missing or duplicated in the series, if any. For example, if the user entered 5 as the initial number and then entered the following sequences, the results should be as shown. Input Sequence Output ---------------------- --------------- 1 2 3 4 5 Nothing bad However, if 7 were the high number, the user would see the results on the right for the following number entries: Input Sequence Output ---------------------- --------------- 1 3 2 4 5 Missing 6 Missing 7 And if 10 were the high number and the user entered the numbers shown on the left, note the list of missing and duplicate numbers: Input Sequence Output ---------------------- --------------- 1 2 4 7 4 4 5 10 8 2 6 Duplicate 2 ( 2 times) Missing 3 Duplicate 4 ( 3 times ) Missing 9 The program should check the high number that the user inputs to ensure that it does not exceed the size of any array you might be using for storage.

3682

How to add a value from textBox over an existing certain column in SQL Server

2230


Un-Answered Questions { Dot Net Code }

program for check the given number is prime or not in VB.net

2676


I have this code in leftmenu.ascx page..now on leftmenu.ascx.cs page i want to access id values. but i dont want to check manually like Accommodation,Arts etc.. In cs file my code is like string str[]; //this array contains some values say 10 strings for(i=0;i<100;i++) { if(str[i]==id id.visible=true } i.e.i want to travel for each element of str and each value of id.if they match then id.visible=true how to do?

3792


Coding for .NET Delegates?

2071


Code for Searching for Multiple Matches with the MatchCollection Class?

2949


Give the code for Handling Mouse Events?

1859






Code for Communicating over Sockets?

1920


Code for IP Address Comparison and Conversion in C#?

3971


how to track links visited in google using iframes

2253


Write a function which accepts list of nouns as input parameter and return the same list in the plural form. Conditions: i) if last letter is r then append s ii) if word ends with y then replace it by ies iii) call this function in main() and produce the required output. for eg:- if chair is input it should give chairs as output.

3966


How to update and insert from datagridview at run time in excel database?

2738


Code for Document Validation in XML.NET?

1960


Code for Presenting Parent/Child Data in a Data Grid Row?

2083


Code for Using Keyboard Events?

2111


how to create a search bar which access data from various websites and retrieves the data

2527


design a class car having variables model, yr_of_manufacture, owner,reg_no. Design methods for assigning the values, Printing the values( you decide gui,control, any other methods if require)

1816