Click here to Skip to main content
15,885,976 members
Home / Discussions / C#
   

C#

 
JokeRe: How do I display an icon in a windows ce 5 form? Pin
Pedram Behroozi20-Nov-08 10:26
Pedram Behroozi20-Nov-08 10:26 
Questionhtml control parsing Pin
Eli Nurman20-Nov-08 8:33
Eli Nurman20-Nov-08 8:33 
AnswerRe: html control parsing Pin
led mike20-Nov-08 9:00
led mike20-Nov-08 9:00 
GeneralRe: html control parsing Pin
Eli Nurman20-Nov-08 9:48
Eli Nurman20-Nov-08 9:48 
GeneralRe: html control parsing Pin
led mike20-Nov-08 11:01
led mike20-Nov-08 11:01 
AnswerRe: html control parsing Pin
Patrick Etc.20-Nov-08 9:53
Patrick Etc.20-Nov-08 9:53 
GeneralRe: html control parsing Pin
Eli Nurman20-Nov-08 10:11
Eli Nurman20-Nov-08 10:11 
GeneralRe: html control parsing Pin
Patrick Etc.20-Nov-08 10:21
Patrick Etc.20-Nov-08 10:21 
Eli Nurman wrote:
after getting the inner html of the control how do i process it? i need a regex pattern


Have you ever used xpath before? With xpath, you can do something like

htmlDoc.SelectNodes("//yoursubdiv/your_option_box/select");

And you will get a collection of nodes back whose values are the text of the selections. No need for regex, no need for html parsing.

This is the best suggestion I can make. Otherwise you'll need to spend some time studying regex and figuring out the exact pattern required to pick out the right dropdown, etc. It can be an irritating and mind-numbing process.

If your document is guaranteed to be XHTML valid, you can even use Xml navigators straight out of the .NET framework with no need to use the Html Agility Pack (HAP is designed to provide XPATH functionality to html documents, which are not strict xml and so will not validate in the XmlDocument constructor).
QuestionHow to fetch the values of the array which is inside another object using reflection Pin
manoj0520-Nov-08 8:31
manoj0520-Nov-08 8:31 
QuestionAdding Web Refrence at runtime Pin
Sabry190520-Nov-08 8:18
Sabry190520-Nov-08 8:18 
AnswerRe: Adding Web Refrence at runtime Pin
Wendelius20-Nov-08 8:35
mentorWendelius20-Nov-08 8:35 
GeneralRe: Adding Web Refrence at runtime Pin
Sabry190520-Nov-08 9:23
Sabry190520-Nov-08 9:23 
GeneralRe: Adding Web Refrence at runtime [modified] Pin
Wendelius20-Nov-08 9:37
mentorWendelius20-Nov-08 9:37 
QuestionDeclaring 'Lists' Pin
nlowdon20-Nov-08 6:43
nlowdon20-Nov-08 6:43 
AnswerRe: Declaring 'Lists' Pin
humayunlalzad20-Nov-08 7:02
humayunlalzad20-Nov-08 7:02 
AnswerRe: Declaring 'Lists' Pin
Wendelius20-Nov-08 7:11
mentorWendelius20-Nov-08 7:11 
GeneralRe: Declaring 'Lists' Pin
Ennis Ray Lynch, Jr.20-Nov-08 7:48
Ennis Ray Lynch, Jr.20-Nov-08 7:48 
GeneralRe: Declaring 'Lists' Pin
Wendelius20-Nov-08 8:04
mentorWendelius20-Nov-08 8:04 
QuestionBitwise operator Pin
humayunlalzad20-Nov-08 6:38
humayunlalzad20-Nov-08 6:38 
AnswerRe: Bitwise operator Pin
led mike20-Nov-08 7:13
led mike20-Nov-08 7:13 
AnswerRe: Bitwise operator Pin
Gideon Engelberth20-Nov-08 9:50
Gideon Engelberth20-Nov-08 9:50 
GeneralRe: Bitwise operator Pin
Luc Pattyn20-Nov-08 13:47
sitebuilderLuc Pattyn20-Nov-08 13:47 
GeneralRe: Bitwise operator Pin
humayunlalzad21-Nov-08 5:50
humayunlalzad21-Nov-08 5:50 
GeneralRe: Bitwise operator Pin
Luc Pattyn21-Nov-08 5:54
sitebuilderLuc Pattyn21-Nov-08 5:54 
GeneralRe: Bitwise operator Pin
humayunlalzad21-Nov-08 6:44
humayunlalzad21-Nov-08 6:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.