Click here to Skip to main content
15,900,258 members
Home / Discussions / C#
   

C#

 
GeneralRe: SQL Server pool size Pin
DannyAdler16-Jan-08 21:02
DannyAdler16-Jan-08 21:02 
GeneralRe: SQL Server pool size Pin
DannyAdler16-Jan-08 4:24
DannyAdler16-Jan-08 4:24 
GeneralTiff to AVI Pin
Ylno16-Jan-08 3:06
Ylno16-Jan-08 3:06 
GeneralCheck if a Bitmap has tranparency Pin
DannyAdler16-Jan-08 2:43
DannyAdler16-Jan-08 2:43 
GeneralRe: Check if a Bitmap has tranparency Pin
Christian Graus16-Jan-08 9:20
protectorChristian Graus16-Jan-08 9:20 
GeneralRe: Check if a Bitmap has tranparency Pin
DannyAdler16-Jan-08 23:06
DannyAdler16-Jan-08 23:06 
GeneralDisplay comboBox in usercontrol property Pin
Peterson Luiz16-Jan-08 2:23
Peterson Luiz16-Jan-08 2:23 
GeneralRe: Display comboBox in usercontrol property Pin
Justin Perez16-Jan-08 3:16
Justin Perez16-Jan-08 3:16 
Peterson Luiz wrote:
When I set the typeConverter of the property at my userControl to be the type of the above class, it works. The control's property diplays the test strings in a comboBox.
But when I try to bring this strings from a dataBase, it doesn't work.


What do you mean "it doesn't work?" Does it throw an error, does it return nothing? When posting a question be as descriptive as possible.

Peterson Luiz wrote:
I've already tried this:

public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
{
ArrayList permissions = DataBase.GetPermissions();
return new StandardValuesCollection(permissions);
}

Anybody has can help me?


Have you tried setting a breakpoint on the return to see what the values in your permissions ArrayList? If it doesn't throw an error, maybe you aren't returning anything from your database.

I'm going to become rich when I create a device that allows me to punch people in the face over the internet.

"If an Indian asked a programming question in the forest, would it still be urgent?" - John Simmons / outlaw programmer

GeneralRe: Display comboBox in usercontrol property Pin
Peterson Luiz16-Jan-08 4:34
Peterson Luiz16-Jan-08 4:34 
GeneralRe: Display comboBox in usercontrol property Pin
Gareth H16-Jan-08 12:07
Gareth H16-Jan-08 12:07 
QuestionWhich ADO.NET DataProvider to use? Pin
Blumen16-Jan-08 2:19
Blumen16-Jan-08 2:19 
GeneralRe: Which ADO.NET DataProvider to use? Pin
Gareth H16-Jan-08 2:37
Gareth H16-Jan-08 2:37 
GeneralRe: Which ADO.NET DataProvider to use? Pin
Colin Angus Mackay16-Jan-08 4:17
Colin Angus Mackay16-Jan-08 4:17 
GeneralRe: Which ADO.NET DataProvider to use? Pin
Blumen16-Jan-08 17:55
Blumen16-Jan-08 17:55 
QuestionHow to import contacts from mail in C# Pin
mrcsn16-Jan-08 2:01
mrcsn16-Jan-08 2:01 
AnswerRe: How to import contacts from mail in C# Pin
originSH16-Jan-08 2:14
originSH16-Jan-08 2:14 
GeneralRe: How to import contacts from mail in C# Pin
Russell Jones16-Jan-08 2:49
Russell Jones16-Jan-08 2:49 
GeneralRe: How to import contacts from mail in C# Pin
Vikram A Punathambekar16-Jan-08 3:42
Vikram A Punathambekar16-Jan-08 3:42 
GeneralRe: How to import contacts from mail in C# Pin
Justin Perez16-Jan-08 3:58
Justin Perez16-Jan-08 3:58 
GeneralRe: How to import contacts from mail in C# Pin
Vikram A Punathambekar16-Jan-08 4:27
Vikram A Punathambekar16-Jan-08 4:27 
GeneralRe: How to import contacts from mail in C# Pin
originSH18-Jan-08 1:16
originSH18-Jan-08 1:16 
GeneralRe: How to import contacts from mail in C# Pin
mrcsn16-Jan-08 17:46
mrcsn16-Jan-08 17:46 
GeneralRe: How to import contacts from mail in C# Pin
originSH18-Jan-08 1:23
originSH18-Jan-08 1:23 
QuestionHow to get all IPs in Network Pin
Venki5616-Jan-08 1:24
Venki5616-Jan-08 1:24 
AnswerRe: How to get all IPs in Network Pin
Justin Perez16-Jan-08 3:20
Justin Perez16-Jan-08 3:20 

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.