473,396 Members | 1,933 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Searching values on an other Webpage

2
Greetings,

I am having a little issue with my project at work. I am an apprentice in a pretty big company for my education and my task is to make an asset management system with asp.net in C#.
Now, the basic functionality of my program is working (add, update, delete, change users, ...), but there is 1 aspect i haven't been able to accomplish yet, which has to do with the warranty of the company's assets.
We mainly use Dell and HP products (pc's, laptops, beamers,...) and in order to find out the date of when the warranty is due to end, you need to fill in the Service tags (Dell) or the Serial and Product key (HP) on their respective warranty-status websites.

<links snipped>

Now, once you filled in this data, you get redirected to an other page where you get to see when your warranty is about to end. You are redirected with the help of a querystring, where the values are being filled in.
So basically, i need to find a way to fill in the values in the querystring (of the HP /Dell site) when i press on the "Check warranty"-button in my application and then retrieve the date that is listed on this page... in order to afterwards save it in my warranty-column of my database.
Getting the querystring sorted is not the big issue here (it's just filling in values for the serialnumber variables in the querystring). The main issue is to get just the date of when the warranty ends out of this page to then insert it into the database of the company.

I'm in somewhat of a cloud on this subject, as it is the first time i'm making such a utility and i am not quite an expert in .net programming (c#).
Is this possible in c# or should i be looking for scripts to do this?
Is there any article or advice you can give me on this? I've been browsing some on this, but i'm having issues finding stuff about how to do this and besides that, i'm having a hard time "formulating" what exactly i'm looking for and it doesn't make it easier to find things like that either :)


Thanks in advance.

Greets
Morf
Oct 7 '09 #1
3 1539
Plater
7,872 Expert 4TB
If the url is something like:
http://www.dell.com/WarrentyLookup.pl?Tag=SomeTagNumber

Then you can just build a regular weblink and fill in the SomeTagNumber section with the correct tag value
Oct 7 '09 #2
Morf
2
Hey Plater, ty for your reply.

The link is indeed something like that (that's what i meant with filling in the correct values in the querystring). What i'm struggling with, is to get/retrieve the data (in this case: the date when the warranty is due to end) from the Dell/HP site, to afterwards introduce it in my database.
Putting data in the database is something i use alot for my application and i've got experience with how this works. So no problem there...
Getting the value of a field/label from an external webpage is my issue.

Greets
Morf
Oct 8 '09 #3
Plater
7,872 Expert 4TB
Well in the backend side (C# or VBNET) look into useing the HttpWebRequest object
Oct 8 '09 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

12
by: David Walker | last post by:
Hi I have a program which I need to interface with a webpage - the webpage will accept an input (probably a 'post' string from the program) and then will process it and needs to return a value. ...
3
by: hivie | last post by:
I have a problem that is causing me problems. I have a text file that stores 5 lines of crap (stuff that I dont need( for the user only)). After that there is data that is in three columns...
4
by: Jon Paal | last post by:
I am using a custom server control in my webpage which renders some html. while it creates the html, it develops an arraylist of values. Is there a way to capture the arraylist from the control...
3
by: Sharon | last post by:
hello all, I was successfull in passing one value from first webpage to second webpage, but not sure how to pass three textbox values from the first page to the second page. Below is the code i...
7
by: Ben | last post by:
Hi, I work like a robot today. My job is to visit a webpage, copy several numbers, paste them to a text file. Then another webpage...... There are about 100 URLs. I decided to download all webpages...
3
by: toffee | last post by:
Hi all, I got a pre-formatted spreadsheet. would it be possible using js to copy the data from a table on the current webpage, open the spreadsheet and paste the content ? if so, anyone got any...
3
by: Aaron | last post by:
I'm trying to parse a table on a webpage to pull down some data I need. The page is based off of information entered into a form. when you submit the data from the form it displays a...
1
by: shantanu | last post by:
Hi all I have a requirement and i need some resolution to work on. i have to read a webpage and extract few values from the page. I am using the httpwebrequest meathod to query the webpage that...
2
by: creative1 | last post by:
hi there, I one question about getting , is this possible that a webpage could not get POSTed values? if yes what should be done to fix that? If I try: echo ($HTTP_POST_VARS); I get following...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.