List Info

Thread: Newbie trying very hard not to pull my hair out!!!




Newbie trying very hard not to pull my hair out!!!
country flaguser name
United States
2007-06-05 10:03:52
What I am trying to do is beable to type in to a textbox a
password
and then press Enter Button with that I would like to use my
select
statement of: "Select Count (*) As UserCount From
UserName Where
(Password = Password)". This statement is in a sqldatasource
and is
connected to the control of the textbox on the form. I am
however lost
on how to continue to use the sqldatasource to tie up my
enter button.
I am just not sure how to use the sqldatasource in code to
test for
the query or even run the query. I have a example of the
code I am
writing if you would like to have it? I can email it to you.
I would
like to have to figure out some of this on my own so I dont
want you
to give me a complete answer right away. I want to and have
to learn
this!!!

Thank You
Allan


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C# Developers" group.
To post to this group, send email to CSDevelopersgooglegroups.com
To unsubscribe from this group, send email to
CSDevelopers-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/CSDevelopers
-~----------~----~----~----~------~----~------~--~---


Re: Newbie trying very hard not to pull my hair out!!!
user name
2007-06-05 10:52:59
Perhaps and event for the enter key...? I believe you can
create
events for each key you press..

Just create an event for the enter and that does everything
you need
too when it is pressed.. Wouldnt be better to have an
"OK" button..?

On 6/5/07, Allan <allan.gagnongmail.com> wrote:
>
> What I am trying to do is beable to type in to a
textbox a password
> and then press Enter Button with that I would like to
use my select
> statement of: "Select Count (*) As UserCount From
UserName Where
> (Password = Password)". This statement is in a
sqldatasource and is
> connected to the control of the textbox on the form. I
am however lost
> on how to continue to use the sqldatasource to tie up
my enter button.
> I am just not sure how to use the sqldatasource in code
to test for
> the query or even run the query. I have a example of
the code I am
> writing if you would like to have it? I can email it to
you. I would
> like to have to figure out some of this on my own so I
dont want you
> to give me a complete answer right away. I want to and
have to learn
> this!!!
>
> Thank You
> Allan
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C# Developers" group.
To post to this group, send email to CSDevelopersgooglegroups.com
To unsubscribe from this group, send email to
CSDevelopers-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/CSDevelopers
-~----------~----~----~----~------~----~------~--~---


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )