datagrid

  • Thread starter Thread starter reiks
  • Start date Start date
R

reiks

I have a select stmt as follows

SELECT qty, qty * 2 AS qty1, qty + 10 AS tuir
FROM sales

I have to bind table values which I obtain by running the
query to a datagrid (web control)Item template column

How should i give the expression for my datafrid columns ?
 
Hi,


reiks said:
I have a select stmt as follows

SELECT qty, qty * 2 AS qty1, qty + 10 AS tuir
FROM sales

I have to bind table values which I obtain by running the
query to a datagrid (web control)Item template column

How should i give the expression for my datafrid columns ?

Ehm, what expressions? To DataTable columns - use DataColumn.Expression =
"qty*2" for example?
 
Back
Top