Groups | Blog | Home
all groups > dotnet ado.net > july 2007 >

dotnet ado.net : Calculated column


Gudni G. Sigurdsson
7/4/2007 4:16:01 AM
Hi.
I have a WinForms App and a SQL Server database. On a form, I have a Data
Grid View, showing the contents of table A from my datyabase. One of the
columns in the Data Grid View is unbound, and I would like to calculate it´s
value from one column in table A and a value taken from elsewere.
How do I do this? Any good code examples?
Regards,
Sergey Poberezovskiy
7/4/2007 5:36:00 PM
You can add a column to your ADO DataTable with expression - this way you can
use values from the SQL table & use other value when forming your expression

[quoted text, click to view]
AddThis Social Bookmark Button