I’m trying to add a “expression” based column in dataset using the Visual Studio’s designer. The data retreived is a Datatime format which will be concatenated with a string from another column.
I managed to do the concatenation and use this field in my code, however, i’d like to be able to reformat the date using the following patern “YY-MM-DD”.
http://i49.tinypic.com/11rtzki.jpg
Any idea how I can acheive this?
PS. Do not bother with any method that involves code manipulation outside of the dataset, it would not be worth the trouble considering the use of this new expression field).
Any tips are greatly appreciated!
(Sorry for the bad english)
I ended up editing the SQL query to add a field that did what I wanted.