eschulz Posted September 12, 2003 Posted September 12, 2003 I am retrieving addresses and address type from a table in sql. In the ItemDataBound event I am checking for a type of address. If the type of address is 'Office' the address data is populated somewhere else. I have the address data of the 'Office' type populating somewhere else, but how do I remove that record from the datagrid, but not the dataset. I have tried setting the row to visible = False, but the datagrid uses a alternating item style so this doesn't work either. --Thanks Quote
Moderators Robby Posted September 12, 2003 Moderators Posted September 12, 2003 Use the FilterRow method of the dataview to filter out what you don't need. (Of course you will need to bind the datagrid to the dataview) Quote Visit...Bassic Software
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.