Home > Software design >  best way filter and load html file to datatable c#
best way filter and load html file to datatable c#

Time:03-05

I have a HTML file (so long) see link : Link

I want search and filter get tab name "OCV Search Area" red color in html file attach link and add to dataGridView load forms. please help me code. I'm a newbie who doesn't understand html

I'm try load file to webBrowser:

        private void Form1_Load(object sender, EventArgs e)
        {
            string pathToHTMLFile = @"C:\Users\Administrator\Desktop\Test\Sample.html";
            webBrowser1.Navigate(pathToHTMLFile);
        }

CodePudding user response:

I see what he means, please open the attachment and see the lines highlighted in red. he meant to add the red lines in the file to the data table

CodePudding user response:

I really don't understand what you are looking after here? You want to read the html tags, by id or by tag then pass those stored texts to another target. First i thought you have problem loading the html file then i realized i totally misunderstood, if you can dive deep into what you are looking after to achieve.

  • Related