Using HtmlAgilityPack, how to get data from input hidden values and tr, td rate in C# from HTML table?
I need to input hidden values to tr, td rate. How to get that information my below html table?
<table>
<caption>
<div id="cal_nav"
class="float_right">
<ul class="inline">
<li>
<a href="#"
onClick="changeRatesView('calendar')">Calendar View</a>
</li>
<li id="previous"
class="first">
<a title="September"
- "2015"
href="#"
onClick="searchPrevMonthAvailability()"> </a>
</li>
</div>
</caption>
<thead>
<tr>
<th>Date</th>
<th>Occupancy</th>
<th>Net Rate</th>
<th>Sell Rate</th>
</tr>
</thead>
<tbody>
<input type="hidden"
name="rateid"
value="234154166">
<tr>
<td>1</td>
<td>single</td>
<td>1652</td>
<td>2500</td>
</tr>
<tr>
<td>2</td>
<td>single</td>
<td>1454</td>
<td>4344</td>
</tr>
<input type="hidden"
name="rateid"
value="234154134">
<tr>
<td>1</td>
<td>single</td>
<td>1652</td>
<td>2500</td>
</tr>
<tr>
<td>2</td>
<td>single</td>
<td>1454</td>
<td>4344</td>
</tr>
<input type="hidden"
name="rateid"
value="234154145">
<tr>
<td>1</td>
<td>single</td>
<td>1652</td>
<td>2500</td>
</tr>
<tr>
<td>2</td>
<td>single</td>
<td>1454</td>
<td>4344</td>
</tr>
</tbody>
</table>
MY Linq code:
var tds= (from td in doc.DocumentNode.Descendants("table")
select td).ToList()[2].ChildNodes[2];
var trer = tdsyh.SelectNodes("//input[#type='hidden' and #name='rateid']|tr").Select(x => x).ToList();
You can try something like:
var hiddenFields = doc.DocumentNode.Descendants("input").Where(_ => _.GetAttributeValue("type", "").Equals("hidden") && _.Name.Equals("rateid"));
Related
Want to add <tbody> element in <table> elements if missing on Xdcoument.
<table class="newtable" id="item_559_Table1" cellpadding="0" cellspacing="0" data-its-style="width:11.4624em; border-spacing:0;">
<colgroup data-its-style="width:11.4624em; " />
<tr>
<td data-its-style="padding:0.2292em; vertical-align:top; ">
<p data-its-style="">My dad cooks up a pot of chicken soup, and</p>
</td>
</tr>
<tr>
<td data-its-style="padding:0.2292em; vertical-align:top; ">
<p data-its-style="font-weight:normal; ">This cold means I can’t taste a thing today!</p>
</td>
</tr>
</table>
Output should look like
<table class="newtable" id="item_559_Table1" cellpadding="0" cellspacing="0" data-its-style="width:11.4624em; border-spacing:0;">
<colgroup data-its-style="width:11.4624em; " />
<tbody>
<tr>
<td data-its-style="padding:0.2292em; vertical-align:top; ">
<p data-its-style="">My dad cooks up a pot of chicken soup, and</p>
</td>
</tr>
<tr>
<td data-its-style="padding:0.2292em; vertical-align:top; ">
<p data-its-style="font-weight:normal; ">This cold means I can’t taste a thing today!</p>
</td>
</tr>
</tbody>
</table>
**Not looking for XSLT solution.
One way to do it would be to grab the children of <table>, then add them back they way you want them.
var doc = XDocument.Load("file.xml");
var colgroup = doc.Root.Elements("colgroup");
var tr = doc.Root.Elements("tr");
// Add tr to tbody
var tbody = new XElement("tbody", tr);
// Replace the children of table with colgroup and tbody
doc.Root.ReplaceNodes(colgroup, tbody);
I have an Index action method as follows.I am passing a list of Providers to the View.
public ActionResult Index()
{
Provider providerList = new Provider();
List<Provider> providers = DAL.GetListofProviders.ToList();
return View(providers);
}
In the View,I have the following code to receive the List of Providers.
#model IEnumerable<DEMO_JAN14.Models.Provider>
#{
Layout = "~/Views/Shared/_Layout.cshtml";
}
<head>
<title>LIST OF PROVIDERS</title>
</head>
<body>
<table class="table table-striped table-bordered table-hover">
<tr>
<th>Provider Type</th>
<th>First Name</th>
<th>Last Name</th>
<th>Certification</th>
<th>Specialization</th>
<th>SSN</th>
<th>Facility Name</th>
<th>Contact No</th>
<th>Contact Email</th>
<th></th>
</tr>
<tbody data-bind="foreach: viewmodel">
<tr>
<td class="col-lg-2" data-bind="text: ProviderType"></td>
<td class="col-lg-1" data-bind="text: FirstName"></td>
<td class="col-lg-1" data-bind="text: LastName"></td>
<td class="col-lg-1" data-bind="text: Certification"></>
<td class="col-lg-1" data-bind="text: Specialization"></td>
<td class="col-lg-1" data-bind="text: SSN"></td>
<td class="col-lg-4" data-bind="text: FacilityName"></td>
<td class="col-lg-4" data-bind="text: ContactNumber"></td>
<td class="col-lg-1" data-bind="text: ContactEmail"></td>
<td><a class="btn btn-danger" id="del" onclick = "return confirm('Are you sure, you want to delete');" data-bind="attr: { href: '/Provider/Delete/' + ProviderID }"> Delete </a>
</td>
</tr>
</tbody>
I see the list of Providers in the controller
But I dont see the same list in the view as shown
Am I doing something wrong.Please guide me in the right directions.Thanks.
You can iterate like this (using your code)
#model IEnumerable<DEMO_JAN14.Models.Provider>
#{
Layout = "~/Views/Shared/_Layout.cshtml";
}
<head>
<title>LIST OF PROVIDERS</title>
</head>
<body>
<table class="table table-striped table-bordered table-hover">
<tr>
<th>#Html.DisplayNameFor(m => m.ProviderType)</th>
<th>#Html.DisplayNameFor(m => m.FirstName)</th>
...
</tr>
#foreach (var item in Model)
<tr>
<td class="col-lg-2">#Html.DisplayFor(modelItem => item.ProviderType)</td>
<td class="col-lg-1">#Html.DisplayFor(modelItem => item.FirstName)</td>
...
</tr>
</table>
</body>
To check the count of the providers list inside the view use the following property #Model
In your view you can iterate like this on the items, and for example am displaying FirstName of each Provider in the List:
#foreach(var item in Model)
{
<h1>#item.FirstName </h1>
}
Using your html:
<tbody data-bind="foreach: viewmodel">
#foreach(var item in Model)
{
<tr>
<td class="col-lg-2">#item.ProviderType</td>
<td class="col-lg-1">#item.FirstName</td>
........................................
........................................
// and so on other properties
<td><a class="btn btn-danger" id="del" onclick = "return confirm('Are you sure, you want to delete');" href="#Url.Action("Delete","Provider")+ item.ProviderID }"> Delete </a>
</td>
</tr>
you can't access the razor Model object via knockout
you need to receive your data as json result
please refer to this article
http://www.codeproject.com/Articles/424642/Customer-KnockoutJS-and-MVC-demo-using-JSON
currently am working in asp.net c#..one of my client wants to send html template through email donot as attachment ..so i created attachment like this
please refer the html code
<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>saloc</title>
</head>
<body>
<div>
<table style='width:90%; border:3px solid #C0C0C0;'>
<tbody align:'center';>
<tr>
<td align:'center'>
<table style='width:100%;padding:0;'>
<tbody>
<tr>
<td align:'left'>
<table style='width:100%;padding:0;'>
<tbody>
<tr>
<td align:'left'>
<table style='width: 100%;border:0;padding:0';>
<tbody>
<td align:'left' valign='top' style= 'width:15%';><img src='data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAN0AAAA7CAIAAABwuxjSAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwgAADsIBFShKgAAAQ0tJREFUeF7tfQd8XNWV/oSEYgwuktVG02c0M+puAkwLEMgSkkDYsCEJKWQ3WTb03gKBhBCKqTYGTHHvHTfce5flIsmS1Xub3tt7M+f/nftGsrMLu3aWZP/5/Xx9NPPmlXvPPfc77d73nlV0rpwrZ1ZSgySfRn+jcg6X58r/cUmlUklRKEGJJAWJwudwea78n5chXLrJ30eOMEVkip3D5bny/2M5h8tz5a8sp/yvR7jeKMWJ/BR1UrSbfAEpkgpGcU767LMs53B5rvyV5RQu+2qDH7+7ZlRm/deGbVFpB371VOyTxRSIUgKnnMPlufJVlC/HkYRj0SiF4skYUSAYTkaS8VlTajKGp1Sq2AXntapUTd9QVY0e5f36hSGVqkp1fv2Nd5A/6icK9jTDnoIUHJ8JWM/h8lz5i/JlkEnKiVSSogmKyUBocsDZTw0nqi84ny5RDZxn2jfpm8GqDUlPPXVXHb37tsYJxdHzR9MFWs/rr7uTMgUDcPGgc7g8V/7K8qWQSciSTAlgiwDMoH/7hkaVqu1ruXS8PpHyxSgWw6WAnofiyVScItR9ZNPVpUHVhb3//phPjmEv6Bwuz5W/snwpZADKFCwlzohLjvYtKlXXRSMoknJsWtG4dWPv1s2e9evcaz7rXDcj3t5EsYQ/EEpRbHuxPq66mLYcjiTioHO4PFf+yvLl9jImS1EKpFJSwHXTN5OqMT31tRF3wDmuwDNKFVepoioVXaQKq5iOX3g+0nMKSORqP6hS9V84UokvAetILPrlbZwqaVymYJ5BuADfYn1JCQiwISrBXoS9qBaUxMmnk7JXIS7K1hm0fXpBPfyFD6GUStPpPXwk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1TL8VbgNcoucU7YfhxKP5Phjy8bomOYOjFdLeYO4SSgXHUiIYEUJX6MUxgAGqAbYYIS40/0HX+6ZHIJfP/qRVle8c2SFlKxRDAFCokY0yRl7MbivArUzjvRu8UAKBy1jhUhcvRrpAnty2aAInNr7gwLsE93ARIMJ70BaHfaXVXpM9MsXdKwFYEOHkLSLAXCF9YklAq4IWZUxjmuEpoEirBtdjDx8R/Egz7BHDACLAF4zesygw7yAsSFZm3Us/pxJLlIjwIAMeaA5SI+edomJGWCsKvI6WE2xMBUZQrZ/+jEOwkL16nRKgrXiAFucOO8PuBcTJ+3GE1BUti8gK/udqhQ2zeAR9YNSZssAVnaye8PNpAvWJ5C6dyrbxGmbY3ykEIQfnEfpDQG1yIy8EzuiZAyaLigJdhxgEsm1L+ZOjx5Upt6Y5xN7gSMZxcMwj7mHtcxA9UCoCjYtYpZRyA0hACD+ASAyTkMFgn/k6DJlrAURA2+G9QVDgLF3pF1yB9II/3Yy8IIlE2QIPnp7f/ciyUjXTNQyRGBLyLofnqy5AfP9UroNMrbkRgWYc8HHKJYRbOmb2pMB2weKx74mKBDxAMRoqNBodEGCGYkhSuRTzHr+3jHqPKQRfP10LGDCz2U6gGpIhAYWZo8LAhYKeIAOczG0IufykybOFUDCrqZGgyQoEdcIsLhf6AQz4AfVLqV1SRWUMziuPDAfzEp+ADFyk2g0/jNkVDIHEOvlE5WuELlf3iY4hzVKMcisWTAC/aFcThBftNmdMjZgYnoTnUmSbwD4cN7pAteSW2d9grzhHhJZjBJjOD3dzlQcJPhXPBJ76xT5yP6uAE4O/4TkJBPJoKy0xKAA+2opyapus5rSrRib8gcWCIvupC9P8AjKTIqgXffnwAAAAASUVORK5CYII=' style='margin-left: 0px;'/>
</td>
</tr>
<tr>
<td> <div style='border-bottom:5px solid #808080;'></div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<table style='width:100%;padding:5px;word-spacing:0'>
<tbody><tr>
<td align:'left'>
<table style='width:100%;height:10px;'valign:'top''>
<tbody>
<tr>
<td align:'left'><div style='display:none;'></div>
<h2>ihigjkj</h2>
<div style='display: block;top: -105px;'></div>
<table style='width:100%; height: 178px;'>
<tbody><tr>
<td align:'left'>
<table style='width:100%;' border='0'>
<tbody>
<tr>
<td align:'left' valign:'top' style='width: 15%;'>
</td>
<!--<td align:'left' style='width: 5%;' valign:'top'>
</td>-->
<td align:'left' style='width: 80%;color:#303338;text-align:justify;word-wrap: break-word;' valign:'top'>
<p>jkgnbkvnkvb</p>
<!--<a href='http://www.ymlp.com/'>This is a link to some related web page...</a><a href='http://www.ymlp.com/'></a>-->
</td>
</tr>
<tr>
<td><hr /></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody></table>
<!--<table style='width:100%'>
<tbody>
<tr>
<td align:'left'>
</td>
</tr>
</tbody></table>-->
<table width:'100%'>
<tbody><tr>
<td align:'left'>
<div>
<h2>kvnmvbmbvm</h2>
</div>
</td>
</tr>
</tbody></table>
<table width:'100%'>
<tbody><tr>
<td align:'left'>
<table style='width: 100%;' border='0'>
<tbody><tr>
<td align:'left' style='width:80%;text-align:justify;word-wrap:break-word;color:#303338'; valign='top';>
<p>jgknkbnvnbvm,nb,mbv</p><br>
<!-- <a href='http://www.ymlp.com/'>This is a link to some related web page...</a><a href='http://www.ymlp.com/'></a>-->
</td>
<!--<td align:'left' style='width: 5%;' valign:'top'>
</td>-->
<td align:'left' style='width:15%;' valign:'top'>
<a href='http://www.saloc.in'> </td>
</tr>
<tr>
<td><hr /></td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
<table style='padding:0px;width:100%';'>
<tbody><tr>
<td align:'left'><h3>nngnbvmn,</h3>
</td>
</tr>
</tbody></table>
<table style='width:100%';>
<tbody><tr>
<td align:'left'>
<div style='text-align:justify;word-wrap:break-word;color:#303338';'>
<p>jgknkbnvnbvm,nb,mbv</p>
<br /> </div>
<div style='color:#003E61';'font-size:15px;font-family:'Times New Roman';> <hr/>
<span style='color:#CA3B2A'><b>SALOC Technologies PVT Ltd,</b></style></span><br/>
<b>#274/14,New Guddadahali Mysore Road,Bengaluru-560026,INDIA</b><br/>
<b> Voice:+91 80 2675 5000,Fax:+90 80 2674 7000</b><br />
<a href='mailto:shivananda#saloc.in'>shivananda#saloc.in</a>
</div>
<div>
</div>
<div style='color:green;text-align:center;border-top:dotted thin #C0C0C0;font-size:18px'>
<br />
<b><i>Business for mutual benefits</i></b><br />
<!--style='border-top:dotted thin #C0C0C0;'-->To Unsubscribe Click here<a href='mailto:shivananda#saloc.in'>:shivananda#saloc.in</a>
</div>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>
<!--<table width:'100%' cellpadding='4' cellspacing='0'>
<tbody><tr>
<td align:'left' >
<div style='font-size: 8px;'>
</div>
</td>
</tr>
</tbody></table>-->
</td>
</tr>
</tbody></table>
<!--<table style='width:600px' border='0' height:'30px'>
<tbody><tr>
<td align:'left'>
<div style='font-size: 8px;'>
</div>
</td>
</tr>
</tbody></table>
</td>
</tr>
</tbody></table>-->
</table>
</div>
</body>
</html>
it looks very big but here one thing u make sure am storing image in byte array ..until now am not facing any problem .the created html template above is looking good if u want to see please paste in notepad as html then open it browser then u come to know ..fine actually when i send this template as attachment in gmail,after send email i get only text content as dis located manner mean not as original style but content not styles all are showing without style ....and one more criteria is our clients wants to see the html template directly on mail body not as attachment..please let me know how do i solve these problems i wish i'll get perfect solution about this because i trust stack overflow ...please help your help would be greatly appreciated
I suggested you to upload the image to web server and change the image path in the html file something like http://domainname.com/imageName.jpg.
Code
StreamReader reader = new StreamReader(Server.MapPath("~/emailer.html"));
string readFile = reader.ReadToEnd();
string myString = "";
myString = readFile;
string mailServer, mailFrom;
int port;
string mailId, mailPass;
string subject;
string mailTo;
try
{
subject = "Subject";
mailTo = "receipient#gmail.com";
mailServer = "smtp.gmail.com";
mailFrom = "Mail From Text";
mailId = "sender#gmail.com";
mailPass = "xxxxxx";
port = 587;
MailMessage mail = new MailMessage(mailId, mailTo, subject, myString.ToString());
mail.IsBodyHtml = true;
SmtpClient smtp = new SmtpClient(mailServer, port);
System.Net.NetworkCredential nc = new System.Net.NetworkCredential(mailId, mailPass);
smtp.UseDefaultCredentials = false;
smtp.Credentials = nc;
smtp.EnableSsl = true;
smtp.DeliveryMethod = SmtpDeliveryMethod.Network;
smtp.Send(mail);
ScriptManager.RegisterStartupScript(this, this.GetType(), "alertmessage", "javascript:alert('Submitted successfully')", true);
}
catch(Exception ex){ }
Change subject, mailTo,mailFrom, mailId, Password as per yours.
How to read <table> into onmouseover event with C# and HTMLAgilityPack?
markup code :
<a href="#" class="chan_live_not_free" onclick="return false;" onmouseover="return overlib('
<table>
<tr class=fieldRow>
<td class=posH_col width=40>
<strong>pos</strong>
</td>
<td class=rest_col width=90>
<strong>satellite</strong>
</td>
<td class=freqH_col width=50>
<strong>freq</strong>
</td>
<td class=rest_col width=90>
<strong>symbol</strong>
</td>
<td class=rest_col width=90>
<strong>encryption</strong>
</td>
</tr>
<tr>
<td class="pos_col">39.0°e</td>
<td class=rest_col>Hellas Sat 2</td>
<td class="freq_col">12.606 H</td>
<td class=rest_col>30000 - 2/3</td>
<td class=enc_not_live>MPEG-4 BulCrypt</td>
</tr>
</table>',CAPTION, 'Arena Sport 4 (serbia) – 19/10/14 - 11:30');" onmouseout="return nd();">
Arena Sport 4 (serbia)
</a>
I need to read the table into onmouseover event. How does it read?
You could get the element attribute of the <a> tag with HTML Agility Pack and then using regular expressions get the <table> inside the string, something like the following code :
var html = #"<a href='#' class='chan_live_not_free' onclick='return false;' onmouseover='return overlib(
<table>
<tr class=fieldRow>
<td class=posH_col width=40>
<strong>pos</strong>
</td>
<td class=rest_col width=90>
<strong>satellite</strong>
.
.
.
<tr>
<td class="pos_col">39.0°e</td>
<td class=rest_col>Hellas Sat 2</td>
<td class="freq_col">12.606 H</td>
<td class=rest_col>30000 - 2/3</td>
<td class=enc_not_live>MPEG-4 BulCrypt</td>
</tr>
</table>,CAPTION, 'Arena Sport 4 (serbia) – 19/10/14 - 11:30');' onmouseout='return nd();'>
Arena Sport 4 (serbia)
</a>";
var doc = new HtmlAgilityPack.HtmlDocument();
doc.LoadHtml(html);
var value = doc.DocumentNode.SelectSingleNode("//a[#class='chan_live_not_free']").Attributes["onmouseover"].Value;
var text = Regex.Matches(value, #"<table>([^)]*)</table>")[0].Value;
This is a newbie question so please provide working code.
How do I count the tables in an html file using C# and the html-agility-pack?
(I will need to get values from specific tables in an html file based on the count of tables. I will then perform some math on the values retrieved.)
Here is a sample file with three tables for your convenience:
<html>
<head>
<title>Tables</title>
</head>
<body>
<table border="1">
<tr>
<th>Name</th>
<th>Phone</th>
<th>City</th>
<th>Number</th>
</tr>
<tr>
<td>Scott</td>
<td>555-2345</td>
<td>Chicago</td>
<td>42</td>
</tr>
<tr>
<td>Bill</td>
<td>555-1243</td>
<td>Detroit</td>
<td>23</td>
</tr>
<tr>
<td>Ted</td>
<td>555-3567</td>
<td>Columbus</td>
<td>9</td>
</tr>
</table>
<p></p>
<table border="1">
<tr>
<th>Name</th>
<th>Year</th>
</tr>
<tr>
<td>Abraham</td>
<td>1865</td>
</tr>
<tr>
<td>Martin</td>
<td>1968</td>
</tr>
<tr>
<td>John</td>
<td>1963</td>
</tr>
</table>
<p></p>
<table border="1">
<tr>
<th>Animal</th>
<th>Location</th>
<th>Number</th>
</tr>
<tr>
<td>Tiger</td>
<td>Jungle</td>
<td>8</td>
</tr>
<tr>
<td>Hippo</td>
<td>River</td>
<td>4</td>
</tr>
<tr>
<td>Camel</td>
<td>Desert</td>
<td>3</td>
</tr>
</table>
</body>
</html>
If you would, please SHOW how to send the results to a new text file.
Thanks!
I think this can be a starting point
var doc = new HtmlAgilityPack.HtmlDocument();
doc.LoadHtml(html);
var tables = doc.DocumentNode.Descendants("table");
int tablesCount = tables.Count();
foreach (var table in tables)
{
var rows = table.Descendants("tr")
.Select(tr => tr.Descendants("td").Select(td => td.InnerText).ToList())
.ToList();
foreach(var row in rows)
Console.WriteLine(String.Join(",", row));
}
Something like this:
HtmlDocument doc = new HtmlDocument();
doc.Load(myTestFile);
// get all TABLE elements recursively
int count = doc.DocumentNode.SelectNodes("//table").Count;
// output to a text file
File.WriteAllText("output.txt", count.ToString());