title: Grid view and class library
body: <p>I am using class library and asp.net form.
  In class library I created class for retrieving the database value based on specific fileID.I have no idea about how to connect the class to the gridview.Tried using gridview.databind(obj).not working.
  Appreciate your help
  Thanks</p>
  
  <p>In the asp.net form</p>
  
  <pre><code>       Dim retobj As New Mailbox
         retobj.MailboxName = Mailb.Text
  
      insmairet = New clsMailboxCollect
      insmairet.Retrievemail(retobj)
       gridview1.databind(retobj)
  </code></pre>