Click here to Skip to main content
15,890,579 members
Home / Discussions / C#
   

C#

 
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 
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 
Hello,
First of all, null is not a datatype, it is a keyword which represent null reference. A null reference is reference which does not refer to any object. Also null is the default value for all reference-type objects.

ma se wrote:
If I want to create a similar function like this to return DBNull.Value, can I do the above mentioned if, if enmpty, the I return DBNull.Value? Is this the right way to coding it?


Yes you can do the same for DBNull. You will have change the signature of the method to
public static DBNull GetString(string textBoxString)

ma se wrote:
What if it is an int value?

I could not understand this question.

ma se wrote:
When I have a variable that is null and add it to my table, then it seems to add a null value to the field, nulls values look like in SQL Server 2000?


It is DataColumn's implementation which treats null as DBNull.Value. Therefore it'll save the null values in the DataTable to SQL Server 2000 as DBNull.Value.

Maqsood Ahmed - MCAD.net
Kolachi Advanced Technologies
http://www.kolachi.net
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 
QuestionProcess Large File Results Server Application Unavailable Pin
Member 14325389-Oct-05 20:00
Member 14325389-Oct-05 20:00 
AnswerRe: Process Large File Results Server Application Unavailable Pin
Guffa10-Oct-05 0:55
Guffa10-Oct-05 0:55 

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.