Click here to Skip to main content
16,005,339 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL query required Pin
Nick Parker14-Sep-03 3:37
protectorNick Parker14-Sep-03 3:37 
GeneralSQL Server Setup Pin
fume12-Sep-03 15:21
fume12-Sep-03 15:21 
GeneralRe: SQL Server Setup Pin
Mike Epprecht13-Sep-03 5:39
Mike Epprecht13-Sep-03 5:39 
GeneralRe: SQL Server Setup Pin
Rob Graham15-Sep-03 10:10
Rob Graham15-Sep-03 10:10 
GeneralTrouble removing deleted rows... Pin
james-cxx12-Sep-03 12:59
james-cxx12-Sep-03 12:59 
GeneralRe: Trouble removing deleted rows... Pin
Rob Graham15-Sep-03 10:41
Rob Graham15-Sep-03 10:41 
GeneralRe: Trouble removing deleted rows... Pin
james-cxx16-Sep-03 8:11
james-cxx16-Sep-03 8:11 
Generalhelp, please! Pin
yyf12-Sep-03 8:13
yyf12-Sep-03 8:13 
In Access, there's a field in my table: Count number;

I try to use it in my project like this:

DataRow row;<br />
<br />
		public string Count<br />
		{<br />
			get<br />
			{<br />
				if ( row != null && row["Count"] != null ) <br />
				{<br />
					return row["Count"].ToString();<br />
				}<br />
				return "";<br />
			}<br />
			set<br />
			{<br />
				if ( row != null ) <br />
				{<br />
					row["Count"] = ( value == "" ) ? null : value;				}<br />
			}<br />
		}


but when I set the do this: this.Count = ""; I got an exception. Acctually what I want to do here is same as "update count = null" in sql.

How can I fix that?

Thanks in advance.
GeneralVSS Pin
yyf12-Sep-03 8:07
yyf12-Sep-03 8:07 
GeneralRe: VSS Pin
Tom Archer12-Sep-03 10:17
Tom Archer12-Sep-03 10:17 
GeneralRe: VSS Pin
yyf12-Sep-03 11:03
yyf12-Sep-03 11:03 
GeneralRe: VSS Pin
Tom Archer12-Sep-03 11:14
Tom Archer12-Sep-03 11:14 
GeneralRe: VSS Pin
Michael P Butler15-Sep-03 10:35
Michael P Butler15-Sep-03 10:35 
GeneralFill Missing Dates in Query for Reporting Pin
Roland Bär12-Sep-03 4:22
Roland Bär12-Sep-03 4:22 
GeneralDatatAdapter Update method and Transactions question Pin
Risbom12-Sep-03 1:57
Risbom12-Sep-03 1:57 
GeneralGetting SQL Server to generate code for objects Pin
OMalleyW11-Sep-03 4:51
OMalleyW11-Sep-03 4:51 
GeneralShrinkwrap database deployment Pin
Michael P Butler11-Sep-03 2:18
Michael P Butler11-Sep-03 2:18 
GeneralRe: Shrinkwrap database deployment Pin
Rob Graham15-Sep-03 10:06
Rob Graham15-Sep-03 10:06 
GeneralRe: Shrinkwrap database deployment Pin
Michael P Butler15-Sep-03 10:13
Michael P Butler15-Sep-03 10:13 
GeneralRe: Shrinkwrap database deployment Pin
Steve S15-Sep-03 21:55
Steve S15-Sep-03 21:55 
GeneralConcat Strings SQL Questions Pin
Braulio Dez10-Sep-03 23:21
Braulio Dez10-Sep-03 23:21 
GeneralRe: Concat Strings SQL Questions Pin
Mike Dimmick12-Sep-03 2:06
Mike Dimmick12-Sep-03 2:06 
GeneralRe: Concat Strings SQL Questions Pin
Braulio Dez12-Sep-03 2:18
Braulio Dez12-Sep-03 2:18 
QuestionSQL: How to create a 1:1 relation? Pin
King_of_Queens10-Sep-03 22:09
King_of_Queens10-Sep-03 22:09 
AnswerRe: SQL: How to create a 1:1 relation? Pin
Mike Dimmick12-Sep-03 0:51
Mike Dimmick12-Sep-03 0:51 

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.