Top ASP.NET Code Interview Questions :: ALLInterview.com http://www.allinterview.com Top ASP.NET Code Interview Questions en-us How to send e-mail from an ASP.NET application? http://www.allinterview.com/showanswers/23045.html MailMessage message = new MailMessage (); message.From = <email>; message.To = <email>; message.Subject = "Scheduled Power Outage"; message.Body = "Our servers will be down tonight." How to add checkbox to datagrid? http://www.allinterview.com/showanswers/17151.html Dim str as string =" " dim item as datagriditem dim chk as checkbox for each item in datagrid1.items chk=CType(item.findcontrol("ch"),checkbox) if chk.checked=true then str=str & "," & item.cells(1).text e How to integrate the regional language in asp.net and c# like Telugu, http://www.allinterview.com/showanswers/59869.html Hi , The logic behind regional language is that convert the regional text into unicode (the language supported by browser)and this can be done through language converters. Second way to do is make .eot or .pfr files of your font and access HOw to Build a Nested GridView Control with ASP.NET? http://www.allinterview.com/showanswers/17850.html The steps in creating Datagrid are 1) Create a new Web page in project. 2) Add a GridView to that page. 3) Define bound columns for every element of data in datagrid. 4) Convert one or more bound columns into a template column by clicki Give coding for Implementing a Fixed GridView Header in ASP.NET? http://www.allinterview.com/showanswers/18031.html First u need Style Settings <style type="text/css"> .fixedHeader { overflow: auto; height: 150px; } table th { border-width: 2px; border-color: balck; b Give coding for Exception Handling Techniques in ASP.NET? http://www.allinterview.com/showanswers/18035.html The exception handling techniques very use full to display the errors in meaningfull way. The syntax of exception handling as follows. try { } catch(Exception ) { } catch(Exception ) { } finally { How to Export Data to Excel? http://www.allinterview.com/showanswers/18034.html The belo code is Export the Listview Data's into Excel... It exports two columns, Cell Number and Name... Imports System.IO Try Dim st As String() = New String(lst_phone.Columns.Count - 1) {} how can we close a web page in asp.net without using jscript? http://www.allinterview.com/showanswers/17929.html <asp:Button ID="CloseButton" runat="server" Text="Close" OnClientClick="javaScript:window.close(); return false;" /> Code for Getting Information About A File? http://www.allinterview.com/showanswers/18039.html here we have the system.io base class in .net FileInfo is the class which has the properties and methods to display information about the file. example code FileInfo fi = new FileInfo("givepath"); Console.WriteLine("File Nam Code for Sending E-Mail with System.Web.Mail? http://www.allinterview.com/showanswers/18038.html using System; using System.Web.Mail; namespace vamshi.SendMail { /// <summary> /// Test console application to demonstrate sending e- mail. /// </summary> class TestMail { /// <summary> /// The main en Code for a Simple Way to Write XML in .NET (XmlTextWriter) http://www.allinterview.com/showanswers/18052.html This coding is to decrement the count value... Dim writer As New XmlTextWriter("C:\windows\Test.xml", New System.Text.UTF8Encoding) writer.WriteStartDocument() writer.WriteStartElement("Value" How we implement the paypal in my website and how we make a payment t http://www.allinterview.com/showanswers/64866.html To integrate any payment gateway with your web site you have to download a package from that company upon some agreement and integrate with a payment page in your site. The package will contain an interface page where you can redirect the custome What do you create for easier access of data? http://www.allinterview.com/showanswers/74282.html To Connect With SQL-Server & Access Data how to convert Dataset to Object Array or list in c# .net http://www.allinterview.com/showanswers/95392.html 1--> http://social.msdn.microsoft.com/Forums/en-US/adodotnetdataproviders/thread/5b1c29e2-bf37-4dd2-be39-50d27abb188e 2--> http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/8d3834a8-2749-4bd6-a32b-f8a162a5b641 3--> How to Bind Nested XML to a Repeater Control with Container.DataItem http://www.allinterview.com/showanswers/18053.html