Error ::Object reference not set to an instance of an object
<p>What could be wrong ?</p>

<pre><code>public int InsertUpdateQues(bllQues objbllQues)
    {


        dsgetQues = objdllQues.InsertUpdateQues(this);  //ERROR here
        return dsgetQues;
    }
</code></pre>

<p>I see values getting assigned to ALL the above properties, not one is missing.  Whats wrong then?</p>

<p><strong>EDIT
I found the error..In my dllQue class's insert update method I had two entries as  sqlParam[4] =new... and sqlParam[4] =new...chnaged the 2nd one to 5..
damn..the problem is I KEEP on making silly mistakes! :( How can I avoid this so my time is not wasted this way ???</strong></p>
