Solved

How do I clear the text controls in a createuserwizard control ?

Posted on 2007-11-19
2
587 Views
Last Modified: 2008-02-07
I test to see if the user name entered into the createuserwizard control exists in a database of authorized users.  If it fails I pop up a dialog informing the user the username they entered does not exist.  When they close the dialog I want to clear the createuserwizard text fields.  Can someone point me in the right direction?
Thanks,
John
0
Comment
Question by:leachj
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 11

Accepted Solution

by:
DotNetThinker earned 500 total points
ID: 20313872
How about this?
CreateUserWizard1.UserName = "";
CreateUserWizard1.Password = "";

Open in new window

0
 
LVL 7

Expert Comment

by:nisarkhan
ID: 20314175
or you can also use:

CreateUserWizard1.UserName = String.Empty();
CreateUserWizard1.Password = String.Empty();

 
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question