Click here to Skip to main content
15,892,517 members
Home / Discussions / C#
   

C#

 
Questionwhat's wrong, Object reference not set to an instance of an object. Pin
suni_dotnet6-Jan-09 9:47
suni_dotnet6-Jan-09 9:47 
AnswerRe: what's wrong, Object reference not set to an instance of an object. Pin
Jon Rista6-Jan-09 10:00
Jon Rista6-Jan-09 10:00 
GeneralRe: what's wrong, Object reference not set to an instance of an object. Pin
suni_dotnet6-Jan-09 10:17
suni_dotnet6-Jan-09 10:17 
GeneralRe: what's wrong, Object reference not set to an instance of an object. Pin
Jon Rista6-Jan-09 14:34
Jon Rista6-Jan-09 14:34 
AnswerRe: what's wrong, Object reference not set to an instance of an object. Pin
Pete O'Hanlon6-Jan-09 10:15
mvePete O'Hanlon6-Jan-09 10:15 
GeneralRe: what's wrong, Object reference not set to an instance of an object. Pin
suni_dotnet6-Jan-09 10:22
suni_dotnet6-Jan-09 10:22 
AnswerRe: what's wrong, Object reference not set to an instance of an object. Pin
Rutvik Dave6-Jan-09 11:17
professionalRutvik Dave6-Jan-09 11:17 
AnswerRe: what's wrong, Object reference not set to an instance of an object. Pin
Wendelius6-Jan-09 11:18
mentorWendelius6-Jan-09 11:18 
This is quite confusing. Your procedure name is InsertSuite, which sounds like you're inserting data into the database. However you're executing a reader so it seems like you're actually fetching data. This is also the impression from your replies.

If you're trying to update the database I think you should use e.RowIndex to get the actual row, but if you're trying to fetch the data I think you should use different event since RowUpdating is raised when rows update button is clicked.

The need to optimize rises from a bad design.My articles[^]

QuestionHOW CAN MADE MESSENGER IN C#.NET?HOW CAN MADE STUDENT FORM IN C#.NET? Pin
mohammedali20066-Jan-09 9:25
mohammedali20066-Jan-09 9:25 
AnswerRe: HOW CAN MADE MESSENGER IN C#.NET?HOW CAN MADE STUDENT FORM IN C#.NET? Pin
EliottA6-Jan-09 9:28
EliottA6-Jan-09 9:28 
GeneralRe: HOW CAN MADE MESSENGER IN C#.NET?HOW CAN MADE STUDENT FORM IN C#.NET? Pin
Dave Kreskowiak6-Jan-09 9:54
mveDave Kreskowiak6-Jan-09 9:54 
GeneralRe: HOW CAN MADE MESSENGER IN C#.NET?HOW CAN MADE STUDENT FORM IN C#.NET? Pin
EliottA6-Jan-09 9:56
EliottA6-Jan-09 9:56 
GeneralRe: HOW CAN MADE MESSENGER IN C#.NET?HOW CAN MADE STUDENT FORM IN C#.NET? Pin
Dave Kreskowiak6-Jan-09 10:43
mveDave Kreskowiak6-Jan-09 10:43 
GeneralRe: HOW CAN MADE MESSENGER IN C#.NET?HOW CAN MADE STUDENT FORM IN C#.NET? Pin
fuad_200025-Mar-10 22:26
fuad_200025-Mar-10 22:26 
GeneralRe: HOW CAN MADE MESSENGER IN C#.NET?HOW CAN MADE STUDENT FORM IN C#.NET? Pin
Dave Kreskowiak26-Mar-10 1:59
mveDave Kreskowiak26-Mar-10 1:59 
GeneralRe: HOW CAN MADE MESSENGER IN C#.NET?HOW CAN MADE STUDENT FORM IN C#.NET? Pin
Xmen Real 6-Jan-09 14:57
professional Xmen Real 6-Jan-09 14:57 
AnswerRe: HOW CAN MADE MESSENGER IN C#.NET?HOW CAN MADE STUDENT FORM IN C#.NET? Pin
Wes Aday6-Jan-09 9:30
professionalWes Aday6-Jan-09 9:30 
GeneralRe: HOW CAN MADE MESSENGER IN C#.NET?HOW CAN MADE STUDENT FORM IN C#.NET? Pin
EliottA6-Jan-09 9:42
EliottA6-Jan-09 9:42 
AnswerCP IGNORE THIS USER FOREVER Pin
leckey6-Jan-09 9:39
leckey6-Jan-09 9:39 
GeneralRe: CP IGNORE THIS USER FOREVER [modified] Pin
CPallini6-Jan-09 9:42
mveCPallini6-Jan-09 9:42 
GeneralRe: CP IGNORE THIS USER FOREVER Pin
EliottA6-Jan-09 9:43
EliottA6-Jan-09 9:43 
GeneralRe: CP IGNORE THIS USER FOREVER Pin
CPallini6-Jan-09 9:44
mveCPallini6-Jan-09 9:44 
GeneralOT: His profile... Pin
EliottA6-Jan-09 10:00
EliottA6-Jan-09 10:00 
JokeRe: OT: His profile... Pin
Jon Rista6-Jan-09 10:02
Jon Rista6-Jan-09 10:02 
GeneralRe: OT: His profile... Pin
Mark Salsbery6-Jan-09 10:04
Mark Salsbery6-Jan-09 10:04 

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.