jvcoach23 Posted September 22, 2006 Posted September 22, 2006 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 Quote JvCoach23 VB.Net newbie MS Sql Vet
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.