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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

show other value in datagrid than the value in the dataset

Status
Not open for further replies.

vbkal

Programmer
Jan 30, 2002
13
BE
I have a datagrid where one column contains a distance between two places. If the value in a row == null then I want to SHOW that value retrieved from another table.

My question : I only want to SHOW this value in the column and not set in the dataset (so it doesn't get updated)

Is there a way to achieve this?


 
yes add a hidden grid column with your distance between twoplaces

and check if the column is having empty string value for the row when loading the grid,if it is,set the value to the hidden grid column value for that row
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top