Search found 15 matches

by probles40
Thu Apr 16, 2020 11:11 am
Forum: PowerShell GUIs
Topic: PowerShell -Working With DataGridView- WinForm and DataTable
Replies: 20
Views: 1231

Re: PowerShell -Working With DataGridView- WinForm and DataTable

Hi, this is what is returning... TypeName: System.Xml.XmlElement Name MemberType Definition ---- ---------- ---------- description Property System.Xml.XmlElement description {get;} guid Property System.Xml.XmlElement guid {get;} link Property System.Xml.XmlElement link {get;} pubDate Property string...
by probles40
Wed Apr 15, 2020 7:45 am
Forum: PowerShell GUIs
Topic: PowerShell -Working With DataGridView- WinForm and DataTable
Replies: 20
Views: 1231

Re: PowerShell -Working With DataGridView- WinForm and DataTable

ImageJVierra, I did use originally the code. But, in the xml file it does not exist summary only pubdate, title, and description. With your code, it is only pulling the first two, date and title.
by probles40
Wed Apr 15, 2020 5:35 am
Forum: PowerShell GUIs
Topic: PowerShell -Working With DataGridView- WinForm and DataTable
Replies: 20
Views: 1231

Re: PowerShell -Working With DataGridView- WinForm and DataTable

Thanks everyone! I added the function and now is pulling the correct information. The data that is been pulled, however, has some html tags. I was able to fix this issue by using this line. @{Name="Descriptions";Expression = {$_.description.innertext -replace '<br ?/?>' Seems to be working! The text...
by probles40
Tue Apr 14, 2020 10:58 am
Forum: PowerShell GUIs
Topic: PowerShell -Working With DataGridView- WinForm and DataTable
Replies: 20
Views: 1231

Re: PowerShell -Working With DataGridView- WinForm and DataTable

The code as you are showing is giving an error. The property 'width' cannot be found on this object. Verify that the property exists and can be set. At C:\*.ps1:25 char:1 + $dataGridView.Columns[2].width = 70 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [], RuntimeExc...
by probles40
Tue Apr 14, 2020 10:41 am
Forum: PowerShell GUIs
Topic: PowerShell -Working With DataGridView- WinForm and DataTable
Replies: 20
Views: 1231

PowerShell -Working With DataGridView- WinForm and DataTable

Hi, Am having issue retrieving any data from the rss file. I need help with using DataTable, and continue to display inside of winform. Below, am adding the sample code that I have so far. [code]clear $global:results = @() #...searchindex function is here .... Invoke-WebRequest -Uri 'https://*.*.*.r...