elainec351
Member
- Joined
- Feb 28, 2008
- Messages
- 12
- Programming Experience
- Beginner
I am attempting to update one column of data of my datagridview based on the data entered into another column from my dataset. I am completely new to vb .net so any help at all will be welcome.
I have a datagridview that has 4 columns of data - 3 of which get their data from a dataset. I would like to create an if statement that checks one column of data to determine what to populate the empty one with - something like:
If clmIssueCountry = "FRA" then clmProduct = "Local" Else clmProduct = "International"
I realize that the code is completely wrong for updating datagrid controls, but I cannot find the proper syntax or determine that this is even possible.
Thanks for any help you are able to provide.
I have a datagridview that has 4 columns of data - 3 of which get their data from a dataset. I would like to create an if statement that checks one column of data to determine what to populate the empty one with - something like:
If clmIssueCountry = "FRA" then clmProduct = "Local" Else clmProduct = "International"
I realize that the code is completely wrong for updating datagrid controls, but I cannot find the proper syntax or determine that this is even possible.
Thanks for any help you are able to provide.
Last edited: