Click here to Skip to main content
       

C#

 
AnswerRe: Reference confusion PinmvpAbhinav S29-Jan-13 20:01 
GeneralRe: Reference confusion PinmemberShameel30-Jan-13 4:26 
QuestionSerial Port Errors, User Messages PinmemberC-P-User-329-Jan-13 7:23 
AnswerRe: Serial Port Errors, User Messages Pinmemberjibesh29-Jan-13 12:57 
QuestionDynamic Reference to Dll Path PinmemberMember 461637929-Jan-13 2:53 
AnswerRe: Dynamic Reference to Dll Path PinmemberAlan N29-Jan-13 4:29 
AnswerRe: Dynamic Reference to Dll Path Pinmemberjschell29-Jan-13 14:50 
Question.NET Brush serialization/WYSIWIG [Solved] [modified] PinmemberAmlanjyoti Saikia29-Jan-13 1:32 
AnswerRe: .NET Brush serialization/WYSIWIG PinmemberBrisingr Aerowing29-Jan-13 4:12 
GeneralRe: .NET Brush serialization/WYSIWIG PinmemberAmlanjyoti Saikia30-Jan-13 2:54 
Questionhow to check the avaialbility of username from database PinmemberSanthosh V.T28-Jan-13 21:51 
AnswerRe: how to check the avaialbility of username from database PinmvpOriginalGriff28-Jan-13 22:17 
AnswerRe: how to check the avaialbility of username from database PinmemberPIEBALDconsult29-Jan-13 4:59 
AnswerRe: how to check the avaialbility of username from database PinmvpMarcus Kramer29-Jan-13 6:11 
Don't get so hung up on "3 tier" and stuff like that.
You have a very specific problem you are trying to solve so just focus on that alone.
What you need to do is run a query against your database to check if a value exists. That's it.
public bool UserNameExists( string username )
{
   // Connect to your database...

   // Run a query to check if username exists. 
   // NOTE: Use a paramatarized query.
   // Something like: SELECT count(*) FROM [YourUserTable] WHERE [YourUserNameColumn] = @username
}
I wasn't, now I am, then I won't be anymore.

QuestionLearning C# .Net - From where to start.? Pinmembermbatra3128-Jan-13 20:21 
AnswerRe: Learning C# .Net - From where to start.? PinmvpOriginalGriff28-Jan-13 22:23 
AnswerRe: Learning C# .Net - From where to start.? PinmvpRichard MacCutchan28-Jan-13 23:53 
AnswerRe: Learning C# .Net - From where to start.? PinmvpAbhinav S29-Jan-13 20:02 
QuestionSocket programming PinmemberNaina Dhande28-Jan-13 20:04 
AnswerRe: Socket programming PinmvpRichard MacCutchan28-Jan-13 23:51 
AnswerRe: Socket programming Pinmemberpt140129-Jan-13 11:35 
QuestionDisplay an array elements in 2 columns using the console PinmemberTheGermoz28-Jan-13 10:53 
AnswerRe: Display an array elements in 2 columns using the console PinmemberRichard Deeming28-Jan-13 11:09 
GeneralRe: Display an array elements in 2 columns using the console PinmemberTheGermoz28-Jan-13 12:47 
QuestionDoes backgroundWorker make code slower? PinmemberMichCl28-Jan-13 10:35 
AnswerRe: Does backgroundWorker make code slower? PinmemberPIEBALDconsult28-Jan-13 17:02 
GeneralRe: Does backgroundWorker make code slower? PinmemberMichCl29-Jan-13 3:18 
GeneralRe: Does backgroundWorker make code slower? PinmemberPIEBALDconsult29-Jan-13 4:16 
QuestionDoes backgroundWorker make code slower? PinmemberMichCl28-Jan-13 10:35 
AnswerRe: Does backgroundWorker make code slower? PinprotectorPete O'Hanlon28-Jan-13 10:51 
GeneralRe: Does backgroundWorker make code slower? PinmemberMichCl29-Jan-13 3:19 
GeneralRe: Does backgroundWorker make code slower? PinmemberMichCl29-Jan-13 5:02 
GeneralRe: Does backgroundWorker make code slower? PinprotectorPete O'Hanlon29-Jan-13 5:12 
QuestionGroupPrincipalExt can not be used in a query against this store PinmemberJD8628-Jan-13 9:18 
AnswerRe: GroupPrincipalExt can not be used in a query against this store PinmemberRichard Deeming28-Jan-13 9:26 
GeneralRe: GroupPrincipalExt can not be used in a query against this store PinmemberJD8628-Jan-13 10:49 
QuestionCheck if polygon is Inside another Pinmembergilvani28-Jan-13 8:48 
AnswerRe: Check if polygon is Inside another [modified] Pinmemberpt140128-Jan-13 9:05 
GeneralRe: Check if polygon is Inside another Pinmembergilvani29-Jan-13 0:03 
AnswerRe: Check if polygon is Inside another PinmemberAlan Balkany29-Jan-13 5:12 
GeneralRe: Check if polygon is Inside another Pinmembergilvani29-Jan-13 5:16 
GeneralRe: Check if polygon is Inside another PinmemberAlan Balkany29-Jan-13 5:22 
QuestionProblems in retrieving HttpResponse content Pinmembertiwal28-Jan-13 5:16 
AnswerRe: Problems in retrieving HttpResponse content PinmemberRichard Deeming28-Jan-13 6:06 
GeneralRe: Problems in retrieving HttpResponse content Pinmembertiwal29-Jan-13 0:02 
QuestionAbout method TextWriter.Write() Pinmembertaibc28-Jan-13 0:52 
AnswerRe: About method TextWriter.Write() PinmemberBobJanova28-Jan-13 1:34 
AnswerRe: About method TextWriter.Write() PinmvpRichard MacCutchan28-Jan-13 1:37 
GeneralRe: About method TextWriter.Write() PinmemberPIEBALDconsult28-Jan-13 4:28 
AnswerRe: About method TextWriter.Write() Pinmembertaibc28-Jan-13 15:51 

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

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


Advertise | Privacy | Mobile
Web01 | 2.8.1411022.1 | Last Updated 22 Nov 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid