개정판 27d06aa8
issue #000:
Change-Id: I686ce64f271bbca9175dda0a0c064fc1e2094c34
DTI_PID/ID2PSN/Program.cs | ||
---|---|---|
49 | 49 |
string output = Encoding.UTF8.GetString(outbuf, 4, nbytes - 5); |
50 | 50 |
var result = JsonConvert.DeserializeObject<Dictionary<string, string>>(output); |
51 | 51 |
|
52 |
|
|
52 | 53 |
|
53 | 54 |
if (result["db_type"] == "SQLite") |
54 | 55 |
{ |
... | ... | |
69 | 70 |
info.DefaultPath = result["path"]; |
70 | 71 |
///DataRow dr = projectTable.Select(string.Format("DBTypes_UID = 2 AND Name = '{0}'", result["db_name"])).FirstOrDefault(); |
71 | 72 |
///info.DefaultPath = dr.Field<string>("Path"); |
73 |
/// |
|
74 |
|
|
72 | 75 |
} |
76 |
|
|
77 |
MessageBox.Show(info.ID2DBType + "\n" + info.ServerIP + "\n" + info.DBUser + "\n" + info.DBPassword + "\n" + info.Database + "\n" + info.DefaultPath, "ID2PSN", MessageBoxButtons.OK, MessageBoxIcon.Error); |
|
73 | 78 |
} |
74 | 79 |
tcpClient.Close(); |
75 | 80 |
} |
내보내기 Unified diff