Click here to Skip to main content
15,888,461 members
Home / Discussions / C#
   

C#

 
QuestionRe: How to use BETWEEN two dates (datetimepicker) in SQLite with C#?? Pin
Eddy Vluggen20-Nov-13 6:45
professionalEddy Vluggen20-Nov-13 6:45 
AnswerRe: How to use BETWEEN two dates (datetimepicker) in SQLite with C#?? Pin
Pete O'Hanlon20-Nov-13 6:57
mvePete O'Hanlon20-Nov-13 6:57 
AnswerRe: How to use BETWEEN two dates (datetimepicker) in SQLite with C#?? Pin
Bernhard Hiller21-Nov-13 3:13
Bernhard Hiller21-Nov-13 3:13 
GeneralRe: How to use BETWEEN two dates (datetimepicker) in SQLite with C#?? Pin
Fatih BURAL21-Nov-13 11:05
professionalFatih BURAL21-Nov-13 11:05 
GeneralRe: How to use BETWEEN two dates (datetimepicker) in SQLite with C#?? Pin
Bernhard Hiller21-Nov-13 21:01
Bernhard Hiller21-Nov-13 21:01 
GeneralRe: How to use BETWEEN two dates (datetimepicker) in SQLite with C#?? Pin
Fatih BURAL23-Nov-13 9:30
professionalFatih BURAL23-Nov-13 9:30 
GeneralRe: How to use BETWEEN two dates (datetimepicker) in SQLite with C#?? Pin
Eddy Vluggen27-Nov-13 9:08
professionalEddy Vluggen27-Nov-13 9:08 
QuestionHow to Make my Automatic Login works with this site ??? Pin
KishanAhir20-Nov-13 5:41
KishanAhir20-Nov-13 5:41 
Hi,

I'm trying to create a automatic login for a website... the problem is that the website keep giving me this error "Incorrect Email/Password Combination"...

However when i login manually with the exact username and pass that i used in the code... it works!!!

this is strange coz the code seems to work correct! it inserts the username and password into the editboxes and clicks the button called "login"... but then it returns the error!


Here is the code that i usually use:

C#
public void EditboxFill(string Elementid, string TEXT)
        {
                wb.Document.GetElementById(Elementid).SetAttribute("value", TEXT);

        }


C#
public void ElementClick(string Elementid)
        {
               wb.Document.GetElementById(Elementid).InvokeMember("click");
        }


C#
public void Login()
    {
    ElementClick("sbxJxRegEmail");
            EditboxFill("sbxJxRegEmail", "EMAIL");

    ElementClick("sbxJxRegPswd");
            EditboxFill("sbxJxRegPswd", "PASSWORD");

    ElementClick("LoginBtn");
}


i don't think there is any errors in the code... as its the same code that i have used in previous projects, so i guess the site is just being difficult.

its strange that it works manually but not with the code... Therefore i think that i might have something to do with how the user clicks on the Textboxes.

The Textboxs have a PLACEHOLDER that is removed once the user clicks the text in the textbox... Prehaps because the actual text isn't being being clicked but only REPLACED... the site is using my login details as the PLACEHOLDERs... and treats my request as if no text has been entered.

when i try to login manually with empty values... i still get the error : "Incorrect Email/Password Combination"

so... any suggestions on fixing this???
AnswerRe: How to Make my Automatic Login works with this site ??? Pin
Manfred Rudolf Bihy20-Nov-13 6:26
professionalManfred Rudolf Bihy20-Nov-13 6:26 
GeneralRe: How to Make my Automatic Login works with this site ??? Pin
KishanAhir20-Nov-13 7:45
KishanAhir20-Nov-13 7:45 
Questioni am binding counrty dropdownlist from database data in that i want to display india first is it possible with use of sql query Pin
Member 957694920-Nov-13 0:52
Member 957694920-Nov-13 0:52 
QuestionRe: i am binding counrty dropdownlist from database data in that i want to display india first is it possible with use of sql query Pin
thatraja20-Nov-13 1:35
professionalthatraja20-Nov-13 1:35 
AnswerRe: i am binding counrty dropdownlist from database data in that i want to display india first is it possible with use of sql query Pin
thatraja20-Nov-13 1:51
professionalthatraja20-Nov-13 1:51 
Question[Solved] SqlCeException (0x80004005) Pin
emma.sun.sts19-Nov-13 23:33
emma.sun.sts19-Nov-13 23:33 
AnswerRe: SqlCeException (0x80004005) Pin
OriginalGriff20-Nov-13 5:34
mveOriginalGriff20-Nov-13 5:34 
GeneralRe: SqlCeException (0x80004005) Pin
emma.sun.sts20-Nov-13 9:36
emma.sun.sts20-Nov-13 9:36 
GeneralRe: SqlCeException (0x80004005) Pin
Pete O'Hanlon20-Nov-13 9:48
mvePete O'Hanlon20-Nov-13 9:48 
GeneralRe: SqlCeException (0x80004005) Pin
emma.sun.sts20-Nov-13 10:01
emma.sun.sts20-Nov-13 10:01 
QuestionSQL database compatibility issue and database data reset Pin
emma.sun.sts19-Nov-13 20:34
emma.sun.sts19-Nov-13 20:34 
QuestionSkydrive File Upload Pin
mdsajidfaizan19-Nov-13 20:08
professionalmdsajidfaizan19-Nov-13 20:08 
AnswerRe: Skydrive File Upload Pin
Abhinav S19-Nov-13 21:26
Abhinav S19-Nov-13 21:26 
QuestionRead email attachments using C# Pin
surenred19-Nov-13 18:15
surenred19-Nov-13 18:15 
AnswerRe: Read email attachments using C# Pin
Richard MacCutchan19-Nov-13 21:51
mveRichard MacCutchan19-Nov-13 21:51 
AnswerRe: Read email attachments using C# Pin
BillWoodruff20-Nov-13 6:58
professionalBillWoodruff20-Nov-13 6:58 
QuestionUnable to write frame to the video writer Pin
mharicz19-Nov-13 17:41
mharicz19-Nov-13 17:41 

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.