Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I'm working with vb.net 2005.

 

I have a class that i've loaded up with my data. Then created a datasource off the class. I load up the datagridview with data from a class.. all this is working fine. I've got data.

 

My problem is with the tag on the datagridview. I've gone in and bound it to the column in the datasource taht I want (i've done it like this before)

 

when i create the double click event on the datagridview, in other code i've been able to do a datagridview.tag and get the value of column and row that i've double clicked on. I can't figure it out why it's giving me a value = nothing instead.

 

there must be something that I'm forgetting because like I said.. i've done this before...

 

hopefully someone can help.

Here is what I'm doing to load up the datagridview with data...

With oBuildingUtils
           .LoadFromDB()
       End With

       With oBuildings
           oBuildings = oBuildingUtils.Load("")
       End With

       Me.BuildingDataGridView.DataSource = oBuildings

 

Like i mention above.. this part is working.. just not when i double click on the datagridview.

thanks

shannon

JvCoach23

VB.Net newbie

MS Sql Vet

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...