D
djc
how do I go about formatting output of certian columns or cells in a
datagrid? I am in the midst of trying to learn both asp.net/ado.net and TSQL
stored procedure at the same time, all in my 'spare' time since its a hobby
rather than a job... right now at least. Major overload! can someone point
me in the right direction?
1) My first use for this is to format the output of one of my datagrid
columns that displays a date like this mm/dd/yyyy hh:mm:ss am/pm to display
it like this mm/dd/yyyy. I believe there is a vb method .ToShortDate()? do I
use that? The biggest question on this is WHERE/WHEN do I use it? what
event(s) should I use to do this? This scenario is not conditional... the
whole column should be displayed like this.
2) what about a conditional scenario? For example, on an individual cell
level... like if a particular field/cell has a certian value THEN display
the whole row in a different color? or show a certian icon in a different
column IF a condition is met? HOW/WHEN/WHERE?
any examples, direction, links, or input would be greatly appreciated.
thanks!
datagrid? I am in the midst of trying to learn both asp.net/ado.net and TSQL
stored procedure at the same time, all in my 'spare' time since its a hobby
rather than a job... right now at least. Major overload! can someone point
me in the right direction?
1) My first use for this is to format the output of one of my datagrid
columns that displays a date like this mm/dd/yyyy hh:mm:ss am/pm to display
it like this mm/dd/yyyy. I believe there is a vb method .ToShortDate()? do I
use that? The biggest question on this is WHERE/WHEN do I use it? what
event(s) should I use to do this? This scenario is not conditional... the
whole column should be displayed like this.
2) what about a conditional scenario? For example, on an individual cell
level... like if a particular field/cell has a certian value THEN display
the whole row in a different color? or show a certian icon in a different
column IF a condition is met? HOW/WHEN/WHERE?
any examples, direction, links, or input would be greatly appreciated.
thanks!