ASP.NET Code (46)
VB.NET Code (9)
C Sharp Code (51)
ADO.NET Code (8) How to export 2 datatables of a single dataset to 2 different worksheets of a single MSExcel file ?
2526How to integrate the regional language in asp.net and c# like Telugu, Hindi etc,. send a sample program
3 20837Hello 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 ---
4785
Coding for Synchronizing Cache Access in ASP.NET?
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.
Give the code for Handling Mouse Events?
Code for Document Validation in XML.NET?
Code for IP Address Comparison and Conversion in C#?
How to get Dynamically Linked Comboboxes Set?
Coding for .NET Delegates?
Code for Communicating over Sockets?
How to add a value from textBox over an existing certain column in SQL Server
Give me some tips in c#?
how to insert fname,lname,designation values into database while click on the submit button using windows authentication mode?
How to use Client-side Script to Focus Controls in ASP.NET?
How to update and insert from datagridview at run time in excel database?
program for straight line(y=mx+c)
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); } }