|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to simple storage data about colors in database ?I have column color, which describes color of something ..Ths paramete I use
to set color of some windows forms, which willr epresents data in records... what is the simplest way to storare inforamations about colors in database ?? Hi,
I would use an int32 (4 bytes) - should be enough. -- Show quoteHide quoteMiha Markic [MVP C#] - RightHand .NET consulting & development SLODUG - Slovene Developer Users Group www.rthand.com "£ukasz Margielewski" <luk***@karaoke-kgb.pl> wrote in message news:ctg3el$7bc$1@nemesis.news.tpi.pl... >I have column color, which describes color of something ..Ths paramete I >use to set color of some windows forms, which willr epresents data in >records... what is the simplest way to storare inforamations about colors >in database ?? > Lukasz
Have a look at this colors toargb to understand what Miha is writing http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdrawingcolorclasstoargbtopic.asp I hope this helps? Cor Depends on how many colors you need.
Just like a windows screen, is it 2 bit depth? 16 bit? 24 bit? or 32 bit? - Sahil Malik http://codebetter.com/blogs/sahil.malik/ Show quoteHide quote "£ukasz Margielewski" <luk***@karaoke-kgb.pl> wrote in message news:ctg3el$7bc$1@nemesis.news.tpi.pl... >I have column color, which describes color of something ..Ths paramete I >use to set color of some windows forms, which willr epresents data in >records... what is the simplest way to storare inforamations about colors >in database ?? >
Other interesting topics
Problem with ExecuteNonQuery() Result, Access, ASP.NET, C#, ADO, OleDB
date format in parameter Data reader already open? Question about SQLDataReader SqlDataReader.GetChar(n) failed because of Specified method unsupp Question on how I can use ForeignKeyConstraint What is the Best way to fetch the most recent updated row in a database Cant get Stored Procedure connection string right?? Confused about MissingSchemaAction.AddWithKey protect overflow of sql data type decimal(9,3) |
|||||||||||||||||||||||