Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //DB.h
- #pragma once
- using namespace System;
- using namespace System::Data;
- using namespace System::Data::SqlClient;
- ref class DB
- {
- public:
- DB(void);
- static const String ^ConnString = "Data Source=" + host + ";" +
- "Initial Catalog=cpro;" +
- "User Id=" + username + ";" +
- "Password=" + password + ";" +
- "Connect Timeout=10;";
- private:
- static const String ^username = "cpro";
- static const String ^password = "cpro12345";
- static const String ^host = "10.0.0.100";
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement