Click here to Skip to main content
15,911,142 members
Home / Discussions / Database
   

Database

 
GeneralGet list of Tables from Database Pin
dlgross16-Jan-04 11:22
dlgross16-Jan-04 11:22 
GeneralRe: Get list of Tables from Database Pin
Guillermo Rivero16-Jan-04 12:17
Guillermo Rivero16-Jan-04 12:17 
GeneralRelationship w/ External Table Pin
Jamie Nordmeyer16-Jan-04 6:48
Jamie Nordmeyer16-Jan-04 6:48 
GeneralRe: Relationship w/ External Table Pin
Arjan Einbu18-Jan-04 3:50
Arjan Einbu18-Jan-04 3:50 
GeneralRe: Relationship w/ External Table Pin
Jamie Nordmeyer19-Jan-04 4:57
Jamie Nordmeyer19-Jan-04 4:57 
GeneralStoring DateTime Format, C# MSSQL DateTime field Pin
AssemblySoft16-Jan-04 5:58
AssemblySoft16-Jan-04 5:58 
GeneralRe: Storing DateTime Format, C# MSSQL DateTime field Pin
Mike Dimmick16-Jan-04 12:52
Mike Dimmick16-Jan-04 12:52 
GeneralRe: Storing DateTime Format, C# MSSQL DateTime field Pin
Atilla Ozgur19-Jan-04 10:41
Atilla Ozgur19-Jan-04 10:41 
I suggest use Globalization Classes in .Net

using System.Globalization<br />
using System.Threading<br />


in page load

 <br />
string slang = Request.UserLanguages[0];<br />
Thread.CurrentThread.CurrentCulture = new CultureInfo(slang);<br />


With this code according to user preferences you should be able to save datetime properly. If user is american it expect american style, if it is turkish then it expects turkish style. Request.UserLanguages[0] gives you a
string in this format
en-UK or en-US
first two chars is about language
second two chars is about culture.
You can check user culture and call different function according to that also.


Education is no substitute for intelligence. That elusive quality is defined only in part by puzzle-solving ability. It is in the creation of new puzzles reflecting what your senses report that you round out the definition. Frank Herbert
GeneralRe: Storing DateTime Format, C# MSSQL DateTime field Pin
gpa200022-Jan-04 0:58
gpa200022-Jan-04 0:58 
GeneralSQL Named Pipes Pin
Paul Watson15-Jan-04 23:57
sitebuilderPaul Watson15-Jan-04 23:57 
GeneralRe: SQL Named Pipes Pin
Mike Dimmick16-Jan-04 3:26
Mike Dimmick16-Jan-04 3:26 
Generalfinding databases Pin
fotis84115-Jan-04 10:03
fotis84115-Jan-04 10:03 
GeneralRe: finding databases Pin
Anonymous15-Jan-04 20:33
Anonymous15-Jan-04 20:33 
GeneralInserting and Updating BLOBS Pin
Guinness4Strength14-Jan-04 18:25
Guinness4Strength14-Jan-04 18:25 
GeneralRe: Inserting and Updating BLOBS Pin
Mike Dimmick16-Jan-04 3:31
Mike Dimmick16-Jan-04 3:31 
GeneralRe: Inserting and Updating BLOBS Pin
Guinness4Strength16-Jan-04 3:32
Guinness4Strength16-Jan-04 3:32 
GeneralCross Database insert procedure Pin
Ai_ling7914-Jan-04 12:34
Ai_ling7914-Jan-04 12:34 
GeneralRe: Cross Database insert procedure Pin
Paul Watson14-Jan-04 22:42
sitebuilderPaul Watson14-Jan-04 22:42 
Generalfilter dataset by date Pin
Not Active14-Jan-04 7:22
mentorNot Active14-Jan-04 7:22 
GeneralRe: filter dataset by date Pin
Not Active14-Jan-04 8:55
mentorNot Active14-Jan-04 8:55 
GeneralNot all variables bound. Pin
Chris Meech14-Jan-04 4:58
Chris Meech14-Jan-04 4:58 
GeneralRe: Not all variables bound. Pin
Chris Meech15-Jan-04 9:42
Chris Meech15-Jan-04 9:42 
GeneralRecover SQL database from data file only Pin
TPN12-Jan-04 23:54
TPN12-Jan-04 23:54 
GeneralBest MS500 ERP Pin
waynegretzky9912-Jan-04 17:28
waynegretzky9912-Jan-04 17:28 
GeneralSyspro ERP Pin
waynegretzky9912-Jan-04 17:27
waynegretzky9912-Jan-04 17:27 

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.