I have a module that generates reports in excel
, one of these reports being the module called Occurrences. Where by DropDownList
it informs me all the records of the OcorrTipoEntr
table, which has the columns OctCodigo
and OctDesc
but in this ddl
it just brings me the description of the occurrence:
Away Recipient
In the class that informs this query TipoOcorrencia.cs
it just makes a simple query SELECT * FROM OcorrTipoEntr
because as I said, I need every data load that exists in that table.
However, I need to specify the instance code followed by the description in this ddl
. Example:
46 - Absent Recipient
My question is, where can I apply this change?
No jQuery
, no code-behind
, in class? Is it just a concatenation?