4
Answers

Random Letters and Number combined.

Photo of don taylor

don taylor

14y
2.6k
1
Using ASP.net (4) with C# (2008 & 2010) also Silverlight

Hello Everyone!

I would like to generate a combination of random letters and numbers.
I need 3 of each that must not be duplicated at any time.
The desired result would look something like "ABC123" when output to a label.

Thanks in advance for your input

Don Taylor

Answers (4)

0
Photo of Dipen Lama
NA 331 195.9k 18y
Use Place holder control to place the user control dynamically.
Here is some lines:

    string userControlName = "UserControl1.ascx"; 
 
    Control control1 ;
    control1 = LoadControl( userControlName );
    placeHolderControl1.Controls.Clear();
    placeHolderControl1.Controls.Add( control1 );