How can I add the prefix value to an DataColumn

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi ,
How can I add the prefix value to an DataColumn ?

For example:
I have one table called Employee in that EmpID is Column.To this column i want to add "SRIT" as a prefix value , like " SRIT- XXXX".

Any ideas regarding this.

Thanks,
Satish
 
The DataColumn has a ColumnName property that you can set - optionally, if
this is purely for UI purposes in a grid for instance, you can apply a
DataGridTableStyle and then a DataGridColumnStyle and set its HeaderText
property there. http://www.knowdotnet.com/articles/cgrid.html

--
W.G. Ryan MVP Windows - Embedded

Have an opinion on the effectiveness of Microsoft Embedded newsgroups?
Let Microsoft know!
https://www.windowsembeddedeval.com/community/newsgroups
Satish H.S said:
Hi ,
How can I add the prefix value to an DataColumn ?

For example:
I have one table called Employee in that EmpID is Column.To this column i
want to add "SRIT" as a prefix value , like " SRIT- XXXX".
 
Back
Top