Click here to Skip to main content
15,887,083 members
Home / Discussions / C#
   

C#

 
AnswerRe: please help using references in c# Pin
Maqsood Ahmed10-Oct-05 0:04
Maqsood Ahmed10-Oct-05 0:04 
Questionstring conversion Pin
Brendan Vogt9-Oct-05 21:55
Brendan Vogt9-Oct-05 21:55 
AnswerRe: string conversion Pin
Maqsood Ahmed10-Oct-05 0:11
Maqsood Ahmed10-Oct-05 0:11 
AnswerRe: string conversion Pin
S. Senthil Kumar10-Oct-05 2:05
S. Senthil Kumar10-Oct-05 2:05 
GeneralRe: string conversion Pin
Brendan Vogt10-Oct-05 2:39
Brendan Vogt10-Oct-05 2:39 
GeneralRe: string conversion Pin
S. Senthil Kumar10-Oct-05 3:03
S. Senthil Kumar10-Oct-05 3:03 
QuestionRe: string conversion Pin
Brendan Vogt11-Oct-05 0:44
Brendan Vogt11-Oct-05 0:44 
AnswerRe: string conversion Pin
Maqsood Ahmed11-Oct-05 20:55
Maqsood Ahmed11-Oct-05 20:55 
ma se wrote:
@Name may contain null. When inserting this parameter to the table, will it contain a null? Is this similar to that DBNull value

No, null is not similar to DBNull.Value

ma se wrote:
If a variable strName has a length, how do I specify this?

strName.Length property will do.

ma se wrote:
if strName is null, how do I specify a length for it?

You can not get properties of the null objects as it always results in NullReferenceException. It'll be better to put in a null check, and if true assign DBNull.Value instead of the length of the string.

HTH.

Maqsood Ahmed - MCAD.net
Kolachi Advanced Technologies
http://www.kolachi.net
QuestionRe: string conversion Pin
Brendan Vogt11-Oct-05 22:04
Brendan Vogt11-Oct-05 22:04 
AnswerRe: string conversion Pin
Maqsood Ahmed12-Oct-05 20:13
Maqsood Ahmed12-Oct-05 20:13 
QuestionRe: string conversion Pin
Brendan Vogt12-Oct-05 20:33
Brendan Vogt12-Oct-05 20:33 
GeneralRe: string conversion Pin
Brendan Vogt17-Oct-05 22:12
Brendan Vogt17-Oct-05 22:12 
QuestionTimeline controls in C# Pin
jpvanoosten9-Oct-05 21:53
jpvanoosten9-Oct-05 21:53 
Questionnull string Pin
Brendan Vogt9-Oct-05 21:52
Brendan Vogt9-Oct-05 21:52 
AnswerRe: null string Pin
Maxim Ignatyev9-Oct-05 22:35
Maxim Ignatyev9-Oct-05 22:35 
AnswerRe: null string Pin
S. Senthil Kumar10-Oct-05 2:08
S. Senthil Kumar10-Oct-05 2:08 
AnswerRe: null string Pin
XRaheemX10-Oct-05 4:58
XRaheemX10-Oct-05 4:58 
QuestionDebugging class library (DLL) Pin
raed9-Oct-05 21:52
raed9-Oct-05 21:52 
AnswerRe: Debugging class library (DLL) Pin
S. Senthil Kumar10-Oct-05 2:15
S. Senthil Kumar10-Oct-05 2:15 
GeneralRe: Debugging class library (DLL) Pin
raed10-Oct-05 2:44
raed10-Oct-05 2:44 
QuestionPage.IsPostBack Pin
Brendan Vogt9-Oct-05 21:47
Brendan Vogt9-Oct-05 21:47 
AnswerRe: Page.IsPostBack Pin
David Stone10-Oct-05 5:43
sitebuilderDavid Stone10-Oct-05 5:43 
QuestionHelp required on remote objects in C# Pin
kschakravarthy9-Oct-05 20:41
kschakravarthy9-Oct-05 20:41 
AnswerRe: Help required on remote objects in C# Pin
S. Senthil Kumar10-Oct-05 2:19
S. Senthil Kumar10-Oct-05 2:19 
GeneralRe: Help required on remote objects in C# Pin
kschakravarthy10-Oct-05 20:56
kschakravarthy10-Oct-05 20:56 

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.