Click here to Skip to main content
15,881,803 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: System.Diagnostics question Pin
jtmtv183-Feb-03 21:56
jtmtv183-Feb-03 21:56 
QuestionHow can I find Server List? Pin
bania3-Feb-03 19:53
bania3-Feb-03 19:53 
AnswerRe: How can I find Server List? Pin
Vasudevan Deepak Kumar3-Feb-03 22:03
Vasudevan Deepak Kumar3-Feb-03 22:03 
AnswerRe: How can I find Server List? Pin
Vasudevan Deepak Kumar3-Feb-03 22:06
Vasudevan Deepak Kumar3-Feb-03 22:06 
AnswerRe: How can I find Server List? Pin
Mazdak3-Feb-03 23:36
Mazdak3-Feb-03 23:36 
GeneralAnother Problem.... Pin
bania4-Feb-03 0:10
bania4-Feb-03 0:10 
GeneralGet my password from binary password Pin
Mazdak3-Feb-03 9:23
Mazdak3-Feb-03 9:23 
GeneralRe: Get my password from binary password Pin
Furty3-Feb-03 16:11
Furty3-Feb-03 16:11 
GeneralRe: Get my password from binary password Pin
Mazdak3-Feb-03 19:31
Mazdak3-Feb-03 19:31 
GeneralRe: Get my password from binary password Pin
Mazdak3-Feb-03 19:46
Mazdak3-Feb-03 19:46 

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.