Skip to content

Commit 1a9fc7d

Browse files
committed
coding
1 parent 6c6cd96 commit 1a9fc7d

22 files changed

+165
-726
lines changed

YanZhiwei.JavaScript.Utilities/YanZhiwei.JavaScript.Utilities.csproj

Lines changed: 15 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -217,14 +217,9 @@
217217
<Content Include="Global.asax" />
218218
<Content Include="jquery\datatables-1.10.2\all.min.js" />
219219
<Content Include="jquery\datatables-1.10.2\arrays.txt" />
220-
<Content Include="jquery\datatables-1.10.2\dataTables_example1.aspx" />
221-
<Content Include="jquery\datatables-1.10.2\datatables.html" />
222220
<Content Include="jquery\datatables-1.10.2\datatablesUtils.js" />
223-
<Content Include="jquery\datatables-1.10.2\dataTables_example2.aspx" />
224-
<Content Include="jquery\datatables-1.10.2\dataTables_example3.aspx" />
225-
<Content Include="jquery\datatables-1.10.2\dataTables_example4.aspx" />
226-
<Content Include="jquery\datatables-1.10.2\dataTables_example5.aspx" />
227-
<Content Include="jquery\datatables-1.10.2\dataTables_example6.aspx" />
221+
<Content Include="jquery\datatables-1.10.2\dataTables_executePageQuery.aspx" />
222+
<Content Include="jquery\datatables-1.10.2\dataTables_curd.aspx" />
228223
<Content Include="jquery\datatables-1.10.2\extensions\AutoFill\css\dataTables.autoFill.css" />
229224
<Content Include="jquery\datatables-1.10.2\extensions\AutoFill\css\dataTables.autoFill.min.css" />
230225
<Content Include="jquery\datatables-1.10.2\extensions\AutoFill\examples\columns.html" />
@@ -394,6 +389,7 @@
394389
<Content Include="jquery\datatables-1.10.2\extensions\TableTools\swf\copy_csv_xls.swf" />
395390
<Content Include="jquery\datatables-1.10.2\extensions\TableTools\swf\copy_csv_xls_pdf.swf" />
396391
<Content Include="jquery\datatables-1.10.2\ids-arrays.txt" />
392+
<Content Include="jquery\datatables-1.10.2\jquery-dataTables_demo.aspx" />
397393
<Content Include="jquery\datatables-1.10.2\license.txt" />
398394
<Content Include="jquery\datatables-1.10.2\media\css\jquery.dataTables.css" />
399395
<Content Include="jquery\datatables-1.10.2\media\css\jquery.dataTables.min.css" />
@@ -1090,47 +1086,26 @@
10901086
<Compile Include="Global.asax.cs">
10911087
<DependentUpon>Global.asax</DependentUpon>
10921088
</Compile>
1093-
<Compile Include="jquery\datatables-1.10.2\dataTables_example1.aspx.cs">
1094-
<DependentUpon>dataTables_example1.aspx</DependentUpon>
1089+
<Compile Include="jquery\datatables-1.10.2\dataTables_executePageQuery.aspx.cs">
1090+
<DependentUpon>dataTables_executePageQuery.aspx</DependentUpon>
10951091
<SubType>ASPXCodeBehind</SubType>
10961092
</Compile>
1097-
<Compile Include="jquery\datatables-1.10.2\dataTables_example1.aspx.designer.cs">
1098-
<DependentUpon>dataTables_example1.aspx</DependentUpon>
1093+
<Compile Include="jquery\datatables-1.10.2\dataTables_executePageQuery.aspx.designer.cs">
1094+
<DependentUpon>dataTables_executePageQuery.aspx</DependentUpon>
10991095
</Compile>
1100-
<Compile Include="jquery\datatables-1.10.2\dataTables_example2.aspx.cs">
1101-
<DependentUpon>dataTables_example2.aspx</DependentUpon>
1096+
<Compile Include="jquery\datatables-1.10.2\dataTables_curd.aspx.cs">
1097+
<DependentUpon>dataTables_curd.aspx</DependentUpon>
11021098
<SubType>ASPXCodeBehind</SubType>
11031099
</Compile>
1104-
<Compile Include="jquery\datatables-1.10.2\dataTables_example2.aspx.designer.cs">
1105-
<DependentUpon>dataTables_example2.aspx</DependentUpon>
1100+
<Compile Include="jquery\datatables-1.10.2\dataTables_curd.aspx.designer.cs">
1101+
<DependentUpon>dataTables_curd.aspx</DependentUpon>
11061102
</Compile>
1107-
<Compile Include="jquery\datatables-1.10.2\dataTables_example3.aspx.cs">
1108-
<DependentUpon>dataTables_example3.aspx</DependentUpon>
1103+
<Compile Include="jquery\datatables-1.10.2\jquery-dataTables_demo.aspx.cs">
1104+
<DependentUpon>jquery-dataTables_demo.aspx</DependentUpon>
11091105
<SubType>ASPXCodeBehind</SubType>
11101106
</Compile>
1111-
<Compile Include="jquery\datatables-1.10.2\dataTables_example3.aspx.designer.cs">
1112-
<DependentUpon>dataTables_example3.aspx</DependentUpon>
1113-
</Compile>
1114-
<Compile Include="jquery\datatables-1.10.2\dataTables_example4.aspx.cs">
1115-
<DependentUpon>dataTables_example4.aspx</DependentUpon>
1116-
<SubType>ASPXCodeBehind</SubType>
1117-
</Compile>
1118-
<Compile Include="jquery\datatables-1.10.2\dataTables_example4.aspx.designer.cs">
1119-
<DependentUpon>dataTables_example4.aspx</DependentUpon>
1120-
</Compile>
1121-
<Compile Include="jquery\datatables-1.10.2\dataTables_example5.aspx.cs">
1122-
<DependentUpon>dataTables_example5.aspx</DependentUpon>
1123-
<SubType>ASPXCodeBehind</SubType>
1124-
</Compile>
1125-
<Compile Include="jquery\datatables-1.10.2\dataTables_example5.aspx.designer.cs">
1126-
<DependentUpon>dataTables_example5.aspx</DependentUpon>
1127-
</Compile>
1128-
<Compile Include="jquery\datatables-1.10.2\dataTables_example6.aspx.cs">
1129-
<DependentUpon>dataTables_example6.aspx</DependentUpon>
1130-
<SubType>ASPXCodeBehind</SubType>
1131-
</Compile>
1132-
<Compile Include="jquery\datatables-1.10.2\dataTables_example6.aspx.designer.cs">
1133-
<DependentUpon>dataTables_example6.aspx</DependentUpon>
1107+
<Compile Include="jquery\datatables-1.10.2\jquery-dataTables_demo.aspx.designer.cs">
1108+
<DependentUpon>jquery-dataTables_demo.aspx</DependentUpon>
11341109
</Compile>
11351110
<Compile Include="jquery\zTree\3.5\zTree_example1.aspx.cs">
11361111
<DependentUpon>zTree_example1.aspx</DependentUpon>

