Click here to Skip to main content
15,899,679 members
Home / Discussions / C#
   

C#

 
Questionerror DataSet Fill Pin
TAREQ F ABUZUHRI15-Jul-06 4:42
TAREQ F ABUZUHRI15-Jul-06 4:42 
AnswerRe: error DataSet Fill Pin
Colin Angus Mackay15-Jul-06 5:27
Colin Angus Mackay15-Jul-06 5:27 
QuestionAuto submit using webbrowser component Pin
Dave_Roach15-Jul-06 1:02
Dave_Roach15-Jul-06 1:02 
AnswerRe: Auto submit using webbrowser component Pin
User 171649215-Jul-06 2:47
professionalUser 171649215-Jul-06 2:47 
GeneralRe: Auto submit using webbrowser component Pin
Dave_Roach15-Jul-06 13:47
Dave_Roach15-Jul-06 13:47 
AnswerRe: Auto submit using webbrowser component Pin
led mike15-Jul-06 11:47
led mike15-Jul-06 11:47 
GeneralRe: Auto submit using webbrowser component Pin
Dave_Roach15-Jul-06 13:44
Dave_Roach15-Jul-06 13:44 
GeneralRe: Auto submit using webbrowser component Pin
led mike15-Jul-06 15:57
led mike15-Jul-06 15:57 
Dave_Roach wrote:
public bool ClickButtonOnDocument(HTMLDocument myDoc,string buttonLabel)


Dave_Roach wrote:
btnSearch = (HTMLInputElement) myDoc.all.item(buttonLabel, 0);


Your code seems to indicate that you are using the text "buttonLabel" to find the element object in the document.all collection. Have you read the documentation[^] ? It does not say to use the button text to retrieve the button element. document.all.item( vIndex) where vIndex is either a zero based "index" into the collection or if a "string" it is the "name" or "id" property of the element.

So if the submit button does not have a name or id property then you will not find it in the colleciton unless you know the zero based index of it which is very unlikely.

"Just about every question you've asked over the last 3-4 days has been "urgent". Perhaps a little planning would be helpful?"
Colin Angus Mackay in the C# forum


led mike
QuestionResize quastion (Spliter) Pin
ytubis15-Jul-06 0:14
ytubis15-Jul-06 0:14 
AnswerRe: Resize quastion (Spliter) Pin
Andrew Lygin15-Jul-06 1:23
Andrew Lygin15-Jul-06 1:23 
Questiongetting inserted twice in SQL Table Pin
airandclouds14-Jul-06 23:54
airandclouds14-Jul-06 23:54 
AnswerRe: getting inserted twice in SQL Table [modified] Pin
Colin Angus Mackay15-Jul-06 5:35
Colin Angus Mackay15-Jul-06 5:35 
QuestionRead/Update flat files Pin
Krrish14-Jul-06 23:46
Krrish14-Jul-06 23:46 
AnswerRe: Read/Update flat files Pin
led mike15-Jul-06 16:18
led mike15-Jul-06 16:18 
GeneralRe: Read/Update flat files Pin
Krrish16-Jul-06 19:03
Krrish16-Jul-06 19:03 
GeneralRe: Read/Update flat files Pin
led mike16-Jul-06 19:47
led mike16-Jul-06 19:47 
GeneralRe: Read/Update flat files Pin
Krrish16-Jul-06 20:13
Krrish16-Jul-06 20:13 
QuestionIt must be >= 0 and < the PageCount Pin
vjain2314-Jul-06 19:23
vjain2314-Jul-06 19:23 
AnswerRe: It must be >= 0 and < the PageCount Pin
Colin Angus Mackay14-Jul-06 21:56
Colin Angus Mackay14-Jul-06 21:56 
AnswerRe: It must be >= 0 and < the PageCount Pin
Paul Conrad15-Jul-06 10:54
professionalPaul Conrad15-Jul-06 10:54 
QuestionRead location in .lnk (shortcut) file Pin
StyrofoamSUV14-Jul-06 18:56
StyrofoamSUV14-Jul-06 18:56 
AnswerRe: Read location in .lnk (shortcut) file Pin
kasik15-Jul-06 5:15
kasik15-Jul-06 5:15 
GeneralRe: Read location in .lnk (shortcut) file Pin
StyrofoamSUV15-Jul-06 6:46
StyrofoamSUV15-Jul-06 6:46 
QuestionHow can I display a .mht file on a webBrwoser control? Pin
AngryC14-Jul-06 15:49
AngryC14-Jul-06 15:49 
AnswerRe: How can I display a .mht file on a webBrwoser control? Pin
Andrew Lygin14-Jul-06 19:20
Andrew Lygin14-Jul-06 19:20 

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.