Dot Net Code Interview Questions
Questions Answers Views Company eMail

i want to input any no in textbox1. then click to button and then show the name in the textbox2 please send me coding

2 4241

how to track links visited in google using iframes

2269

how to get the table names via c sharp and column names also?

Sify,

2 4860

how to make a software for a game ?

Cipla,

1 2978

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

2543

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?

3802

Write a function which accepts a sentence as input parameter.Each word in that sentence is to be reversed. Space should be there between each words.Return the sentence with reversed words to main function and produce the required output. for eg:- i/p: jack jill jung kill o/p: kcaj llij gnuj llik

Mind Tree,

1 6825

Write a program which has a function and that function should take 2 or 3 or any number of strings and it should return the largest common prefix of all those strings. If there is no common prefix it should return an empty string. for eg:- INPUT OUTPUT glo {glory,glorious,glod} gl {glad,glow} {calendar,phone} empty string

Mind Tree,

2 5294

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.

Mind Tree,

3981

program to reverse the order of words in a string.

Mind Tree,

2 9673

program to reverse the order of digits in a given number of any length.

Mind Tree,

1 6523

program to check if a number is "perfect number".

Mind Tree, SoftSol,

1 8806

program for addition of fraction(M/N + P/Q = Y/Z)

Mind Tree,

1 4945

program for string reverse(eg:- i am boy -> boy am i)

Black Pepper, Infosys, Mind Tree,

8 16697

program for straight line(y=mx+c)

Mind Tree,

5538


Un-Answered Questions { Dot Net Code }

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

1934


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

2349


How we use ajax in asp.net through javaScript. Please givee me an example.

2492


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)

1826


Give the code for Handling Mouse Events?

1869






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

2098


Code for Document Validation in XML.NET?

1977


Hello Sir, Thanks for the Solution but, can you pls. Explain the coding for the Static Function & static variable from the below coding....waiting for Ans. class fact { public static void Main() { fact f=new fact(); int x=1; //Declaration of x as 1 int k=Convert.ToInt32(Console.ReadLine()); for(int i=1;i<=k;i++) { x= x *i; } System.Console.WriteLine(x); } }

2021


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

2244


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.

3695


Code for Using Keyboard Events?

2121


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.

3981


Code for Creating a Form Using PlaceHolder Controls?

2337


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

16565


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

2133