Click here to Skip to main content
12,241,950 members (48,239 online)
   

C#

 
AnswerRe: Dynamic Reference to Dll Path Pin
jschell29-Jan-13 14:50
memberjschell29-Jan-13 14:50 
Question.NET Brush serialization/WYSIWIG [Solved] Pin
Amlanjyoti Saikia29-Jan-13 1:32
memberAmlanjyoti Saikia29-Jan-13 1:32 
AnswerRe: .NET Brush serialization/WYSIWIG Pin
Brisingr Aerowing29-Jan-13 4:12
memberBrisingr Aerowing29-Jan-13 4:12 
GeneralRe: .NET Brush serialization/WYSIWIG Pin
Amlanjyoti Saikia30-Jan-13 2:54
memberAmlanjyoti Saikia30-Jan-13 2:54 
Questionhow to check the avaialbility of username from database Pin
Santhosh V.T28-Jan-13 21:51
memberSanthosh V.T28-Jan-13 21:51 
AnswerRe: how to check the avaialbility of username from database Pin
OriginalGriff28-Jan-13 22:17
mvpOriginalGriff28-Jan-13 22:17 
AnswerRe: how to check the avaialbility of username from database Pin
PIEBALDconsult29-Jan-13 4:59
memberPIEBALDconsult29-Jan-13 4:59 
AnswerRe: how to check the avaialbility of username from database Pin
Marcus Kramer29-Jan-13 6:11
mvpMarcus 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.? Pin
mbatra3128-Jan-13 20:21
membermbatra3128-Jan-13 20:21 
AnswerRe: Learning C# .Net - From where to start.? Pin
OriginalGriff28-Jan-13 22:23
mvpOriginalGriff28-Jan-13 22:23 
AnswerRe: Learning C# .Net - From where to start.? Pin
Richard MacCutchan28-Jan-13 23:53
mvpRichard MacCutchan28-Jan-13 23:53 
AnswerRe: Learning C# .Net - From where to start.? Pin
Abhinav S29-Jan-13 20:02
mvpAbhinav S29-Jan-13 20:02 
QuestionSocket programming Pin
Naina Dhande28-Jan-13 20:04
memberNaina Dhande28-Jan-13 20:04 
AnswerRe: Socket programming Pin
Richard MacCutchan28-Jan-13 23:51
mvpRichard MacCutchan28-Jan-13 23:51 
AnswerRe: Socket programming Pin
pt140129-Jan-13 11:35
memberpt140129-Jan-13 11:35 
QuestionDisplay an array elements in 2 columns using the console Pin
TheGermoz28-Jan-13 10:53
memberTheGermoz28-Jan-13 10:53 
AnswerRe: Display an array elements in 2 columns using the console Pin
Richard Deeming28-Jan-13 11:09
memberRichard Deeming28-Jan-13 11:09 
GeneralRe: Display an array elements in 2 columns using the console Pin
TheGermoz28-Jan-13 12:47
memberTheGermoz28-Jan-13 12:47 
QuestionDoes backgroundWorker make code slower? Pin
MichCl28-Jan-13 10:35
memberMichCl28-Jan-13 10:35 
AnswerRe: Does backgroundWorker make code slower? Pin
PIEBALDconsult28-Jan-13 17:02
memberPIEBALDconsult28-Jan-13 17:02 
GeneralRe: Does backgroundWorker make code slower? Pin
MichCl29-Jan-13 3:18
memberMichCl29-Jan-13 3:18 
GeneralRe: Does backgroundWorker make code slower? Pin
PIEBALDconsult29-Jan-13 4:16
memberPIEBALDconsult29-Jan-13 4:16 
QuestionDoes backgroundWorker make code slower? Pin
MichCl28-Jan-13 10:35
memberMichCl28-Jan-13 10:35 
AnswerRe: Does backgroundWorker make code slower? Pin
Pete O'Hanlon28-Jan-13 10:51
protectorPete O'Hanlon28-Jan-13 10:51 
GeneralRe: Does backgroundWorker make code slower? Pin
MichCl29-Jan-13 3:19
memberMichCl29-Jan-13 3:19 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.160426.1 | Last Updated 30 Apr 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid