Click here to Skip to main content
15,891,184 members
Home / Discussions / Database
   

Database

 
GeneralRe: Which Datatype is better Bit or tiny int? SQL Server 2005 Pin
Mike Dimmick9-Dec-07 6:51
Mike Dimmick9-Dec-07 6:51 
GeneralAutomatically update database defintion Pin
polishprogrammer7-Dec-07 3:35
polishprogrammer7-Dec-07 3:35 
QuestionData Regions within table/matrix cells are ignored Pin
praveenkjohn6-Dec-07 23:35
praveenkjohn6-Dec-07 23:35 
AnswerRe: Data Regions within table/matrix cells are ignored Pin
Saurabh09520-Oct-11 21:50
Saurabh09520-Oct-11 21:50 
General[Message Deleted] Pin
SreejithAchutan6-Dec-07 19:06
SreejithAchutan6-Dec-07 19:06 
GeneralRe: Check Condition Pin
Colin Angus Mackay7-Dec-07 1:08
Colin Angus Mackay7-Dec-07 1:08 
GeneralRe: Check Condition Pin
SreejithAchutan7-Dec-07 17:45
SreejithAchutan7-Dec-07 17:45 
GeneralRe: Check Condition Pin
Colin Angus Mackay8-Dec-07 0:43
Colin Angus Mackay8-Dec-07 0:43 
First, don't delete your original question - That is considered extremely rude.

SreejithAchutan wrote:
ToString() is to convert the retrieved column into string...In getcolumn value null condition is checking but an exception of object reference is not set is returned.How i overcome it...


I know what ToString() does! Or rather I know what you think it does.

You may check in GetColumn() if the column is null - but what do you do with it then? Do you just return null back? In which case, what does ToString() have to work with?

How do you overcome it? Perhaps you need to check for null values in more than one place? Or you need to do something different when you find a null value the first time. As you have not posted the code for GetColumn() I can't tell you what to do. I can only suggest things for you to look at with the hope that you can figure it out for yourself.




Upcoming FREE developer events:
* Developer Day Scotland

My website


Generalneed solution for converting the varchar value to int ** Pin
VenkataRamana.Gali6-Dec-07 18:58
VenkataRamana.Gali6-Dec-07 18:58 
GeneralRe: need solution for converting the varchar value to int ** Pin
Krish - KP6-Dec-07 19:33
Krish - KP6-Dec-07 19:33 
GeneralRe: need solution for converting the varchar value to int ** Pin
VenkataRamana.Gali6-Dec-07 19:46
VenkataRamana.Gali6-Dec-07 19:46 
GeneralRe: need solution for converting the varchar value to int ** Pin
Paddy Boyd7-Dec-07 0:39
Paddy Boyd7-Dec-07 0:39 
GeneralRe: need solution for converting the varchar value to int ** Pin
Krish - KP7-Dec-07 3:13
Krish - KP7-Dec-07 3:13 
QuestionProblem while accessing the sqlserver2005 in c# Pin
mohanallam6-Dec-07 17:36
mohanallam6-Dec-07 17:36 
GeneralRe: Problem while accessing the sqlserver2005 in c# Pin
pmarfleet6-Dec-07 21:08
pmarfleet6-Dec-07 21:08 
GeneralRe: Problem while accessing the sqlserver2005 in c# Pin
suyuan19846-Dec-07 23:09
suyuan19846-Dec-07 23:09 
QuestionDifference between SQL-Agent and SQL-QA when executing a SP Pin
asrs636-Dec-07 15:01
asrs636-Dec-07 15:01 
GeneralRe: Difference between SQL-Agent and SQL-QA when executing a SP Pin
Marek Grzenkowicz6-Dec-07 21:35
Marek Grzenkowicz6-Dec-07 21:35 
Questionlocal sql server database not updating Pin
webster.ut6-Dec-07 9:44
webster.ut6-Dec-07 9:44 
GeneralRe: local sql server database not updating Pin
Chris Meech6-Dec-07 10:02
Chris Meech6-Dec-07 10:02 
GeneralRe: local sql server database not updating Pin
Pete O'Hanlon6-Dec-07 10:04
mvePete O'Hanlon6-Dec-07 10:04 
GeneralMSDTC - Remote accessing SQL Server 2005 from a desktop application Pin
N a v a n e e t h6-Dec-07 5:31
N a v a n e e t h6-Dec-07 5:31 
GeneralRe: MSDTC - Remote accessing SQL Server 2005 from a desktop application Pin
GuyThiebaut6-Dec-07 9:55
professionalGuyThiebaut6-Dec-07 9:55 
GeneralRe: MSDTC - Remote accessing SQL Server 2005 from a desktop application Pin
Tobias Schoenig6-Dec-07 21:33
Tobias Schoenig6-Dec-07 21:33 
Generalcounting null rows Pin
Xmen Real 6-Dec-07 4:36
professional Xmen Real 6-Dec-07 4:36 

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.