C# get webpage data [closed] - c#

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Can someone please help show me how to get the data from this website using C#:
https://fullmeter.com/fatonline/#/framedata/Guile
I would like to get the data in the table. I tried using webclient download string but I do not see the data in the string. Thanks in advance.

you are not able to see it directly because when site loaded not all content has been return,ajax call created to bring the data.
use webclient and call this page: https://fullmeter.com/fatonline/lib/characterData.json?ver=010102 you will get it as json sturcture

You can try to use WebBrowser class(in WinForms or WPF app, also there are ways to use it in Console app but they are somewhat inconvenient), which has DocumentCompleted or LoadCompleted event which should occur when page has finished loading.

Related

Web scraping using c# in dynamic pages [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 days ago.
Improve this question
I'm trying to create a c# program that automates operations on IMDb (looks up a title and then adds it to a user's private list). I'd prefer to use c# because this last part of a program that also does other operations, but if it should be too difficult I might also be forced to use another language (python). As said before I really would like to use c# but I really don't know where to start, from what I understand I should use the "tags" in the html page, but I'm open to suggestions on how to proceed
site: https://www.imdb.com/
I tried to use a Chrome extension to parse the page and find the way to choose the right html button but i don't know how to go about it (i'm just a beginner in c# and i wanted to learn something by doing this little project)

How can i get my C# winform browser open up a webpage without using a web-browser control ? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I have made it open HTML sourcecodes using the HTMLwebrequest and HTMLwebresponse commands. But someone please help me on how can i view a webpage content on the click of a button on the winform. (Without the help of a webcontrol).
One way to do it is by passing a valid URL to
Process.Start(yourURL);
Process.Start Method
Your PC should then open your default browser with that URL

transfer data from one page to another page in C# ASP.NET [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I was trying to send my data from one page to another page..
I was using Session[] to transfer it,
but the problem is Session is really eat my memory and make my website slower..
Is there any suggestion what will I do?
Use Query String
String s = Request.QueryString["field1"];
The fastest way is QueryString, but there are some restrictions of using it:
the information should be string that must contain characters that are valid for the URL-addresses
the information would be open for every user and every person who has Internet access
advanced user can modify querystring and set any other value, that may cause unexpected result
browsers have length restriction for URL-addresses (1-2 kilobytes)
If you have no problems with this restrictions you can use QueryString, it's more faster than Session

Razor in winforms [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
For my job i have to make many small projects that require to send different mails and set up some html. I usually make these forms in Winforms. Now at this moment whenever i need to fill my html I take the string replace some values and have functions that write hardcoded table rows.
To make my job a little easier I was wondering if it was possible to import the razor engine(not sure if it's the right word choice) in my winforms project and simply pass a model to a CSHTML file which returns me the HTML in a string so i can mail it to coworkers.
If this is possible, instructions on how to do it are welcome.
Kind Regards Roxas

Does ASP have a Current event? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Does ASP have a construct similar to Access's On Current event? I've inherited a set of ASP web forms coded in C# and the rules associated with the form controls kick in OK if you click one of the controls but I need them to apply when the form opens, not only on change. That they don't is allowing bad data.
I need them to apply when the form opens, not only on change.
With ASP.NET you can use the Page_Load event handler; check out the page lifecycle documentation for more details, as that may lead you to something more appropriate and would be a rather educational read on the whole.

Categories

Resources