<span class="cr-region-span"> </span><span class="cr-cs-keyword">public</span> <span class="cr-cs-keyword">partial</span> <span class="cr-cs-keyword">class</span> DataView_EnableCallback : BasePage {
<span class="cr-region-span"> </span> <span class="cr-cs-keyword">string</span> test1 = <span class="cr-cs-string">""</span>;
<span class="cr-region-span"> </span> <span class="cr-cs-keyword">string</span> test2 = <span class="cr-cs-string">"NavBarImagesCameras"</span>;
<span class="cr-region-span"> </span> <span class="cr-cs-keyword">string</span> test3 = <span class="cr-cs-string">"Nav Bar Images Cameras"</span>;
<span class="cr-region-span"> </span> <span class="cr-cs-keyword">string</span> test4 = <span class="cr-cs-string">@"NavBarImagesCameras"</span>;
<span class="cr-region-span"> </span> <span class="cr-cs-keyword">string</span> test5 = <span class="cr-cs-string">@"\Nav\Bar\Images\Cameras"</span>;
<span class="cr-region-span"> </span> <span class="cr-cs-keyword">string</span> test6 = <span class="cr-cs-string">@"\Nav\Bar\Images\Cameras\picture.jpg"</span>;
<span class="cr-region-span"> </span> <span class="cr-cs-keyword">string</span> test7 = <span class="cr-cs-string">@"~\Nav\Bar\Images\Cameras\picture.jpg"</span>;
<span class="cr-region-span"> </span> <span class="cr-cs-keyword">string</span> test8 = <span class="cr-cs-string">@"\|/!''#$%^&*(())ddd"</span>;
<span class="cr-region-span"> </span>
<span class="cr-region-span"> </span> <span class="cr-cs-keyword">char</span> test9 = <span class="cr-cs-string">'q'</span>;
<span class="cr-region-span"> </span>
<span class="cr-region-span"> </span>
<span class="cr-region-span"> </span> <span class="cr-cs-keyword">protected</span> <span class="cr-cs-keyword">void</span> Page_Load(<span class="cr-cs-keyword">object</span> sender, EventArgs e) {
<span class="cr-region-span"> </span> CSSLink = <span class="cr-cs-string">"~/DataView/CSS/CustomCallback.css"</span>; <span class="cr-cs-comment">// Register css file</span>
<span class="cr-region-span"> </span> <span class="cr-cs-keyword">if</span> (IsPostBack)
<span class="cr-region-span"> </span> PrepareQuery();
<span class="cr-region-span"> </span> }
<span class="cr-region-span"> </span> <span class="cr-cs-keyword">protected</span> <span class="cr-cs-keyword">string</span> sortField = <span class="cr-cs-string">""</span>;
<span class="cr-region-span"> </span> <span class="cr-cs-keyword">protected</span> <span class="cr-cs-keyword">bool</span> sortDescending = <span class="cr-cs-keyword">false</span>;
<span class="cr-region-span"> </span>
<span class="cr-region-span"> </span> <span class="cr-cs-keyword">public</span> <span class="cr-cs-keyword">string</span> ImagePath {
<span class="cr-region-span"> </span> get { <span class="cr-cs-keyword">return</span> <span class="cr-cs-string">@"~\NavBar\Images\Cameras\"</span>; }
<span class="cr-region-span"> </span> }
<span class="cr-region-span"> </span>
<span class="cr-region-span"> </span> <span class="cr-cs-keyword">public</span> <span class="cr-cs-keyword">string</span> SortColor(<span class="cr-cs-keyword">string</span> parameter) {
<span class="cr-region-span"> </span> <span class="cr-cs-keyword">return</span> <span class="cr-cs-keyword">this</span>.sortField.Equals(parameter) ? <span class="cr-cs-string">"dvcSortColor"</span> : <span class="cr-cs-string">""</span>;
<span class="cr-region-span"> </span> }
<span class="cr-region-span"> </span> <span class="cr-cs-keyword">protected</span> <span class="cr-cs-keyword">void</span> PrepareQuery() {
<span class="cr-region-span"> </span> <span class="cr-cs-keyword">this</span>.sortField = (cbSortField.Value != <span class="cr-cs-keyword">null</span>) ? cbSortField.Value.ToString() : <span class="cr-cs-string">""</span>;
<span class="cr-region-span"> </span> <span class="cr-cs-keyword">this</span>.sortDescending = cbSortOrder.SelectedIndex == 1;
<span class="cr-region-span"> </span>
<span class="cr-region-span"> </span> <span class="cr-cs-keyword">string</span> sqlText = <span class="cr-cs-string">"SELECT * FROM [Cameras]"</span>;
<span class="cr-region-span"> </span> <span class="cr-cs-keyword">if</span> (sortField != <span class="cr-cs-string">""</span>) {
<span class="cr-region-span"> </span> sqlText += <span class="cr-cs-string">" ORDER BY ["</span> + sortField + <span class="cr-cs-string">"]"</span>;
<span class="cr-region-span"> </span> <span class="cr-cs-keyword">if</span> (sortDescending)
<span class="cr-region-span"> </span> sqlText += <span class="cr-cs-string">" DESC"</span>;
<span class="cr-region-span"> </span> }
<span class="cr-region-span"> </span> AccessDataSource1.SelectCommand = sqlText;
<span class="cr-region-span"> </span> dvCameras.DataBind();
<span class="cr-region-span"> </span> }
<span class="cr-region-span"> </span>}
没有合适的资源?快使用搜索试试~ 我知道了~
DXperience 9.1.2 Sources 源代码
共2000个文件
cs:4981个
png:3926个
gif:1892个
需积分: 0 90 下载量 81 浏览量
2009-04-05
17:11:04
上传
评论 1
收藏 22.27MB 7Z 举报
温馨提示
DXperience 9.1.2 Sources 源代码
资源推荐
资源详情
资源评论
收起资源包目录
DXperience 9.1.2 Sources 源代码 (2000个子文件)
english.aff 6KB
english.aff 6KB
english.aff 6KB
english.aff 6KB
InsertImageForm.ascx 16KB
InsertImageForm.ascx 16KB
AppointmentForm.ascx 15KB
AppointmentFormEx.ascx 15KB
InsertImageForm.ascx 15KB
InsertImageForm.ascx 15KB
InsertLinkForm.ascx 15KB
InsertLinkForm.ascx 15KB
InsertImageForm.ascx 15KB
InsertImageForm.ascx 15KB
InsertLinkForm.ascx 14KB
InsertLinkForm.ascx 14KB
InsertLinkForm.ascx 14KB
InsertLinkForm.ascx 14KB
AppointmentForm.ascx 13KB
AppointmentFormEx.ascx 13KB
ImagePropertiesForm.ascx 10KB
ImagePropertiesForm.ascx 10KB
ImagePropertiesForm.ascx 9KB
ImagePropertiesForm.ascx 9KB
ImagePropertiesForm.ascx 9KB
ImagePropertiesForm.ascx 9KB
SpellCheckForm.ascx 9KB
SpellCheckForm.ascx 9KB
SPxHtmlField.ascx 9KB
SPxTextField.ascx 8KB
SpellCheckForm.ascx 8KB
SpellCheckForm.ascx 8KB
SpellCheckForm.ascx 8KB
SPxHtmlField.ascx 8KB
SPxTextField.ascx 7KB
SpellCheckOptionsForm.ascx 7KB
SpellCheckOptionsForm.ascx 7KB
HorizontalAppointmentTemplate.ascx 7KB
SpellCheckOptionsForm.ascx 7KB
SpellCheckOptionsForm.ascx 7KB
SpellCheckOptionsForm.ascx 6KB
InplaceEditor.ascx 6KB
PasteFromWordForm.ascx 6KB
PasteFromWordForm.ascx 6KB
HorizontalAppointmentTemplate.ascx 6KB
InplaceEditor.ascx 6KB
VerticalAppointmentTemplate.ascx 6KB
SpellCheckForm.ascx 6KB
PasteFromWordForm.ascx 5KB
PasteFromWordForm.ascx 5KB
PasteFromWordForm.ascx 5KB
PasteFromWordForm.ascx 5KB
VerticalAppointmentTemplate.ascx 5KB
RecurrentAppointmentDeleteForm.ascx 5KB
RecurrentAppointmentEditForm.ascx 5KB
HorizontalSameDayAppointmentTemplate.ascx 5KB
RecurrentAppointmentDeleteForm.ascx 5KB
RecurrentAppointmentEditForm.ascx 5KB
HorizontalSameDayAppointmentTemplate.ascx 5KB
GotoDateForm.ascx 5KB
SpellCheckOptionsForm.ascx 4KB
GotoDateForm.ascx 4KB
ReminderForm.ascx 1KB
ReminderForm.ascx 1KB
pumpkin.blob 646KB
summer 2008.blob 625KB
springtime.blob 587KB
xmas 2008 blue.blob 573KB
valentine.blob 522KB
money twins.blob 406KB
black.blob 362KB
blue.blob 352KB
dark side.blob 346KB
office 2007 green.blob 262KB
office 2007 pink.blob 261KB
office 2007 blue.blob 261KB
office 2007 black.blob 259KB
office 2007 silver.blob 257KB
mcskin.blob 242KB
imaginary.blob 227KB
stardust.blob 221KB
lilian.blob 221KB
liquid sky.blob 217KB
caramel.blob 217KB
london liquid sky.blob 211KB
glass oceans.blob 193KB
the asphalt world.blob 185KB
coffee.blob 172KB
ToolBar.bmp 23KB
big_monthonepage.bmp 11KB
big_dayonepage.bmp 11KB
big_weeklefttorighttwopage.bmp 11KB
big_weeklefttorightonepage.bmp 11KB
big_monthtwopage.bmp 11KB
big_calendar.bmp 11KB
big_weekonepage.bmp 10KB
big_weektwopage.bmp 10KB
big_memo.bmp 10KB
big_trifold.bmp 10KB
EditorDataPickerImages.bmp 8KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
fosoyo
- 粉丝: 156
- 资源: 1582
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 课程设计-python爬虫-爬取日报,爬取日报文章后存储到本地,附带源代码+课程设计报告
- 软件和信息技术服务行业投资与前景预测.pptx
- 课程设计-基于SpringBoot + Mybatis+python爬虫NBA球员数据爬取可视化+源代码+文档+sql+效果图
- 软件品质管理系列二项目策划规范.doc
- 基于TensorFlow+PyQt+GUI的酒店评论情感分析,支持分析本地数据文件和网络爬取数据分析+源代码+文档说明+安装教程
- 软件定义无线电中的模拟电路测试技术.pptx
- 软件开发协议(作为技术开发合同附件).doc
- 软件开发和咨询行业技术趋势分析.pptx
- 软件测试题详解及答案.doc
- 软件漏洞生命周期管理策略.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功