Dot Net Code Interview Questions
Questions Answers Views Company eMail

How to add checkbox to datagrid?

5 14759

HOw to Build a Nested GridView Control with ASP.NET?

2 13876

how can we close a web page in asp.net without using jscript?

4 26380

How to Create a Treeview Menu in ASP.NET with C#?

1 12575

How to use ASP.NET 2.0's TreeView to Display Hierarchical Data?

1 6311

Automatically Hyperlink URLs and E-Mail Addresses in ASP.NET Pages with C#

1 4793

Event Handling in C# Triggering a Button

1 6077

Give the code for Handling Mouse Events?

1885

Code for Reading and writing from a file in c#?

1 3904

Coding for using Nullable Types in C#?

1 4969

Coding for Manipulate XML File Data Using C#?

1 7920

Code for Creating a Form Using PlaceHolder Controls?

Arena, JSA,

2356

How to get Dynamically Linked Comboboxes Set?

HCL,

2032

How to Snap the Cursor to a Button?

1 3170

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

2366


Un-Answered Questions { Dot Net Code }

program for straight line(y=mx+c)

5557


Code for IP Address Comparison and Conversion in C#?

3994


Hello I am hosting remoting within IIS. Everything works just fine as long as I allow anonymous access at the IIS level. When I allow only Windows Authenticated sessions, something very strange happens: If the client activates the remote object with IP address - works fine If the client activates it using a machine name - get http 401 exception is thrown. The exception is thrown when the client calls the remote method. I set the channel's useDefaultCredentials property to true. Any idea how to allow Windows Authentication? Here is the call stack: System.Net.WebException: The remote server returned an error: (401) Unauthorized .. ---> System.ComponentModel.Win32Exception: The target principal name is incorrect at System.Net.NTAuthentication.GetOutgoingBlob(Byte[] incomingBlob, Boolean handshakeComplete) at System.Net.NTAuthentication.GetOutgoingBlob(String incomingBlob, Boolean handshakeComplete) at System.Net.NegotiateClient.DoAuthenticate(String challenge, WebRequest webRequest, ICredentials credentials, Boolean preAuthenticate) at System.Net.NegotiateClient.DoAuthenticate(String challenge, WebRequest webRequest, ICredentials credentials, Boolean preAuthenticate) at System.Net.NegotiateClient.Authenticate(String challenge, WebRequest webRequest, ICredentials credentials) at System.Net.AuthenticationManager.Authenticate(String challenge, WebRequest request, ICredentials credentials) at System.Net.AuthenticationState.AttemptAuthenticate (HttpWebRequest httpWebRequest, ICredentials authInfo) --- End of inner exception stack trace ---

4240


Code for Communicating over Sockets?

1953


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






What is the code of Password Recovery or Forget your password? Plz tell in c # language.

3575


ArrayList declaration in .net

2753


how to track links visited in google using iframes

2287


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

2366


Code for Searching for Multiple Matches with the MatchCollection Class?

2984


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

2768


How to find No of classes,Packages,No of Methods per Classes and Depth of Inheritance for selecting source code in windows form application using c# .net? (Source code is input Program. It may be Java or .net) Please help me..) Thanks..)

2233


Coding for Synchronizing Cache Access in ASP.NET?

3126


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); } }

2033


Common UI for Multiple web applications. Suppose there are 35 websites using same third party controls.These 3rd party controls are made together that all 35 websites can use these controls.If we put all 3rd party controls and use its dll in 35 websites,only class files will be accessable. But I want to use CSS,images also in all 35 websites. how I can design the N-tier solution for this project.

2252