Click here to Skip to main content
15,902,189 members
Home / Discussions / C#
   

C#

 
GeneralRe: Single instance assembly Pin
James T. Johnson24-Oct-02 22:17
James T. Johnson24-Oct-02 22:17 
GeneralReverse IP Lookup in C#/.NET Pin
Quimbly24-Oct-02 11:12
Quimbly24-Oct-02 11:12 
GeneralRe: Reverse IP Lookup in C#/.NET Pin
Daniel Turini24-Oct-02 11:48
Daniel Turini24-Oct-02 11:48 
GeneralRe: Reverse IP Lookup in C#/.NET Pin
Jon Rista24-Oct-02 12:14
Jon Rista24-Oct-02 12:14 
GeneralRe: Reverse IP Lookup in C#/.NET Pin
Quimbly24-Oct-02 19:17
Quimbly24-Oct-02 19:17 
GeneralRe: Reverse IP Lookup in C#/.NET Pin
Jon Rista26-Oct-02 10:16
Jon Rista26-Oct-02 10:16 
GeneralRe: Reverse IP Lookup in C#/.NET Pin
ian mariano28-Oct-02 5:01
ian mariano28-Oct-02 5:01 
GeneralMoving only Web colors from the knowncolors Enumeration Pin
mkushner24-Oct-02 9:05
mkushner24-Oct-02 9:05 
Hi All,
I'm trying to move colors for index 27 and beyond from the Colors enumeration to a new string[] array. The following moves them fine into the new array, and writes them out, but when the Databind occurs, it give me the following error.

Object reference not set to an instance of an object.

KnownColor enumColor = new KnownColor();
Array Colors = Enum.GetValues(enumColor.GetType());

string[] WebColors = new string[150];
for (int i=27; i< Colors.Length;i++)
{
WebColors[i-27] = Color.FromName(Colors.GetValue(i).ToString()).Name.ToString();
}

foreach (string s in WebColors)
{
Response.Write(s + "
");
}

cboColor.DataSource = WebColors;
cboColor.DataBind(); ERROR IS HAPPENING ON THIS LINE


I would be VERY thankful for any help.

Thanks,
Mike
QuestionIs C# intended for network programming as well? Pin
steinher24-Oct-02 8:09
steinher24-Oct-02 8:09 
AnswerRe: Is C# intended for network programming as well? Pin
Stephane Rodriguez.24-Oct-02 8:19
Stephane Rodriguez.24-Oct-02 8:19 
AnswerRe: TCPClient.... Pin
Masaaki Onishi24-Oct-02 16:30
Masaaki Onishi24-Oct-02 16:30 
GeneralRe: TCPClient.... Pin
Christopher Lord25-Oct-02 15:31
Christopher Lord25-Oct-02 15:31 
Questionopening a pdf document using c sharp?? Pin
Asim N.24-Oct-02 2:19
Asim N.24-Oct-02 2:19 
AnswerRe: opening a pdf document using c sharp?? Pin
Stephane Rodriguez.24-Oct-02 2:36
Stephane Rodriguez.24-Oct-02 2:36 
Question[MS MIT] How to extract Mobile Phone number? Pin
tomiga23-Oct-02 23:14
tomiga23-Oct-02 23:14 
AnswerRe: Impossible? Pin
Masaaki Onishi24-Oct-02 16:36
Masaaki Onishi24-Oct-02 16:36 
GeneralRe: Impossible? Pin
eshao24-Oct-02 19:24
eshao24-Oct-02 19:24 
GeneralRe: Impossible? Pin
tomiga24-Oct-02 21:41
tomiga24-Oct-02 21:41 
Generalc# API for converting XSL-FO to PDF and other formats Pin
Asim N.23-Oct-02 16:39
Asim N.23-Oct-02 16:39 
GeneralRe: c# API for converting XSL-FO to PDF and other formats Pin
Christian Graus23-Oct-02 18:23
protectorChristian Graus23-Oct-02 18:23 
GeneralRe: c# API for converting XSL-FO to PDF and other formats Pin
Jon Rista23-Oct-02 18:51
Jon Rista23-Oct-02 18:51 
GeneralRe: c# API for converting XSL-FO to PDF and other formats Pin
Jon Rista23-Oct-02 19:11
Jon Rista23-Oct-02 19:11 
GeneralRe: c# API for converting XSL-FO to PDF and other formats Pin
Christian Graus23-Oct-02 21:34
protectorChristian Graus23-Oct-02 21:34 
GeneralRe: c# API for converting XSL-FO to PDF and other formats Pin
David Stone24-Oct-02 5:47
sitebuilderDavid Stone24-Oct-02 5:47 
GeneralRe: c# API for converting XSL-FO to PDF and other formats Pin
Christian Graus24-Oct-02 10:12
protectorChristian Graus24-Oct-02 10:12 

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.