ASP.NET Interview Questions
Questions Answers Views Company eMail

what is purpose of xml control in standard controls of asp.net

1 2877

My website has around 100 aspx. Out of this, a certain 20 aspx files should be made available to the users only if they are logged in. How can I achieve this with the web.config file?

Techno Solutions,

1 3858

Below is a code extract from an ASP.Net application. The code basically reads data from the “name” field in the “members” table and prints them onto the webpage. Using the assumptions provided, fill in the 4 blanks below so that the code will run correctly. ‘Assumptions: ‘conn_str is a variable that holds the connection string to the database ‘Objects dbcomm and dbread are already declared earlier dbcomm = New OleDbCommand("SELECT name FROM members", conn_str) dbread = dbcomm._______________ _____________________ response.write(_______________) _____________________ dbread.Close()

Techno Solutions,

4 4369




Suggest 3 best practices in detail for for Developing High Performance Web and Enterprise Applications

Techno Solutions,

2 3180

What is the roll of JIT in asp.net?

7 11391

How Web Service help? What is the difference between Remoting & Web Servcies?

2 2427

1.can we add connection string in global.asax?????????? 2.what are the default files included when we create new web application????

Sparsh,

7 13609

How to handle error while project running on live

2 3192




difference between

VebTel,

6 11312

can i use store procedure in disconnected mode? give me answer

2 4943

Guys can anobody tell what is Conditional Bloating in asp.net ??

1 2993

how to edit gridview control in asp.net2.0

3i Infotech,

1 5080

How to send auto matic emails based on scheduled tasks to several of my clients

6 4448

i have one gridview contains edititemtemplate(which contains update and cancel buttons) and i have one item template (contains edit button) i want the code for update and cancelbuttons in edit item template and i want the code for edit button in itemtemplate. please help me

4 5067

What is the difference between ExecuteReader,ExecuteNonQuery and ExecuteScalar.

8 17889


Post New ASP.NET Questions






Un-Answered Questions { ASP.NET }

3. What goals do you have in your career?

805


What are the versions of garbage collection?

851


Am not able to move the controls on the form freely in asp.net 3.5 even though I selected the position as relative or absolute for those controls. What should I do to overcome this?

1306


How many types of server controls do we have?Also explain differance between them taking an example of ASP.NET?

1731


what is command line compiler.what are the steps and how it is related to debugging.

834






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

787


1.What r collections? 2.What is .pdb file? 3.Is it possible to provide access to users in master page? 4.What is dirty n Phantom Read(SQL)? 5.What r different isolation levels(SQL)? 6.How to set authentication mode in web.config file?

1075


What is work flow gen? how can it will work with .Net?

1819


What ports must be open for DCOM over a firewall? What is the purpose of Port 135?

1278


What should you do is you want to remove an existing component but would like to make some funtionalities?

865


How can i explain my project during interview?many time i expalain my project but they did't accept? please explain me.

4435


a web application needs to be created to accept the product name and quantity of a toy from a customer. After the customer has entered the product name the application needs to display the discounted price of the product to the customer (company is offering 35% discount on all products). The application should allow the customer to select the product name from a list box. and also while i'm data binding to a label with custom data binding with some declarations : "The Discounted Price is "+((System.Convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)) - ((System.convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)*0.35)). Where i need to give this declaration in asp.net 2.0.

809


Dataset is the disconnected environment. suppose if you are binding records to gridview (disconnected environment) and you are making changes to the the grid but before updating the database if any other user modify the data, how will you avoid such problem?

862


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

921


What is the syntax for datagrid and specifying columns?

1499