Write a program to find all text files in a logical drive
and return the count of the number of files?
131
which property is used to change to some value to access a
identity column in datacontrols?
64
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 = "<EmpID>" & TxtEmpId.Text & "</EmpID>" & _
"<Empname>" & TxtName.Text & "</Empname>" & _
"<EmpSalary>" & TxtSalary.Text & "</EmpSalary>"
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
<?xml version="1.0" encoding="utf-8" ?>
<Employee>
<empdetails>
<empid>100</empid>
<empname>xxx</empname>
<empsalary>2000</empsalary>
</empdetails>
<EmpDetails>
<EmpID>yyy</EmpID>
<Empname>dddd</Empname>
<EmpSalary>77777</EmpSalary>
</EmpDetails>
<EmpDetails>
<EmpID>rrrr</EmpID>
<Empname>rrrr</Empname>
<EmpSalary>6666</EmpSalary>
</EmpDetails>
<EmpDetails>
<EmpID>qaqa</EmpID>
<Empname>sini</Empname>
<EmpSalary>50000</EmpSalary>
</EmpDetails>
<EmpDetails>
<EmpID>errrrrrrrr</EmpID>
<Empname>rrrrrrrrr</Empname>
<EmpSalary>677777</EmpSalary>
</EmpDetails>
<EmpDetails>
<EmpID>rrr</EmpID>
<Empname>rrr</Empname>
<EmpSalary>33</EmpSalary>
</EmpDetails>
</Employee>
Can anyone please tell me that the question posted on this
website are Sufficient for the interview with 2+ year
experience in .net
185
How to find the current record position in data control?
81
which is the institute in hyderabad for providing the live
project industry training
10
Maximum Control Names length?
140
What is ODBC Direct and Microsoft Jet Database Engine ?
66
WHICH IS THE BEST BOOK FOR A BEGINNER TO LEARN AP.NET 3.5,
C#.NET & ALL THE FEATURES OF VISUAL STUDIO2008? WHAT ARE
THE CERTIFICATIONS IN THIS FIELD? WHICH IS BEST BOOK FOR
CLAERING CERTIFICATION EXAM? PLZ HELP ME YAAR
31
1s it posible to Create Tables Through Querydef?
102
Whether HTML supports multimedia: and document links?
123
1. What is IIS. pl explain practically.
2. Difference b/w webserver and application server. pl
explain practically.
20
Is it possible to Manipulate data through flexgrid? Explain.
151
what is mean by versioning?
Please answer me.
Advance thanks.
if i wanna deploy my asp.net project to the production
server and situation is that i m still not compiled my
project i have as-is on my development side now on
production server we dont have a visual studio now what
kind of settings i need to be to do in
webconfig /machine.config file to deploy my project and in
iis too....