Yahoo Αναζήτηση Διαδυκτίου

Αποτελέσματα Αναζήτησης

  1. 9 Απρ 2015 · You'll need the MySQL Connector for .NET, if you don't already have it, in order to get your C# application talking to MySQL. Then you'll be able to get the date columns out of your database and into DateTime objects in the standard way, using MySqlConnection, MySqlCommand, MySqlDataReader etc.

  2. I made a small app for a few friends to use a year ago and at the time the dateTime issue confused me so I pretty much: - took dateTime in C#, converted to string. - sent string to NodejS api. - nodeJS sent to stored proc MySQL. - Variable in mysql was datetime. This would mean:

  3. MySQL and the .NET languages handle date and time information differently, with MySQL allowing dates that cannot be represented by a .NET data type, such as '0000-00-00 00:00:00'. These differences can cause problems if not properly handled.

  4. 7 Απρ 2023 · SQL date strings can be handed with DateTime.Parse. This is useful when you have database text-only data. DateTime.Parse works on the date time format in the MySQL database.

  5. 22 Απρ 2023 · As previously stated, the code stores data in the var variable. This var variable holds a datetime value. However, while using the following code, the following error occurs. DateTime LastNotificationDate = DateTime.Parse(LastNotificationRecord.Value);

  6. 28 Σεπ 2016 · Convert the DateTime to string; Convert the DateTime to string with correct format and then back to DateTime again; Use the DateTime.Parse method; Use the DateTime.ParseExact method with correct format and using both "CultureInfo.InvariantCulture" and "CreateSpecificCulture("en-GB")

  7. The MySql.Data.MySqlClient is a package library in C# that provides a connector to MySQL databases. One of the functionalities it offers is MySqlDataReader.GetDateTime, which retrieves a DateTime value from the database. Example 1: using MySql.Data.MySqlClient; string connectionString = "server=localhost;database=myDb;user=root;password=root;";

  1. Γίνεται επίσης αναζήτηση για