Click here to Skip to main content
15,887,683 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questiongridview updating Pin
jeguzmanv11-Jul-07 17:41
jeguzmanv11-Jul-07 17:41 
AnswerRe: gridview updating Pin
Imran Khan Pathan11-Jul-07 18:35
Imran Khan Pathan11-Jul-07 18:35 
Questiongetting cell value on datagrid [modified] Pin
firestoper11-Jul-07 16:31
firestoper11-Jul-07 16:31 
AnswerRe: getting cell value on datagrid Pin
Imran Khan Pathan11-Jul-07 18:40
Imran Khan Pathan11-Jul-07 18:40 
QuestionObject reference not set to an instance of an object Pin
ASPnoob11-Jul-07 15:47
ASPnoob11-Jul-07 15:47 
AnswerRe: Object reference not set to an instance of an object Pin
Christian Graus11-Jul-07 15:50
protectorChristian Graus11-Jul-07 15:50 
GeneralRe: Object reference not set to an instance of an object Pin
Rhys Gravell11-Jul-07 20:21
professionalRhys Gravell11-Jul-07 20:21 
AnswerRe: Object reference not set to an instance of an object Pin
Pete O'Hanlon12-Jul-07 2:18
mvePete O'Hanlon12-Jul-07 2:18 
There are a couple of things you can do here. The first (and best) case would be to set a breakpoint at the first line of code and step through the function to see where it breaks. If you watch the variables as you step through, you should be able to figure out where the null value is quite quickly.

The second method would be to wrap this up in a Try/Catch block and set a breakpoint in the Catch. The exception that was thrown would contain full information including a stack trace which you can use to identify which line of code is failing.

My choice - go with option 1. Part of becoming a professional programmer is learning how to debug code effectively. As a general note, you should only come to CP if you have a problem after you have stepped through the code. Seriously, debugging the code is a great way to learn how to problem solve.

Please visit http://www.readytogiveup.com/ and do something special today.
Deja View - the feeling that you've seen this post before.

Questiongridview slow Pin
VickyC#11-Jul-07 14:48
VickyC#11-Jul-07 14:48 
AnswerRe: gridview slow Pin
Christian Graus11-Jul-07 14:55
protectorChristian Graus11-Jul-07 14:55 
GeneralRe: gridview slow Pin
VickyC#12-Jul-07 3:28
VickyC#12-Jul-07 3:28 
Questionasp.net 2.0 vb.net Index Server Pin
Michael Clinton11-Jul-07 12:44
Michael Clinton11-Jul-07 12:44 
AnswerRe: asp.net 2.0 vb.net Index Server Pin
Michael Clinton13-Jul-07 12:35
Michael Clinton13-Jul-07 12:35 
QuestionCalender Pop Up and master Page Problem Pin
kidus111-Jul-07 11:33
kidus111-Jul-07 11:33 
AnswerRe: Calender Pop Up and master Page Problem Pin
kjosh11-Jul-07 11:46
kjosh11-Jul-07 11:46 
GeneralRe: Calender Pop Up and master Page Problem Pin
kidus111-Jul-07 11:52
kidus111-Jul-07 11:52 
GeneralRe: Calender Pop Up and master Page Problem Pin
kidus111-Jul-07 11:53
kidus111-Jul-07 11:53 
GeneralRe: Calender Pop Up and master Page Problem Pin
kjosh11-Jul-07 12:10
kjosh11-Jul-07 12:10 
GeneralRe: Calender Pop Up and master Page Problem Pin
kidus112-Jul-07 2:11
kidus112-Jul-07 2:11 
GeneralRe: Calender Pop Up and master Page Problem Pin
Member 186252323-Aug-08 22:55
Member 186252323-Aug-08 22:55 
QuestionMapping database fileds Pin
patelash0111-Jul-07 10:21
patelash0111-Jul-07 10:21 
AnswerRe: Mapping database fileds Pin
Paul Conrad13-Jul-07 12:19
professionalPaul Conrad13-Jul-07 12:19 
Questionhash and salt Pin
boyindie11-Jul-07 8:58
boyindie11-Jul-07 8:58 
AnswerBAD USER! Pin
leckey11-Jul-07 9:16
leckey11-Jul-07 9:16 
AnswerRe: hash and salt Pin
Dave Kreskowiak11-Jul-07 9:28
mveDave Kreskowiak11-Jul-07 9:28 

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.