Click here to Skip to main content
15,890,609 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: dropdownlist Pin
Abhijit Jana28-Dec-08 22:11
professionalAbhijit Jana28-Dec-08 22:11 
AnswerRe: dropdownlist Pin
Brij28-Dec-08 22:13
mentorBrij28-Dec-08 22:13 
QuestionString Builder class Pin
bhavna432128-Dec-08 21:13
bhavna432128-Dec-08 21:13 
AnswerRe: String Builder class Pin
N a v a n e e t h28-Dec-08 22:18
N a v a n e e t h28-Dec-08 22:18 
AnswerRe: String Builder class Pin
Brij28-Dec-08 22:21
mentorBrij28-Dec-08 22:21 
GeneralRe: String Builder class Pin
N a v a n e e t h28-Dec-08 22:27
N a v a n e e t h28-Dec-08 22:27 
GeneralRe: String Builder class Pin
Brij29-Dec-08 0:00
mentorBrij29-Dec-08 0:00 
Question'System.Web.UI.Util' is inaccessible due to its protection level Error [modified] Pin
Rameez Raja28-Dec-08 21:09
Rameez Raja28-Dec-08 21:09 
Hi all,

iam going to validate the email ID if it is already exist in DB using custom validator

Here is code

protected void ValidateEmail(object source, System.Web.UI.WebControls.ServerValidateEventArgs args)
    {
        string sqlCmd =
            "SELECT Email FROM User_Profile WHERE Email = " +
            Util.Quote(email.Value.Trim());

        OdbcCommand command = new OdbcCommand(sqlCmd, con);
        OdbcDataReader reader = command.ExecuteReader();
        args.IsValid = !reader.HasRows;
        reader.Close();
    }


iam getting Error at this Place that
Util.Quote(email.Value.Trim());


'System.Web.UI.Util' is inaccessible due to its protection level

kindly guide me what iam doing wrong

best Regards
Rameez

modified on Monday, December 29, 2008 7:22 AM

AnswerRe: 'System.Web.UI.Util' is inaccessible due to its protection level Error Pin
Tom Delany29-Dec-08 10:24
Tom Delany29-Dec-08 10:24 
QuestionNot Catch the SmtpFailedRecipientsException Pin
nithydurai28-Dec-08 20:26
nithydurai28-Dec-08 20:26 
AnswerRe: Not Catch the SmtpFailedRecipientsException Pin
N a v a n e e t h28-Dec-08 20:48
N a v a n e e t h28-Dec-08 20:48 
GeneralRe: Not Catch the SmtpFailedRecipientsException Pin
nithydurai28-Dec-08 21:11
nithydurai28-Dec-08 21:11 
GeneralRe: Not Catch the SmtpFailedRecipientsException Pin
N a v a n e e t h28-Dec-08 22:12
N a v a n e e t h28-Dec-08 22:12 
GeneralRe: Not Catch the SmtpFailedRecipientsException Pin
nithydurai28-Dec-08 22:27
nithydurai28-Dec-08 22:27 
GeneralRe: Not Catch the SmtpFailedRecipientsException Pin
N a v a n e e t h28-Dec-08 22:38
N a v a n e e t h28-Dec-08 22:38 
AnswerRe: Not Catch the SmtpFailedRecipientsException Pin
Jas 00728-Dec-08 21:32
Jas 00728-Dec-08 21:32 
GeneralRe: Not Catch the SmtpFailedRecipientsException Pin
nithydurai28-Dec-08 21:40
nithydurai28-Dec-08 21:40 
GeneralNot Catch the SmtpFailedRecipientsException Pin
Jas 00729-Dec-08 19:30
Jas 00729-Dec-08 19:30 
Questionhelp me Pin
janani1328-Dec-08 20:06
janani1328-Dec-08 20:06 
AnswerRe: help me Pin
Abhijit Jana28-Dec-08 20:21
professionalAbhijit Jana28-Dec-08 20:21 
AnswerRe: help me Pin
Brij28-Dec-08 20:45
mentorBrij28-Dec-08 20:45 
AnswerRe: help me Pin
N a v a n e e t h28-Dec-08 20:50
N a v a n e e t h28-Dec-08 20:50 
GeneralRe: help me Pin
Abhijit Jana28-Dec-08 22:13
professionalAbhijit Jana28-Dec-08 22:13 
GeneralRe: help me Pin
_AK_28-Dec-08 23:23
_AK_28-Dec-08 23:23 
GeneralRe: help me Pin
Brij29-Dec-08 3:11
mentorBrij29-Dec-08 3:11 

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.