datagrid datasource error

Hi all,

In my application iam using a public function binding which is for binding dataset to datagrid in webform1. I am calling this fuction from another web form say webform2. I got error in Datagrid1.Datasource
line saying {"Object reference not set to an instance of an object." }
I am not passing dataset . Just calling the binding function which
runs query, fill dataset & set the datasource of datagrid to dataset.
If iam running webform1 , binding function is working fine but when i call from webform2 its giving error .

Thanks in advance.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!