Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I have a datagrid with a table in it that i brought in from my database. What I would like to do is when I do a new search, if no rows comes back then delete the table with info out of the datagrid so all they see is the datagrid box with nothing in it

 

In the beginning of the sub I tried

dim tbl as datagridtablestyle = new datagridtablestyle

tbl.mapping = strTable

me.datagrid1.tablestyle.remove(tbl)

 

so am I missing somthing, or totally of the track

 

thanks, for any help

Live as if you were to die tomorrow. Learn as if you were to live forever.
Gandhi

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...