Click here to Skip to main content
15,913,162 members
Home / Discussions / C#
   

C#

 
GeneralRe: Splitters and WinForms Pin
Braulio Dez4-Feb-03 23:26
Braulio Dez4-Feb-03 23:26 
QuestionHow to load .resx file Pin
chito4-Feb-03 20:54
chito4-Feb-03 20:54 
GeneralWeb Browser Pin
chrisrowe4-Feb-03 18:44
chrisrowe4-Feb-03 18:44 
GeneralDynamic calls to Dll Pin
Ranjani Rajanikanth4-Feb-03 17:58
Ranjani Rajanikanth4-Feb-03 17:58 
GeneralAutogenerating collections Pin
Domenic Denicola4-Feb-03 16:36
Domenic Denicola4-Feb-03 16:36 
GeneralRe: Autogenerating collections Pin
Chris Austin4-Feb-03 17:04
Chris Austin4-Feb-03 17:04 
QuestionHow to convert a graphics object into Image object Pin
clarkwuzhe4-Feb-03 11:08
clarkwuzhe4-Feb-03 11:08 
AnswerRe: How to convert a graphics object into Image object Pin
Tomas Petricek4-Feb-03 12:05
Tomas Petricek4-Feb-03 12:05 
Generalopening a .msg file in c# Pin
ajma4-Feb-03 8:31
ajma4-Feb-03 8:31 
GeneralRe: opening a .msg file in c# Pin
shakilmailbox27-Feb-09 22:39
shakilmailbox27-Feb-09 22:39 
GeneralConnecting To Network Share Pin
Aisha4-Feb-03 7:13
Aisha4-Feb-03 7:13 
GeneralDelayed QueryInterface error Exception!!! Pin
EdgarBM4-Feb-03 1:42
EdgarBM4-Feb-03 1:42 
GeneralRe: Delayed QueryInterface error Exception!!! Pin
John Fisher4-Feb-03 8:08
John Fisher4-Feb-03 8:08 
GeneralRe: Delayed QueryInterface error Exception!!! Pin
EdgarBM9-Feb-03 21:47
EdgarBM9-Feb-03 21:47 
GeneralRe: Delayed QueryInterface error Exception!!! Pin
leppie10-Feb-03 7:23
leppie10-Feb-03 7:23 
GeneralRe: Delayed QueryInterface error Exception!!! Pin
leppie4-Feb-03 8:33
leppie4-Feb-03 8:33 
GeneralRe: Delayed QueryInterface error Exception!!! Pin
EdgarBM9-Feb-03 21:49
EdgarBM9-Feb-03 21:49 
GeneralNullObjectRef in DataRow Pin
A.Wegierski3-Feb-03 23:07
A.Wegierski3-Feb-03 23:07 
I use a small table (1..5 records) with big number of fields (about 400 doubles with default 0). All work ok but some writes (about 30) into the columns generates Null Object Reference. (Windows 2000 5.00.2195 srvpack 3, Framework 1.0 srvpack 2)

My code:

... loading data ...<br />
MyTable.AcceptChanges();<br />
foreach(DataRow dr in MyTable.Rows)<br />
{<br />
 foreach(string fieldname in MySomeColumnsStringArray)<br />
 {<br />
  ... some computing ...<br />
  double x=Result(...);<br />
  x+=Convert.ToDouble(dr[fieldname]); // works ok, x is ok<br />
  try<br />
  {<br />
   dr[fieldname]=x; // sometimes generates Null Object Reference<br />
  }<br />
  catch(...<br />
 }<br />
}


What's wrong?
Help, please.

Sincerely
AW
GeneralRe: NullObjectRef in DataRow Pin
andyharman4-Feb-03 3:21
professionalandyharman4-Feb-03 3:21 
GeneralRe: NullObjectRef in DataRow - unfortunately Pin
A.Wegierski4-Feb-03 18:33
A.Wegierski4-Feb-03 18:33 
GeneralRe: NullObjectRef in DataRow Pin
A.Wegierski7-Feb-03 1:55
A.Wegierski7-Feb-03 1:55 
GeneralRe: NullObjectRef in DataRow Pin
Jim Stewart14-Feb-03 17:28
Jim Stewart14-Feb-03 17:28 
GeneralRe: NullObjectRef in DataRow Pin
A.Wegierski16-Feb-03 22:12
A.Wegierski16-Feb-03 22:12 
GeneralSystem.Diagnostics question Pin
jtmtv183-Feb-03 20:00
jtmtv183-Feb-03 20:00 
GeneralRe: System.Diagnostics question Pin
Vasudevan Deepak Kumar3-Feb-03 21:51
Vasudevan Deepak Kumar3-Feb-03 21: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.