YanZhiwei.JavaScript.Utilities/jquery/datatables-1.10.2/dataTables_example6.aspx renamed to YanZhiwei.JavaScript.Utilities/jquery/datatables-1.10.2/dataTables_curd.aspx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="dataTables_example6.aspx.cs" Inherits="YanZhiwei.JavaScript.Utilities.jquery.datatables._1._10._2.dataTables_example6" %>
1+
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="dataTables_curd.aspx.cs" Inherits="YanZhiwei.JavaScript.Utilities.jquery.datatables._1._10._2.dataTables_curd" %>
22

33
<!DOCTYPE html>
44

@@ -103,17 +103,14 @@
103103
});
104104
105105
function edit(jsonItem) {
106-
//console.log(name);
107106
editFlag = true;
108107
$("#myModalLabel").text("Edit");
109108
$("#name").val(jsonItem.name);//为什么也有作用
110109
$("#ip").val(jsonItem.ip).attr("disabled", true);
111110
$("#group").val(jsonItem.group);
112-
//应该获得数据也就是要进行更新处理
113111
$("#myModal").modal("show");
114112
}
115113
function del(name, ip, group) {
116-
//这个地方也好弄,可以获取数据
117114
$('#tableLog').dataTable().deleteRowByParam('ip', ip);
118115
}
119116
@@ -181,4 +178,4 @@
181178
{{/each}}
182179
</script>
183180
</body>
184-
</html>
181+
</html>

YanZhiwei.JavaScript.Utilities/jquery/datatables-1.10.2/dataTables_example1.aspx.cs renamed to YanZhiwei.JavaScript.Utilities/jquery/datatables-1.10.2/dataTables_curd.aspx.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@
77

88
namespace YanZhiwei.JavaScript.Utilities.jquery.datatables._1._10._2
99
{
10-
public partial class dataTables : System.Web.UI.Page
10+
public partial class dataTables_curd : System.Web.UI.Page
1111
{
1212
protected void Page_Load(object sender, EventArgs e)
1313
{
14-
1514
}
1615
}
1716
}
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

YanZhiwei.JavaScript.Utilities/jquery/datatables-1.10.2/dataTables_example1.aspx

Lines changed: 0 additions & 114 deletions
This file was deleted.

YanZhiwei.JavaScript.Utilities/jquery/datatables-1.10.2/dataTables_example1.aspx.designer.cs

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)