ASP.NET Interview Questions
Questions Answers Views Company eMail

When is validation done on the client? How does client-side validation improve the efficiency of an application?

1 1940

What is the basic purpose of the required field validator? How can you use a required field validator to check that the user changes the initial value of a text box? a listbox?

637

What are three ways that you can use a compare validator?

1 2050




What are two ways that you can set the minimum and maximum values for a rangevalidator? When would you use each technique?

1 1444

How do you associate two or more validators with a single input control? What do you need to do to prevent space from being reserved for a validation control thatpasses its validation test?

1 1873

What is the purpose of the validation summary control? What do you need to do to prevent an error message from being displayed in a validator when a validation summary control is used? How can you display a message in both the validator and the validation summary control?

2 2393

How do you initiate validation on the server manually? What are two situations when you might you want to do that?

677

How does the regular expression validator work? What are two situations when you might want to use one?

2 2197




How do you use a custom validator? When might you want to use one?

Infosys,

3 3873

What are ASP.NET Web Forms? How is this technology different than what is available though ASP (1.0-3.0)?

1 2520

How does VB.NET/C# achieve polymorphism?

5 4620

Can you explain what inheritance is and an example of when you might use it?

Sports Interactive,

1 2027

How would you implement inheritance using VB.NET/C#?

2 2542

Whats an assembly

IBM,

2 2342

Describe the difference between inline and code behind - which is best in a loosely coupled solution Tightly coupled - INLINE

2 4365


Post New ASP.NET Questions






Un-Answered Questions { ASP.NET }

how can create login from create and written conde in asp.net

1123


1.what is the application pool. 2.what is the HttpModile and Http Handler. 3.C# 3.0 Features ? 4.Anonoymous Type,methopd and claas in 3.0? 5.difference between statsic and const ? 6.session vs application 7.state management clint side and server side ? 8.Genric list 9.c# 3.0 vs 3.5

1075


Difference between DataGid and Girdview? Difference b/w .Net 2.0, 3.0 and 3.5 ? Diff b/w dispose & Finialize Methods?

1296


if i want to give an alert message like "try after sometime" to a web page which is being seen by other person.if a web page is not seen by anyone then it should display otherwise it show a display a message stating that other person is viewing so try after some time........how can i implement this.

1079


How to do parallel database export in remote SQL Server in ESSL time track. It is working for local server but not working for remote SQL Server

2405






Why is the standalone environment only useful during the development process?

634


Why should i prefer JSP over asp.net or any other web development language..??

734


which one is more flexibility and reliability and durability asp.net (VS)php which one is best and which one we do nice to create dynamic websites

920


Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)

901


How can you implement encapsulation in asp.net?

8277


Can we make activex dll also ti execute in some process as that of client ? How can we do?

3567


while developing webservices if i want some users to use my webservice only how can i give security to my webservice?

753


6. Tell us about a time when you failed to meet a deadline. What were the repercussions?

1077


Hi this is the coding for adding data in to an xml table i want the coding for update and delete Try Dim emp_xml_doc As New XmlDocument If System.IO.File.Exists(Server.MapPath("emp.xml")) Then emp_xml_doc.Load(Server.MapPath("emp.xml")) Dim myrow_element As XmlElement myrow_element = emp_xml_doc.CreateElement("EmpDetails") Dim str As String str = "" & TxtEmpId.Text & "" & _ "" & TxtName.Text & "" & _ "" & TxtSalary.Text & "" myrow_element.InnerXml = str emp_xml_doc.DocumentElement.AppendChild(myrow_element) emp_xml_doc.Save(Server.MapPath("emp.xml")) Response.Write("Record Saved") Dim ds As New DataSet ds.ReadXml(Server.MapPath("emp.xml")) GridView1.DataSource = ds GridView1.DataBind() Else Response.Write("File does not exist.") End If Catch ex As Exception Response.Write(ex.ToString) End Try *********************** this is the xml file 100 xxx 2000 yyy dddd 77777 rrrr rrrr 6666 qaqa sini 50000 errrrrrrrr rrrrrrrrr 677777 rrr rrr 33

850


Hello, Using Visual Studio 2005 (VB) I am working to create a Web Site implementing the following: Within a gridView I have placed a dropdownlist control with a DataSourceID="SDSLkupList". SDSLkupList is a sqlDataSource used to store a lookup list for dropdownlist translation from ID to text. SDSLkupList contains the translation text and other fields related to the dropdown selection ID. (Thought it would be efficient to get everything at the same time.) I would like to provide the user the ability to select from the dropdownlist and, based on the selection, use labels to list related columns stored on the SDSLkupList in separate gridView columns. I have read that SqlDataSources are not meant to be used for individual controls. Since SDSLkupList contains all related information, is there a way to do a find using the dropdownlist selectedValue? (I was not able to discover one.) Otherwise, what should I use? It would need to set the labels on the gridView DataRowBound event as well as the SelectedIndexChanged events. Has anyone done this? Any help would be appreciated. Thanks in Advance. Neal

709