I have an XML file which has lots of values as below, placing just sample
Code:
<Entries> <Application1> <key>12</key> <alerts>res12 ### test</alerts> </Application1> <Application2> <key>13</key> <alerts>res 13 ### test</alerts> </Application2>
<Entries> <Application1> <key>12</key> <alerts>res12 ### test</alerts> </Application1> <Application2> <key>13</key> <alerts>res 13 ### test</alerts> </Application2>
if (!Page.IsPostBack) { DataTable dt = new DataTable(); dt.Columns.Add("emp"); dt.Columns.Add("ename"); for (int i = 0; i < 5; i++) { DataRow dr
ExeConfigurationFileMap filename= new ExeConfigurationFileMap();
<?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="company" value="DSRC"/> </appSettings> <connectionStrings> <add name="test" connectionString="Testing
<table id="tblReport" runat="server"> <asp:DataList ID="DataList1" runat="server">
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; using System.Data.SqlClient; namespace wcfstoredprocedure { [ServiceContract]
ClientScript.RegisterStartupScript(this.GetType(), "strJsMessage", "<script language='javascript'>alert('Registered Successfully!');window.document.forms[0].action='index.aspx';window.document.forms[0].submit();</script>");
string path = clientServerXRef1.GetDownloadpath(company.ToUpper()); System.IO.FileStream fs = null; fs = System.IO.File.Open(path + company.ToUpper() + "_" + projectID + ".mpp", System.IO.FileMode.Open); byte[] btFile = new byte[fs.Length]; fs.Read(btFile, 0, Convert.ToInt32(fs.Length));
LinkButton1.Enabled = false; System.IO.FileStream fs = null; fs = System.IO.File.Open("c://4377.doc",
Leave a comment: