Click here to Skip to main content
15,924,193 members
Home / Discussions / C#
   

C#

 
AnswerRe: Data gride update/refresh - works when stepping through code but not when running the program [modified] Pin
dave181614-Apr-09 12:33
dave181614-Apr-09 12:33 
Questionhow to update mutliple columns with ado to a database? Pin
dave181613-Apr-09 15:01
dave181613-Apr-09 15:01 
AnswerRe: how to update mutliple columns with ado to a database? Pin
Mbah Dhaim13-Apr-09 17:42
Mbah Dhaim13-Apr-09 17:42 
GeneralRe: how to update mutliple columns with ado to a database? Pin
Vikram A Punathambekar13-Apr-09 17:50
Vikram A Punathambekar13-Apr-09 17:50 
AnswerRe: how to update mutliple columns with ado to a database? Pin
Vikram A Punathambekar13-Apr-09 17:48
Vikram A Punathambekar13-Apr-09 17:48 
QuestionClone DataGridView Pin
Kasperle13-Apr-09 13:54
Kasperle13-Apr-09 13:54 
QuestionHow custom class can be converted to common value type? Pin
Faisal Khatri13-Apr-09 11:09
Faisal Khatri13-Apr-09 11:09 
AnswerRe: How custom class can be converted to common value type? Pin
Colin Angus Mackay13-Apr-09 12:05
Colin Angus Mackay13-Apr-09 12:05 
Faisal Khatri wrote:
The question is "Create a custom class that can be converted to common value types"?


It sounds like the question is talking about Serialisation.

All types, eventually, boil down to some basic types such as int, string, double, bool etc.

For example, a Customer type may consist of an account number, a surname, forename, address (another custom type), etc. Account number could just be an int, while surname and forename are strings.

Serialisation (and its counterpart deserialisation) is the process of taking complex types and representing them in a common way so that they can be transferred to other systems or persisted to a storage medium.

Probably one of the most common ways to serialise stuff is to use XML, which is at its most basic just a big string.

Of course you can come up with your own scheme for serialising a type.

Now, whether this is what your tutor wants, I don't know. If they are careless with their vocabulary then it probably is. If they are very careful with their word usage then no. In .NET a "value type" has a very specific meaning, and a string (although immutable and therefore often confused with a value type) isn't a value type.

Does this help at all? Or does it just raise more questions?


QuestionDisplay a Custom Form Modally Pin
sevensilly13-Apr-09 10:19
sevensilly13-Apr-09 10:19 
AnswerRe: Display a Custom Form Modally Pin
Mycroft Holmes13-Apr-09 14:26
professionalMycroft Holmes13-Apr-09 14:26 
GeneralRe: Display a Custom Form Modally Pin
sevensilly14-Apr-09 5:33
sevensilly14-Apr-09 5:33 
Questionproblem with datagrid and column Pin
behzadcp13-Apr-09 8:25
professionalbehzadcp13-Apr-09 8:25 
AnswerRe: problem with datagrid and column Pin
Faisal Khatri13-Apr-09 11:10
Faisal Khatri13-Apr-09 11:10 
GeneralRe: problem with datagrid and column Pin
behzadcp13-Apr-09 16:50
professionalbehzadcp13-Apr-09 16:50 
QuestionHow to load images on background transperantly? Pin
Supra213-Apr-09 6:56
Supra213-Apr-09 6:56 
AnswerRe: How to load images on background transperantly? Pin
EliottA13-Apr-09 7:09
EliottA13-Apr-09 7:09 
QuestionThreads and Windows Forms [modified] Pin
kikeman13-Apr-09 6:23
kikeman13-Apr-09 6:23 
AnswerRe: Threads and Windows Forms Pin
Dave Kreskowiak13-Apr-09 8:52
mveDave Kreskowiak13-Apr-09 8:52 
GeneralRe: Threads and Windows Forms Pin
kikeman13-Apr-09 10:05
kikeman13-Apr-09 10:05 
GeneralRe: Threads and Windows Forms Pin
Dave Kreskowiak13-Apr-09 10:39
mveDave Kreskowiak13-Apr-09 10:39 
GeneralRe: Threads and Windows Forms Pin
kikeman13-Apr-09 11:10
kikeman13-Apr-09 11:10 
QuestionArray of Structs overwrite problem Pin
Bruce Coward13-Apr-09 5:41
Bruce Coward13-Apr-09 5:41 
AnswerRe: Array of Structs overwrite problem Pin
Luc 64801113-Apr-09 6:06
Luc 64801113-Apr-09 6:06 
GeneralRe: Array of Structs overwrite problem Pin
Bruce Coward13-Apr-09 6:24
Bruce Coward13-Apr-09 6:24 
GeneralRe: Array of Structs overwrite problem Pin
Luc 64801113-Apr-09 7:17
Luc 64801113-Apr-09 7:17 

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.