hi
wrever i go thy r asking depth abt 3-tier architecture i.e,
hw to deploy 3 layers into 3 servers i do nt have much idea
on deployment. can any one send me the tips or code if u hav
kindly mail me.
How to Open any web page by clicking any Any ASPControl
like (Checkbox,radio button or Button) without calling its
event and without going to Siverside code?
How to use class library reference in asp.net project?
Can you give me the example with source
Class library haves classes like Database, insert, update,
delete, reflection how can i use the database class
connection in insert class to insert the record in to the
Main Project in asp.net.
hi
wrever i go thy r asking depth abt 3-tier architecture i.e,
hw to deploy 3 layers into 3 servers i do nt have much idea
on deployment. can any one send me the tips or code if u hav
kindly mail me.
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>
Write some code using interfaces, virtual methods, and an
abstract class`
9
How does the regular expression validator work? What are two
situations when you might want to use one?
23
How to communicate via Remote proxy with Client?
a)MarshalByRef
b)Marshal by Value or Any thing else?
120
What is Difference between Production Serves and
Development Servers? And Suppose, m adding/deleting C# file
in a project based on the Specific Requirement. These Files
are Automatically updated in Production Servers? So Which
tool is needed to do This One?
88
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.
You need to be able to retrieve data from DataSet object
that has four DataTable objects. There are currently
UniqueConstraint and ForeignKeyConstraint Object on the
DataTable objects to enforce the data rules. You find that
you can retrieve the data from the individual DataTable
objects, but you are not able to retrieve the data from the
combination of DataTable objects in a Parent/Child manner.
What should you do to able to retrieve the data in a
Parent/Child manner?
a) Set the EnforceParentChild parameter of the DataSet to True.
b) Set the EnforceRelation parameter of the Relations
collection to True.
c) Add DataRelation objects to the Relations Collection to
make the DataSet present the data in Parent/Child manner.
d) Add a primary key and a foreign key to each of the
DataTable objects that should present the data in a
Parent/Child manner.