D
Dan Keeley
Hi,
I have a dataset which is used to populate my datagrid something like this:
My question is, how do I add a caluclated display column to the datagrid?
It will be based on ScoreCardScore...
Dim Cmd As OleDbCommand = New OleDbCommand("Select AuditDate,
ScoreCardScore, DetailsScore from Audits where SupplierID = " &
ComboItem.Value.ToString, conn)
' create the data adapter object and pass in the sql command object
myDataAdapter = New System.Data.OleDb.OleDbDataAdapter(Cmd)
' Tell the myDataadabter to fill the dataset
myDataAdapter.Fill(myDataSet, "Name")
dgAudits.DataSource = myDataSet.Tables("Name").DefaultView
Thanks very much for any advice!
Dan
I have a dataset which is used to populate my datagrid something like this:
My question is, how do I add a caluclated display column to the datagrid?
It will be based on ScoreCardScore...
Dim Cmd As OleDbCommand = New OleDbCommand("Select AuditDate,
ScoreCardScore, DetailsScore from Audits where SupplierID = " &
ComboItem.Value.ToString, conn)
' create the data adapter object and pass in the sql command object
myDataAdapter = New System.Data.OleDb.OleDbDataAdapter(Cmd)
' Tell the myDataadabter to fill the dataset
myDataAdapter.Fill(myDataSet, "Name")
dgAudits.DataSource = myDataSet.Tables("Name").DefaultView
Thanks very much for any advice!
Dan