Click here to Skip to main content
15,894,146 members
Home / Discussions / Database
   

Database

 
GeneralRe: TextBox event in a DataGrid's Header Pin
Colin Angus Mackay16-May-05 1:36
Colin Angus Mackay16-May-05 1:36 
GeneralRe: ListBox event in a DataGrid's Header Pin
Nizar Abdeljaoued16-May-05 1:58
Nizar Abdeljaoued16-May-05 1:58 
GeneralQuestion concerning Sorting DataGrids Pin
nad226315-May-05 5:06
nad226315-May-05 5:06 
GeneralRe: Question concerning Sorting DataGrids Pin
Dominic Farr28-Jun-05 20:03
Dominic Farr28-Jun-05 20:03 
GeneralRe: Question concerning Sorting DataGrids Pin
Dominic Farr30-Jun-05 6:51
Dominic Farr30-Jun-05 6:51 
Questionupdateable query? Pin
Jerry Hammond15-May-05 4:56
Jerry Hammond15-May-05 4:56 
AnswerRe: updateable query? Pin
anj198315-May-05 5:20
anj198315-May-05 5:20 
GeneralTimeSpan instead of DateTime in a DataSet populated from a SQL Anywhere DB Pin
JasonJB14-May-05 4:38
JasonJB14-May-05 4:38 
Hi all, having a very frustrating problem:
I'm reading a field from a SQL Anywhere (ODBC) database into a .Net DataSet. The type in the database is "time", but this is read into the DataSet as a .Net TimeSpan type instead of a DateTime. No big deal, except I can't figure out how to convert this within the dataset (I'm exporting straight to XML, so I really can't read the data out into .Net types and do the conversions - it has to stay in the DataSet).
I've tried:
- creating a DataColumn with type String and forcing it into that
- above, with DateTime instead of String
- using the Convert function in DataColumn.Expression; this seems like the most promising, but it says that the type doesn't implement IConvertible (even though the documentation for Convert says that it CAN convert a TimeSpan to a string)

I don't care if it's a string or a DateTime, it just can't be a TimeSpan because it prints in a really ugly fasion (11:01 is PT11H01M) and I can't figure out how to format it nicely. Any help is appreciated, thanks!
GeneralGenerate Auto Number in SQL server 2000 Pin
imshally8114-May-05 0:42
imshally8114-May-05 0:42 
GeneralRe: Generate Auto Number in SQL server 2000 Pin
Colin Angus Mackay14-May-05 3:55
Colin Angus Mackay14-May-05 3:55 
GeneralLogin page Pin
Desi Bravo13-May-05 12:38
Desi Bravo13-May-05 12:38 
GeneralRe: Login page Pin
MoustafaS13-May-05 14:34
MoustafaS13-May-05 14:34 
GeneralRe: Login page Pin
Desi Bravo14-May-05 19:55
Desi Bravo14-May-05 19:55 
GeneralRe: Login page Pin
MoustafaS15-May-05 0:32
MoustafaS15-May-05 0:32 
GeneralRe: Login page Pin
Desi Bravo16-May-05 15:35
Desi Bravo16-May-05 15:35 
GeneralRe: Login page Pin
jonathan1516-May-05 1:59
jonathan1516-May-05 1:59 
GeneralRe: Login page Pin
Colin Angus Mackay16-May-05 6:08
Colin Angus Mackay16-May-05 6:08 
GeneralRe: Login page Pin
Desi Bravo16-May-05 15:34
Desi Bravo16-May-05 15:34 
GeneralRe: Login page Pin
Colin Angus Mackay16-May-05 22:04
Colin Angus Mackay16-May-05 22:04 
GeneralSqlDataReader Pin
Member 195262813-May-05 6:35
Member 195262813-May-05 6:35 
GeneralRe: SqlDataReader Pin
Colin Angus Mackay13-May-05 6:56
Colin Angus Mackay13-May-05 6:56 
GeneralRe: SqlDataReader Pin
Member 195262813-May-05 7:12
Member 195262813-May-05 7:12 
GeneralRe: SqlDataReader Pin
Albert Pascual13-May-05 13:27
sitebuilderAlbert Pascual13-May-05 13:27 
GeneralRe: SqlDataReader Pin
Colin Angus Mackay13-May-05 21:54
Colin Angus Mackay13-May-05 21:54 
GeneralRe: SqlDataReader Pin
Albert Pascual16-May-05 5:35
sitebuilderAlbert Pascual16-May-05 5:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.