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 3522

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

2199

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 5876

what is software testing

TCS,

1 3721

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

4301

IS Array list is generic or non generic

1 3646

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

2696

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.

3707

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

2258


Un-Answered Questions { Dot Net Code }

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

4301


i have a gird with columns all are coming from database,this will bind in item templete in gridview as textboxex.and i have button below named Update.i want to update all the records in the grid,but if user change the value of one textbox,what is the easy way 2 do this

2147


Code for Communicating over Sockets?

1952


Code for Using Keyboard Events?

2136


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

2258






How we work on N tire architecture in asp.net Please give me Examle...

16592


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?

3820


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.

3991


How to get Dynamically Linked Comboboxes Set?

2032


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)

1834


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

2114


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

2556


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

2765


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

2366


Coding for .NET Delegates?

2101