J
Jl_G_0
Hey all.
I have one question here regarding a datagrid. I have a datagrid with
one hyperlinkcolumn and some boundcolumns. I want to add one more
column, filled by how many subprojects are under that project. To find
out this information, I can use 'SQL Count' and with executescalar() I
should get the answer on a variable. But how can I get this answer on
every line of the datagrid ... using a templatecolumn ?
I'm having a hard time creating this template column... I just need to
learn how to executeScalar from the Datagrid column, and how to pass
the parameters to the SQL query using the first column of the datagrid
(Name).
Just a few tips might put me on the right track. Thanks.
I have one question here regarding a datagrid. I have a datagrid with
one hyperlinkcolumn and some boundcolumns. I want to add one more
column, filled by how many subprojects are under that project. To find
out this information, I can use 'SQL Count' and with executescalar() I
should get the answer on a variable. But how can I get this answer on
every line of the datagrid ... using a templatecolumn ?
I'm having a hard time creating this template column... I just need to
learn how to executeScalar from the Datagrid column, and how to pass
the parameters to the SQL query using the first column of the datagrid
(Name).
Just a few tips might put me on the right track. Thanks.