Input:http://www.allinterview.com/forms/questionform.php
Output:http://www.allinterview.com/forms/questionform
Write c# program to get the above desired output for the given
Input.....
i have a table named login in mysql database containing
(empid,fname,lname,mobno,emailid,usrname,usrpwd)
i have 2 textboxes in which i enter my username and pwd..so
based on what is entered in those textboxes it should
retreive all other details of dat username in the remaining
6 textboxes..i want the code for this...
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>
What is the use of Hyperlink control for DHTML applications?
172
How would you run your ActiveX Document Dll?
206
Draw Sequence Modal of DAO? Explain.
200
Asha buys 16 Chocolates for rs 12 and 24 chocolates for rs
20, if she sold them 30 chocolates for rs 30 then what is
the Gain/Loss percentage?
Gain(700/19 %)
Loss(700/19 %)
Gain(500/19 %)
Loss(500/19 %)
If one person ate 100 grapes in 5 days and 6 more each day
from starting, what was the no of grapes he ate on first
day?
6
8
10
7
If seven men P, Q, R, S, T, U, V parked his car, P and Q
something like that.
6 student J, K, L, M, N, O went for picnic in 2 batches, K
and L have to go together, M and O do't go together, if O
and L go in one batch then which of these combination will
be wrong.
Jmnp
Jklo
klop
JKLO
a boat can go upstream and down stream, if it goes 5/2
times of downstream at the speed of 6 kmph then what will
be the speed of upstream?
15 KMPH
12 KMPH
10 KMPH
11 KMPH
A, B, C, D, E sitting on a table, A sits 2 seat left from B
and C sits 2 seat right from B then what will not be the
combination
ACDE