Click here to Skip to main content
15,884,472 members
Home / Discussions / C#
   

C#

 
GeneralRe: Object reference not set to an instance of an object.? Pin
dec821-Jan-09 2:10
dec821-Jan-09 2:10 
GeneralRe: Object reference not set to an instance of an object.? Pin
Christian Graus1-Jan-09 2:36
protectorChristian Graus1-Jan-09 2:36 
GeneralRe: Object reference not set to an instance of an object.? Pin
dec821-Jan-09 2:59
dec821-Jan-09 2:59 
GeneralRe: Object reference not set to an instance of an object.? Pin
Christian Graus1-Jan-09 3:08
protectorChristian Graus1-Jan-09 3:08 
GeneralRe: Object reference not set to an instance of an object.? Pin
dec821-Jan-09 3:58
dec821-Jan-09 3:58 
QuestionCrystal Report Designer Pin
spiritboy31-Dec-08 23:19
spiritboy31-Dec-08 23:19 
Question[newbie] [error] must declare a body because it is not marked abstract, extern, or partial Pin
jon-8031-Dec-08 23:01
professionaljon-8031-Dec-08 23:01 
AnswerRe: [newbie] [error] must declare a body because it is not marked abstract, extern, or partial Pin
beatles169231-Dec-08 23:25
beatles169231-Dec-08 23:25 
Hi As you know a class can have fields,methods,properties and events.In general ,methods are behaviors and fields are attributes of a class.(Properties are some special methods to control accessing to the fields according to the encapsulation rule) therefore if there's a behavior (method or property) it should be implemented (or as the exception says should have a body using brackets) unless it's either an abstract method in an abstract class that it's inheritor should implement it and thus it should not have a body or an external method (a placeholder for a windows API method)
The problem here is that you have a CTSetCaseReviewStatus method that has no body.You can change it like this:

public bool CTSetCaseReviewStatus(string sCaseID, int iStatus)
{
//Do something and return its result
}

Questionadding 2 hashtable Pin
tejesh12331-Dec-08 20:48
tejesh12331-Dec-08 20:48 
AnswerRe: adding 2 hashtable Pin
Christian Graus1-Jan-09 2:09
protectorChristian Graus1-Jan-09 2:09 
AnswerRe: adding 2 hashtable Pin
User 66581-Jan-09 2:56
User 66581-Jan-09 2:56 
QuestionCustom control's property problem Pin
Xmen Real 31-Dec-08 18:35
professional Xmen Real 31-Dec-08 18:35 
AnswerRe: Custom control's property problem Pin
beatles169231-Dec-08 23:28
beatles169231-Dec-08 23:28 
GeneralRe: Custom control's property problem Pin
Xmen Real 31-Dec-08 23:31
professional Xmen Real 31-Dec-08 23:31 
AnswerRe: Custom control's property problem Pin
Pedram Behroozi1-Jan-09 0:49
Pedram Behroozi1-Jan-09 0:49 
GeneralRe: Custom control's property problem Pin
Xmen Real 1-Jan-09 0:55
professional Xmen Real 1-Jan-09 0:55 
GeneralRe: Custom control's property problem Pin
Pedram Behroozi1-Jan-09 1:21
Pedram Behroozi1-Jan-09 1:21 
GeneralRe: Custom control's property problem Pin
Xmen Real 1-Jan-09 1:51
professional Xmen Real 1-Jan-09 1:51 
GeneralRe: Custom control's property problem Pin
Eddy Vluggen2-Jan-09 2:07
professionalEddy Vluggen2-Jan-09 2:07 
GeneralRe: Custom control's property problem Pin
Xmen Real 2-Jan-09 3:22
professional Xmen Real 2-Jan-09 3:22 
GeneralRe: Custom control's property problem Pin
Eddy Vluggen2-Jan-09 21:53
professionalEddy Vluggen2-Jan-09 21:53 
GeneralRe: Custom control's property problem Pin
Xmen Real 2-Jan-09 22:02
professional Xmen Real 2-Jan-09 22:02 
QuestionDatagrid Combo box binding Pin
mrcooll31-Dec-08 2:46
mrcooll31-Dec-08 2:46 
AnswerRe: Datagrid Combo box binding Pin
mrcooll31-Dec-08 5:13
mrcooll31-Dec-08 5:13 
QuestionNeed regular expression for spliting string Pin
Ramesh Ramalingam31-Dec-08 1:45
Ramesh Ramalingam31-Dec-08 1:45 

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.