Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
DataEditorX
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
DataEditorX
Commits
e399d201
Commit
e399d201
authored
Jun 15, 2014
by
247321453
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.3.4.0
parent
a83d0803
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
22 additions
and
9 deletions
+22
-9
DataEditorX/Core/DataBase.cs
DataEditorX/Core/DataBase.cs
+14
-6
DataEditorX/DataEditForm.cs
DataEditorX/DataEditForm.cs
+1
-0
DataEditorX/Properties/AssemblyInfo.cs
DataEditorX/Properties/AssemblyInfo.cs
+1
-1
DataEditorX/readme.txt
DataEditorX/readme.txt
+3
-1
win32/DataEditorX.exe
win32/DataEditorX.exe
+0
-0
win32/readme.txt
win32/readme.txt
+3
-1
win32/win32.zip
win32/win32.zip
+0
-0
No files found.
DataEditorX/Core/DataBase.cs
View file @
e399d201
...
...
@@ -58,10 +58,19 @@ public static bool Create(string Db)
SQLiteConnection
.
CreateFile
(
Db
);
Command
(
Db
,
defaultTableSQL
);
}
catch
(
Exception
exc
)
catch
{
return
false
;
}
return
true
;
}
public
static
bool
CheckTable
(
string
db
)
{
try
{
Command
(
db
,
defaultTableSQL
);
}
catch
{
File
.
AppendAllText
(
"System.Data.SQLite.log"
,
exc
.
Source
+
"\n"
+
exc
.
TargetSite
+
"\n"
+
exc
.
Message
+
"\n"
+
exc
.
ToString
());
return
false
;
}
return
true
;
...
...
@@ -96,10 +105,8 @@ public static int Command(string DB, params string[] SQLs)
}
}
}
catch
(
Exception
exc
)
catch
{
File
.
AppendAllText
(
"System.Data.SQLite.log"
,
exc
.
Source
+
"\n"
+
exc
.
TargetSite
+
"\n"
+
exc
.
Message
+
"\n"
+
exc
.
ToString
());
trans
.
Rollback
();
result
=
-
1
;
}
...
...
@@ -116,6 +123,7 @@ public static int Command(string DB, params string[] SQLs)
#
endregion
#
region
数据读取
#
region
根据
SQL
读取
static
Card
ReadCard
(
SQLiteDataReader
reader
,
bool
reNewLine
)
{
...
...
DataEditorX/DataEditForm.cs
View file @
e399d201
...
...
@@ -567,6 +567,7 @@ public bool Open(string cdbFile)
}
SetCDB
(
cdbFile
);
cardlist
.
Clear
();
DataBase
.
CheckTable
(
cdbFile
);
SetCards
(
DataBase
.
Read
(
cdbFile
,
true
,
""
),
false
);
return
true
;
...
...
DataEditorX/Properties/AssemblyInfo.cs
View file @
e399d201
...
...
@@ -28,4 +28,4 @@
//
// You can specify all the values or you can use the default the Revision and
// Build Numbers by using the '*' as shown below:
[
assembly
:
AssemblyVersion
(
"1.3.
3
.0"
)]
[
assembly
:
AssemblyVersion
(
"1.3.
4
.0"
)]
DataEditorX/readme.txt
View file @
e399d201
[DataEditorX]1.3.
3
.0[DataEditorX]
[DataEditorX]1.3.
4
.0[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★卡片复制:
替换复制:如果存在卡片,就用最新的替换
...
...
@@ -26,6 +26,8 @@ Email:247321453@qq.com
描述不详细的bug,我修复不了。(都不知道是bug是什么)
★更新历史
1.3.4.0
支持 新建文本文档.txt 直接改名 新建文本文档.cdb
1.3.3.0
修复打开方式
1.3.2.2
...
...
win32/DataEditorX.exe
View file @
e399d201
No preview for this file type
win32/readme.txt
View file @
e399d201
[DataEditorX]1.3.
3
.0[DataEditorX]
[DataEditorX]1.3.
4
.0[DataEditorX]
[URL]https://github.com/247321453/DataEditorX/raw/master/win32/win32.zip[URL]
★卡片复制:
替换复制:如果存在卡片,就用最新的替换
...
...
@@ -26,6 +26,8 @@ Email:247321453@qq.com
描述不详细的bug,我修复不了。(都不知道是bug是什么)
★更新历史
1.3.4.0
支持 新建文本文档.txt 直接改名 新建文本文档.cdb
1.3.3.0
修复打开方式
1.3.2.2
...
...
win32/win32.zip
View file @
e399d201
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment