mySQLConnection = new SqlConnection(S"Data Source=(local);Initial Catalog=myDb;User Id=user;Password=pw;"); mySQLConnection->Open(); myDataSet = new DataSet("Sample"); myDataAdapter = new SqlDataAdapter(S"select * from SampleTable",mySQLConnection); myDataAdapter->Fill (myDataSet,"SampleTable"); dt = myDataSet->Tables->Item["SampleTable"]; dt->Columns->get_Item("DateField")->Format("mm/dd/yyyy hh:mi:ss") // this is not availabe now
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)