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

C#

 
QuestionOptimizing File Copy Time Pin
#realJSOP19-Apr-09 1:47
professional#realJSOP19-Apr-09 1:47 
AnswerRe: Optimizing File Copy Time Pin
Mycroft Holmes19-Apr-09 1:57
professionalMycroft Holmes19-Apr-09 1:57 
AnswerRe: Optimizing File Copy Time Pin
S. Senthil Kumar19-Apr-09 2:00
S. Senthil Kumar19-Apr-09 2:00 
AnswerRe: Optimizing File Copy Time Pin
Luc Pattyn19-Apr-09 2:30
sitebuilderLuc Pattyn19-Apr-09 2:30 
GeneralRe: Optimizing File Copy Time Pin
harold aptroot19-Apr-09 2:58
harold aptroot19-Apr-09 2:58 
Questionhow to scroll the contents of a text file Pin
mist_psycho19-Apr-09 1:10
mist_psycho19-Apr-09 1:10 
AnswerRe: how to scroll the contents of a text file Pin
Luc Pattyn19-Apr-09 1:41
sitebuilderLuc Pattyn19-Apr-09 1:41 
QuestionHow to retrieve DatabaseObjects ExtentendedProperties ? Pin
hdv21219-Apr-09 0:56
hdv21219-Apr-09 0:56 
Hi in sql server, u can set some extra properties to any object in database (like description).
u can query for this ExtendedProperties via this command :

SELECT        o.Name AS ObjectName,
				o.type AS ObjectType,
				s.name AS SchemaOwner,
				ep.name AS PropertyName,
				ep.value AS PropertyValue,
				ep.major_id As ObjectID,
				c.name AS ColumnName,
				c.colid AS Ordinal
	FROM        sys.objects o INNER JOIN sys.extended_properties ep
				ON o.object_id = ep.major_id
				INNER JOIN sys.schemas s
				ON o.schema_id = s.schema_id
				LEFT JOIN syscolumns c
				ON ep.minor_id = c.colid
				AND ep.major_id = c.id
	WHERE        o.type IN ('V', 'U') and ep.name <> N'microsoft_database_tools_support'


Howeve, i'm looking for a way to retrieve this properties via this code :

this.Text = this.users.ExtendedProperties["MS_Description"].ToString();

Is there anyway to do this ?
Thanks
AnswerRe: How to retrieve DatabaseObjects ExtentendedProperties ? Pin
Mycroft Holmes19-Apr-09 1:43
professionalMycroft Holmes19-Apr-09 1:43 
GeneralRe: How to retrieve DatabaseObjects ExtentendedProperties ? Pin
hdv21219-Apr-09 2:06
hdv21219-Apr-09 2:06 
GeneralRe: How to retrieve DatabaseObjects ExtentendedProperties ? Pin
Henry Minute19-Apr-09 13:06
Henry Minute19-Apr-09 13:06 
Questionloading form design from xml file Pin
samy10019-Apr-09 0:55
samy10019-Apr-09 0:55 
AnswerRe: loading form design from xml file Pin
Mycroft Holmes19-Apr-09 1:49
professionalMycroft Holmes19-Apr-09 1:49 
AnswerRe: loading form design from xml file Pin
Henry Minute19-Apr-09 13:07
Henry Minute19-Apr-09 13:07 
QuestionBurning text effect in GDI+ Pin
ErezRozn19-Apr-09 0:28
ErezRozn19-Apr-09 0:28 
JokeRe: Burning text effect in GDI+ Pin
Mycroft Holmes19-Apr-09 1:51
professionalMycroft Holmes19-Apr-09 1:51 
GeneralRe: Anyone actualy wants to answer this question? Pin
ErezRozn19-Apr-09 2:06
ErezRozn19-Apr-09 2:06 
GeneralRe: Anyone actualy wants to answer this question? Pin
OriginalGriff19-Apr-09 4:01
mveOriginalGriff19-Apr-09 4:01 
GeneralRe: Anyone actualy wants to answer this question? Pin
ErezRozn19-Apr-09 6:19
ErezRozn19-Apr-09 6:19 
GeneralRe: Anyone actualy wants to answer this question? Pin
Henry Minute19-Apr-09 13:17
Henry Minute19-Apr-09 13:17 
GeneralRe: this example has no source code ... Pin
ErezRozn19-Apr-09 20:22
ErezRozn19-Apr-09 20:22 
Questionregistry operations Pin
shefa' isied19-Apr-09 0:11
shefa' isied19-Apr-09 0:11 
AnswerRe: registry operations Pin
Colin Angus Mackay19-Apr-09 1:06
Colin Angus Mackay19-Apr-09 1:06 
GeneralRe: registry operations Pin
shefa' isied19-Apr-09 1:15
shefa' isied19-Apr-09 1:15 
Question[Message Deleted] Pin
hkjghkj118-Apr-09 23:28
hkjghkj118-Apr-09 23:28 

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.