Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data Grid Using If Statement

Status
Not open for further replies.

klornpallier

Technical User
Aug 28, 2002
98
GB
Im trying to change a cell value on a insert into a table from a datagrid like below but I cannot seem to get the code right. Please help!

If(VARIABLE_INPUTDataGridView1.Item(var_cash_col_no, row_no).Value) = "Adjustment" Then VARIABLE_INPUTDataGridView1.Item(var_cash_col_no, row_no).Value) = "A"
End if
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top