Sqlserver读取excel

<pre class="brush:sql;toolbar:false">SELECT&nbsp;*&nbsp; FROM&nbsp;OPENROWSET( &nbsp;&nbsp;&nbsp;&nbsp;&#39;Microsoft.ACE.OLEDB.12.0&#39;,&nbsp;&nbsp;--&nbsp;使用64位版本时,请确保这是正确的版本号 &nbsp;&nbsp;&nbsp;&nbsp;&#39;Excel&nbsp;12.0;Database=C:\path\to\your\excel\example.xlsx;&#39;,&nbsp;&nbsp;--&nbsp;修改为你的文件路径 &nbsp;&nbsp;&nbsp;&nbsp;&#39;SELECT&nbsp;*&nbsp;FROM&nbsp;[Sheet1$]&#39;&nbsp;&nbsp;--&nbsp;修改为你的工作表名,注意工作表名需要用[]括起来,并且$表示第一个工作表 )&nbsp;AS&nbsp;ExcelData;</pre><p><br/></p>
2025/7/30 22:28:49(zgc) 抢沙发(0) 个人作品
阅读全文

2023-12-28 医保接口更新

2023/12/28 15:17:22(zgc) 抢沙发(0) 个人作品
阅读全文

wpf学习

<p><video class="edui-upload-video vjs-default-skin video-js" controls="" preload="none" width="420" height="280" src="/common/ueditornew/net/upload/video/20231223/6383894179971409893906349.mp4" data-setup="{}"></video></p>
2023/12/23 15:19:31(zgc) 抢沙发(0) Net技术
阅读全文

门诊医生站安装包下载

<p><a></a><a href="http://zhenggc.cc/attach/202009/30172322-mzysz_setup地方版本20200419_6.0.0.460.exe">mzysz_setup地方版本20200419_6.0.0.460.exe下载</a><br/></p><p><br/></p><p><a href="http://zhenggc.cc/attach/202009/30172138-电子病历一键安装20200103.rar" target="_self">电子病历一键安装下载</a></p><p>电子病历20231219 新版下载</p><p><span style="font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;PingFang SC&quot;, 微软雅黑, Tahoma, Arial, sans-serif; font-size: 14px; text-wrap: wrap; background-color: rgb(255, 255, 255);"><a href="http://zhenggc.cc/myyunpan/Share.aspx?code=prGbCbjNNgNHMKoU"> 电子病历20231219 新版下载</a> 提取码:fpao&nbsp;</span></p><p><span style="font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;PingFang SC&quot;, 微软雅黑, Tahoma, Arial, sans-serif; font-size: 14px; text-wrap: wrap; background-color: rgb(255, 255, 255);"></span></p><hr/><p><span style="font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;PingFang SC&quot;, 微软雅黑, Tahoma, Arial, sans-serif; font-size: 14px; text-wrap: wrap; background-color: rgb(255, 255, 255);"></span><br/></p><p><span style="font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;PingFang SC&quot;, 微软雅黑, Tahoma, Arial, sans-serif; font-size: 14px; text-wrap: wrap; background-color: rgb(255, 255, 255);"></span></p><p>电子病历系统一键安装20250117<a href="/uploadfiles/files/20250117054416.rar" target="_blank" title="电子病历系统下载"><strong>电子病历系统下载</strong></a></p><p><span style="font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;PingFang SC&quot;, 微软雅黑, Tahoma, Arial, sans-serif; font-size: 14px; text-wrap: wrap; background-color: rgb(255, 255, 255);"></span><span style="text-wrap-mode: wrap;">20250117</span>版本电子病历下载,新增功能,中医,西医首页增加转归情况。</p>
2023/11/22 23:42:08(zgc) 抢沙发(0) 个人作品
阅读全文

Svg转换Image工具

<p>svg转换成图片工具 可批量更改svg格式为jpg,png,bmp。<br/><img src="/Common/ueditornew/net/upload/image/20210613/6375921623810710956277662.png" title="test.png" alt="test.png"/></p>
2021/6/13 21:17:48(zgc) 抢沙发(0) Net技术
阅读全文

在GridControl控件中使用PopupContainerEdit构建数据快速输入检索

<p><a href="https://www.pianshen.com/" style="box-sizing: border-box; background: 0px 0px; color: rgb(255, 255, 255); text-decoration-line: none; line-height: 23px;"><span style="box-sizing: border-box; display: block;">程序员大本营</span><small>技术文章内容聚合第一站</small></a></p><p><br/></p><p><br/></p><p>&nbsp;</p><h2 style="box-sizing: border-box; font-family: inherit; font-weight: 500; line-height: 32px; color: inherit; margin-top: 20px; margin-bottom: 10px; font-size: 30px; word-break: break-all;"><span style="box-sizing: border-box;">在GridControl控件中使用PopupContainerEdit构建数据快速输入检索</span></h2><p>&nbsp;</p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; font-size: 16px; color: rgb(79, 79, 79); line-height: 26px; text-align: justify;">这几天一直被这个东西困扰,不过最终还是解决了,所以分享一下。</p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; font-size: 16px; color: rgb(79, 79, 79); line-height: 26px; text-align: justify;"><span style="box-sizing: border-box; font-weight: 700;">效果图如下:</span></p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; font-size: 16px; color: rgb(79, 79, 79); line-height: 26px; text-align: justify;"><img alt="" src="/ueditor/net/upload/image/20210414/6375401206655210937440893.gif"/></p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; font-size: 16px; color: rgb(79, 79, 79); line-height: 26px; text-align: justify;">&nbsp;这边我就说一个,就是药品名称的检索(看懂一个其它都大同小异)。</p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; font-size: 16px; color: rgb(79, 79, 79); line-height: 26px; text-align: justify;">第一步,你需要创建一个用户控件,这个控件就是你下拉时来显示数据的,如下图:</p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; font-size: 16px; color: rgb(79, 79, 79); line-height: 26px; text-align: justify;">我这里用户控件名为YpxxList</p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; font-size: 16px; color: rgb(79, 79, 79); line-height: 26px; text-align: justify;"><img alt="" src="/ueditor/net/upload/image/20210414/6375401207048960934642908.png"/></p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; font-size: 16px; color: rgb(79, 79, 79); line-height: 26px; text-align: justify;">第二步,需要在GridView中你需要实现下拉的列,ColumnEdit类型选PopupContainerEdit<span style="box-sizing: border-box; font-weight: 700;">(这是它的类型RepositoryItemPopupContainerEdit)</span></p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; font-size: 16px; color: rgb(79, 79, 79); line-height: 26px; text-align: justify;"><img alt="" src="/ueditor/net/upload/image/20210414/6375401207310484371344860.png"/></p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; font-size: 16px; color: rgb(79, 79, 79); line-height: 26px; text-align: justify;">这里重点,改好类型后这里会显示出来,要记得改一下TextEditStyle的类型,它默认是不让你在下拉框中输入东西,这样你就不能检索数据,这个问题我搞了好久....</p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; font-size: 16px; color: rgb(79, 79, 79); line-height: 26px; text-align: justify;"><img alt="" src="/ueditor/net/upload/image/20210414/6375401207672105466448230.png"/>&nbsp;</p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; font-size: 16px; color: rgb(79, 79, 79); line-height: 26px; text-align: justify;">&nbsp;</p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; font-size: 16px; color: rgb(79, 79, 79); line-height: 26px; text-align: justify;">第三步,需要在主窗体里声明几个对象,如下:</p><pre class="has" style="box-sizing: border-box; overflow: auto; font-family: Consolas, Inconsolata, Courier, monospace; padding: 8px; margin-top: 0px; margin-bottom: 24px; line-height: 22px; color: rgb(0, 0, 0); word-break: break-all; overflow-wrap: break-word; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 4px; position: relative; white-space: pre-wrap;">private&nbsp;YpxxList&nbsp;ypxxList&nbsp;=&nbsp;null;&nbsp;&nbsp;&nbsp;//药品下拉列表(就是我刚才的用户控件对象)public&nbsp;delegate&nbsp;void&nbsp;UiHandleGrid(string&nbsp;text);//声明委托,需要跟用户控件进行传递数据,很重要public&nbsp;static&nbsp;event&nbsp;UiHandleGrid&nbsp;uihandleGrid;</pre><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; font-size: 16px; color: rgb(79, 79, 79); line-height: 26px; text-align: justify;">然后在主窗体里开始编写代码,如下:&nbsp;</p><pre class="has" style="box-sizing: border-box; overflow: auto; font-family: Consolas, Inconsolata, Courier, monospace; padding: 8px; margin-top: 0px; margin-bottom: 24px; line-height: 22px; color: rgb(0, 0, 0); word-break: break-all; overflow-wrap: break-word; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 4px; position: relative; white-space: pre-wrap;">//这个方法放到主窗体的Load里private&nbsp;void&nbsp;InitYpxx(){//这个是RepositoryItemPopupContainerEdit的子,这个控件应该是类似于Winform中的PanelPopupContainerControl&nbsp;pccYpxxList&nbsp;=&nbsp;new&nbsp;PopupContainerControl();//把PopupContainerControl给RepositoryItemPopupContainerEdit的弹出控件(PopupControl)PopupContainerEdit_Ypxx.PopupControl&nbsp;=&nbsp;pccYpxxList;//然后设置一下显示的宽高pccYpxxList.Width&nbsp;=&nbsp;300;pccYpxxList.Height&nbsp;=&nbsp;200;ypxxList&nbsp;=&nbsp;new&nbsp;YpxxList();ypxxList.Dock&nbsp;=&nbsp;DockStyle.Fill;//将用户控件添加到PopupContainerControl中pccYpxxList.Controls.Add(ypxxList);//这里是用户控件的一个委托,刚才说过了主窗体的委托,它们就是用来互相传递一些数据的,比如我在下拉框中选择一行数据,我需要把几列值赋给主窗体上对应的几列ypxxList.getGridDialog&nbsp;+=&nbsp;new&nbsp;YpxxList.GetGridDialog(YpxxList_getYpxxList);}//这个就是用户控件传递过来的一行选中的DataRow对象,我需要把一些值赋给主窗体的某些列private&nbsp;void&nbsp;YpxxList_getYpxxList(DataRow&nbsp;dr){gridView1.SetFocusedRowCellValue(&quot;ypmc&quot;,&nbsp;dr[&quot;itemname&quot;]);gridView1.SetFocusedRowCellValue(&quot;dosageUnit&quot;,&nbsp;dr[&quot;doseunit&quot;]);//popupContainerEdit.ClosePopup();}</pre><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; font-size: 16px; color: rgb(79, 79, 79); line-height: 26px; text-align: justify;">第四步,就是给PopupContainerEdit添加两个事件,如下:</p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; font-size: 16px; color: rgb(79, 79, 79); line-height: 26px; text-align: justify;"><img alt="" src="/ueditor/net/upload/image/20210414/6375401207994664061737035.png"/></p><pre class="has" style="box-sizing: border-box; overflow: auto; font-family: Consolas, Inconsolata, Courier, monospace; padding: 8px; margin-top: 0px; margin-bottom: 24px; line-height: 22px; color: rgb(0, 0, 0); word-break: break-all; overflow-wrap: break-word; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 4px; position: relative; white-space: pre-wrap;">private&nbsp;void&nbsp;PopupContainerEdit_Ypxx_KeyDown(object&nbsp;sender,&nbsp;KeyEventArgs&nbsp;e){if&nbsp;(e.KeyCode&nbsp;==&nbsp;Keys.Down){PopupContainerEdit_Ypxx.PopupControl.Controls[0].Focus();}}//这个方法就是输入值时,把输入的值传给用户控件,用户控件进行检索。private&nbsp;void&nbsp;PopupContainerEdit_Ypxx_EditValueChanging(object&nbsp;sender,&nbsp;DevExpress.XtraEditors.Controls.ChangingEventArgs&nbsp;e){popupContainerEdit&nbsp;=&nbsp;sender&nbsp;as&nbsp;PopupContainerEdit;string&nbsp;srm&nbsp;=&nbsp;popupContainerEdit.Text;if&nbsp;(srm.Trim()&nbsp;!=&nbsp;string.Empty){uihandleGrid(srm);popupContainerEdit.ShowPopup();popupContainerEdit.Focus();}else{popupContainerEdit.ClosePopup();}}</pre><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; font-size: 16px; color: rgb(79, 79, 79); line-height: 26px; text-align: justify;">&nbsp;到这里主窗体的工作已完成,下面开始用户控件的代码编写,如下:‘</p><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; font-size: 16px; color: rgb(79, 79, 79); line-height: 26px; text-align: justify;">第一步,也是声明几个对象下面要用到,代码如下:</p><pre class="has" style="box-sizing: border-box; overflow: auto; font-family: Consolas, Inconsolata, Courier, monospace; padding: 8px; margin-top: 0px; margin-bottom: 24px; line-height: 22px; color: rgb(0, 0, 0); word-break: break-all; overflow-wrap: break-word; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 4px; position: relative; white-space: pre-wrap;">//放显示的数据private&nbsp;DataTable&nbsp;dt;//委托,把选中的行数据传递给主窗体public&nbsp;delegate&nbsp;void&nbsp;GetGridDialog(DataRow&nbsp;dr);public&nbsp;event&nbsp;GetGridDialog&nbsp;getGridDialog;</pre><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; font-size: 16px; color: rgb(79, 79, 79); line-height: 26px; text-align: justify;">第二步,我就一次性把代码放出来了,偷个懒哈哈哈,如下:</p><pre class="has" style="box-sizing: border-box; overflow: auto; font-family: Consolas, Inconsolata, Courier, monospace; padding: 8px; margin-top: 0px; margin-bottom: 24px; line-height: 22px; color: rgb(0, 0, 0); word-break: break-all; overflow-wrap: break-word; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 4px; position: relative; white-space: pre-wrap;">public&nbsp;YpxxList(){InitializeComponent();InitList();//主窗体的委托Qphzcyxxd.uihandleGrid&nbsp;+=&nbsp;new&nbsp;Qphzcyxxd.UiHandleGrid(frmYpxxAdvMain_uihandleGrid);}///&nbsp;&lt;summary&gt;///&nbsp;根据输入的text来检索数据///&nbsp;&lt;/summary&gt;///&nbsp;&lt;param&nbsp;name=&quot;text&quot;&gt;&lt;/param&gt;void&nbsp;frmYpxxAdvMain_uihandleGrid(string&nbsp;text){//第一句根据你的需求替换即可,下面的应该是通用的var&nbsp;drs&nbsp;=&nbsp;dt.Select(string.Format(&quot;itemname&nbsp;like&nbsp;&#39;%{0}%&#39;&nbsp;or&nbsp;inputcode&nbsp;like&nbsp;&#39;%{0}%&#39;&quot;,&nbsp;text));var&nbsp;table&nbsp;=&nbsp;dt.Clone();foreach&nbsp;(var&nbsp;dr&nbsp;in&nbsp;drs){var&nbsp;temp&nbsp;=&nbsp;table.NewRow();temp.ItemArray&nbsp;=&nbsp;dr.ItemArray;table.Rows.Add(temp);}gcYpxx.DataSource&nbsp;=&nbsp;table;gcYpxx.RefreshDataSource();}///&nbsp;&lt;summary&gt;///&nbsp;初始数据///&nbsp;&lt;/summary&gt;public&nbsp;void&nbsp;InitList(){//访问数据库得到你想要的数据源DataTalbe,然后给控件gcYpxx.DataSource&nbsp;=&nbsp;dt;}//GridView的双击事件private&nbsp;void&nbsp;gridView_DoubleClick(object&nbsp;sender,&nbsp;EventArgs&nbsp;e){if&nbsp;(gv_Ypxx.FocusedRowHandle&nbsp;&gt;&nbsp;-1){//得到选中行的数据传递给主窗体var&nbsp;dr&nbsp;=&nbsp;gv_Ypxx.GetFocusedDataRow();getGridDialog(dr);}}//鼠标按下的事件private&nbsp;void&nbsp;gridView_KeyDown(object&nbsp;sender,&nbsp;KeyEventArgs&nbsp;e){if&nbsp;(e.KeyCode&nbsp;==&nbsp;Keys.Enter&nbsp;&amp;&amp;&nbsp;gv_Ypxx.FocusedRowHandle&nbsp;&gt;&nbsp;-1){//得到选中行的数据传递给主窗体var&nbsp;dr&nbsp;=&nbsp;gv_Ypxx.GetFocusedDataRow();getGridDialog(dr);}}</pre><p style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; font-size: 16px; color: rgb(79, 79, 79); line-height: 26px; text-align: justify;">这样就大功告成了!!!首次用有些地方还不太懂,鄙人愚钝,有错的地方请明示。</p><p style="box-sizing: border-box; outline: 0px; margin-top: 0px; margin-bottom: 16px; padding: 0px; color: rgb(196, 196, 200); overflow: auto hidden; overflow-wrap: break-word; font-family: -apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun; white-space: normal; background-color: rgb(38, 39, 40); line-height: 26px !important;"><span style="box-sizing: border-box; outline: 0px; margin: 0px; padding: 0px; overflow-wrap: break-word; color: rgb(243, 59, 69);"><span style="box-sizing: border-box; outline: 0px; font-weight: 700; overflow-wrap: break-word;">补充:最近发现代码有点问题,下面进行补充;</span></span></p><p style="box-sizing: border-box; outline: 0px; margin-top: 0px; margin-bottom: 16px; padding: 0px; color: rgb(196, 196, 200); overflow: auto hidden; overflow-wrap: break-word; font-family: -apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun; white-space: normal; background-color: rgb(38, 39, 40); line-height: 26px !important;"><img alt="" class="has" height="1048" src="/ueditor/net/upload/image/20210414/6375401244450425785507930" width="1200"/></p><p style="box-sizing: border-box; outline: 0px; margin-top: 0px; margin-bottom: 16px; padding: 0px; color: rgb(196, 196, 200); overflow: auto hidden; overflow-wrap: break-word; font-family: -apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun; white-space: normal; background-color: rgb(38, 39, 40); line-height: 26px !important;">需要把三个属性值改为“False”&nbsp;,我遇到的问题是在进行检索后选择某个值,会出现下面这种情况:</p><p style="box-sizing: border-box; outline: 0px; margin-top: 0px; margin-bottom: 16px; padding: 0px; color: rgb(196, 196, 200); overflow: auto hidden; overflow-wrap: break-word; font-family: -apple-system, &quot;SF UI Text&quot;, Arial, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;WenQuanYi Micro Hei&quot;, sans-serif, SimHei, SimSun; white-space: normal; background-color: rgb(38, 39, 40); line-height: 26px !important;"><img alt="" class="has" height="212" src="/ueditor/net/upload/image/20210414/6375401244472691407578390" width="360"/></p><p><span class="creativecommons" style="box-sizing: border-box;"><a href="https://creativecommons.org/licenses/by-sa/4.0/" style="box-sizing: border-box; background-image: initial; background-position: 0px 0px; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(66, 139, 202); text-decoration-line: none;"></a><span style="box-sizing: border-box;">版权声明:本文为博主原创文章,遵循<a href="https://creativecommons.org/licenses/by-sa/4.0/" target="_blank" style="box-sizing: border-box; background-image: initial; background-position: 0px 0px; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(66, 139, 202); text-decoration-line: none;">&nbsp;CC 4.0 BY-SA&nbsp;</a>版权协议,转载请附上原文出处链接和本声明。</span></span></p><p>本文链接:<a href="https://blog.csdn.net/MonkeyBananas/article/details/89713012" target="_blank" style="box-sizing: border-box; background-image: initial; background-position: 0px 0px; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(66, 139, 202); text-decoration-line: none;">https://blog.csdn.net/MonkeyBananas/article/details/89713012</a></p><p><br/></p><p><a href="https://www.pianshen.com/copyright.html#del" target="_blank" style="box-sizing: border-box; background-image: initial; background-position: 0px 0px; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(66, 139, 202); text-decoration-line: none;">原作者删帖</a>&nbsp;&nbsp;&nbsp;<a href="https://www.pianshen.com/copyright.html#others" target="_blank" style="box-sizing: border-box; background-image: initial; background-position: 0px 0px; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(66, 139, 202); text-decoration-line: none;">不实内容删帖</a>&nbsp;&nbsp;&nbsp;<a href="mailto:pianshen@gmx.com?subject=%E6%8A%95%E8%AF%89%E6%9C%AC%E6%96%87%E5%90%AB%E5%B9%BF%E5%91%8A%E6%88%96%E5%9E%83%E5%9C%BE%E4%BF%A1%E6%81%AF%EF%BC%88%E8%AF%B7%E9%99%84%E4%B8%8A%E8%BF%9D%E8%A7%84%E9%93%BE%E6%8E%A5%E5%9C%B0%E5%9D%80%EF%BC%89" title="投诉本文含广告或垃圾信息" style="box-sizing: border-box; background-image: initial; background-position: 0px 0px; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; color: rgb(66, 139, 202); text-decoration-line: none;">广告或垃圾文章投诉</a></p><hr/><h3 style="box-sizing: border-box; font-family: inherit; font-weight: 500; line-height: 1.1; color: inherit; margin-top: 20px; margin-bottom: 10px; font-size: 24px;"><br/></h3><p><br/></p>
2021/4/14 15:47:37(zgc) 抢沙发(2) Net技术
阅读全文

RAD Studio 10.4.2 绿色版

<p><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">一、绿色版介绍</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">绿色版为完全版,没做任何的精简,也没有做任何的改动!</span><br/><span style="color:#DC143C">绿色版不含任何破解,仅供研究,24小时后请自行删除,如需继续使用RAD&nbsp;Studio,请购买正版。</span><br/><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">二、绿色版文件包说明</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">绿色版共包含4个文件包,分别为:</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">dotnetfx45_full_x86_x64.exe:Microsoft&nbsp;.NET&nbsp;Framework&nbsp;4.5,必选</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">RAD&nbsp;Studio&nbsp;10.4.2&nbsp;绿色版.7z:基础包,必选</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">RAD&nbsp;Studio&nbsp;10.4.2&nbsp;PlatformSDKs.7z:Android&nbsp;SDK、Android&nbsp;NDK,可选</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">RAD&nbsp;Studio&nbsp;10.4&nbsp;Green&nbsp;1.4.rar:绿化程序,必选</span><br/><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">三、绿色版使用说明</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">1.安装Microsoft&nbsp;.NET&nbsp;Framework&nbsp;4.5,只安装一次即可,Windows&nbsp;10已自带,可以跳过此步</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">2.解压RAD&nbsp;Studio&nbsp;10.4.2&nbsp;绿色版.7z到任意目录</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">3.解压RAD&nbsp;Studio&nbsp;10.4.2&nbsp;PlatformSDKs.7z解压到绿色版的Extra目录(10.4\Extra\CatalogRepository\)</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">4.解压RAD&nbsp;Studio&nbsp;10.4&nbsp;Green&nbsp;1.4.rar解压到绿色版目录下(10.4\RADStudioSydneyGreen.exe)</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">5.运行RADStudioSydneyGreen.exe可实现绿化和卸载</span><br/><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">四、下载地址</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">Microsoft&nbsp;.NET&nbsp;Framework&nbsp;4.5&nbsp;官方下载地址:</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">&nbsp;下载地址:</span><img src="/ueditor/net/upload/image/20210228/6375013931970307824735760.gif"/><a target="_blank" href="http://download.microsoft.com/download/b/a/4/ba4a7e71-2906-4b2d-a0e1-80cf16844f5f/dotnetfx45_full_x86_x64.exe" style="text-decoration-line: none; color: rgb(51, 51, 51); font-family: 宋体; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);">http://download.microsoft.com/download/b/a/4/ba4a7e71-2906-4b2d-a0e1-80cf16844f5f/dotnetfx45_full_x86_x64.exe</a><br/><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">&nbsp;RAD&nbsp;Studio&nbsp;10.4.2&nbsp;绿色版.7z(3.69GB,解压后26.2GB)</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">下载地址:https://pan.baidu.com/s/1xmMoFKEt--Kud7_6lB7Dgg</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">提取码:je3q</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">&nbsp;MD5:&nbsp;7C078BC1C78DE33A70F76D98A193E8F6</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">&nbsp;SHA1:&nbsp;37F43F18E57FA6B5C8245169C2D024A26B047998</span><br/><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">&nbsp;RAD&nbsp;Studio&nbsp;10.4.2&nbsp;PlatformSDKs.7z(2.31GB,解压后5.91GB)</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">下载地址:https://pan.baidu.com/s/1TdS9B2t4ymcwrRQwqZKBiw</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">提取码:40w3</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">&nbsp;MD5:&nbsp;34DD02D1EDE2BF62580C76F424E72C2F</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">&nbsp;SHA1:&nbsp;ED3C5D4E35DAB4E8B8ED07582317A042734719E2</span><br/><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">&nbsp;RAD&nbsp;Studio&nbsp;10.4&nbsp;Green&nbsp;1.4.rar(965KB)</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">下载地址:https://pan.baidu.com/s/1_YYv2QiQRJRXolH1u80bsg</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">提取码:0tod</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">&nbsp;MD5:&nbsp;837FF4733D85FF4F7C77B803804AEC32</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">&nbsp;SHA1:&nbsp;5F81CFE8BB39A4F983A63C64050ACCAFE86193AF</span><br/><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">&nbsp;RAD&nbsp;Studio&nbsp;10.4&nbsp;Green&nbsp;Update&nbsp;History</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">&nbsp;-1.4</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">&nbsp;&nbsp;&nbsp;&nbsp;支持RAD&nbsp;Studio&nbsp;10.4.2</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">&nbsp;-1.3</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">&nbsp;&nbsp;&nbsp;&nbsp;支持RAD&nbsp;Studio&nbsp;10.4.1</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">&nbsp;-1.2</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">&nbsp;&nbsp;&nbsp;&nbsp;修正部分环境变量路径错误</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">-1.1</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">&nbsp;&nbsp;&nbsp;&nbsp;修正关联文件路径错误</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">&nbsp;&nbsp;&nbsp;&nbsp;修正帮助文件路径错误</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">&nbsp;&nbsp;&nbsp;&nbsp;修正卸载会连同10.3一起卸载的错误</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">-1.0</span><br/><span style="font-family: 宋体; font-size: 12px; background-color: rgb(255, 255, 255);">&nbsp;&nbsp;&nbsp;&nbsp;RAD&nbsp;Studio&nbsp;10.4&nbsp;绿化程序第一版</span></p><p><span style="color: rgb(0, 0, 0); font-family: 宋体; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">https://cloud.189.cn/t/RjmmEnZJfqqa&nbsp;(访问码:9g8i)&nbsp;天翼云盘</span></p><p>转自:<a></a>http://bbs.2ccc.com/topic.asp?topicid=605673<a></a></p>
2021/2/27 21:26:32(zgc) 抢沙发(1) 个人作品
阅读全文

Page.ClientScript.RegisterStartupScript不执行问题【转】

<p style="margin: 10px auto; color: rgb(0, 0, 102); font-family: &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 13px; white-space: normal; background-color: rgb(255, 255, 255);">c#后台使用Page.ClientScript.RegisterStartupScript在前台注册一段脚本提示,发现没有效果,寻寻觅觅,终于从度娘处找到了原因:</p><p style="margin: 10px auto; color: rgb(0, 0, 102); font-family: &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 13px; white-space: normal; background-color: rgb(255, 255, 255);">该页面多次使用到了Page.ClientScript.RegisterStartupScript(Type type, string key, string script)</p><p style="margin: 10px auto; color: rgb(0, 0, 102); font-family: &quot;PingFang SC&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 13px; white-space: normal; background-color: rgb(255, 255, 255);">问题就出在了参数key上,同一页面会按顺序执行Page.ClientScript.RegisterStartupScript(Type type, string key, string script),如果key都为空或为相同的值,则会只执行第一个脚本,所以后面的就失效了。</p><pre class="brush:c#;toolbar:false">Page.ClientScript.RegisterStartupScript(this.GetType(),&nbsp;&quot;alertsuccess&quot;,&nbsp;&quot;&lt;script&nbsp;language=&#39;javascript&#39;&gt;SendSuccess();&lt;/script&gt;&quot;);</pre><pre class="brush:c#;toolbar:false">&nbsp;&nbsp;///&nbsp;&lt;summary&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;///&nbsp;显示消息提示对话框 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;///&nbsp;&lt;/summary&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;///&nbsp;&lt;param&nbsp;name=&quot;page&quot;&gt;当前页面指针,一般为this&lt;/param&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;///&nbsp;&lt;param&nbsp;name=&quot;msg&quot;&gt;提示信息&lt;/param&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;static&nbsp;void&nbsp;Show(System.Web.UI.Page&nbsp;page,&nbsp;string&nbsp;msg) &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//由于可能频繁调用,增加随机因子&nbsp;2020-12-17 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Random&nbsp;rnd&nbsp;=&nbsp;new&nbsp;Random(1200); &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;page.ClientScript.RegisterStartupScript(page.GetType(),&nbsp;&quot;message&quot;&nbsp;+&nbsp;rnd.Next().ToString()&nbsp;+&nbsp;rnd.Next().ToString(),&nbsp;&quot;&lt;script&nbsp;language=&#39;javascript&#39;&nbsp;defer&gt;alert(&#39;&quot;&nbsp;+&nbsp;msg.ToString()&nbsp;+&nbsp;&quot;&#39;);&lt;/script&gt;&quot;); &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</pre><p>转自:<a href="https://www.cnblogs.com/wufeng123/p/4459542.html">https://www.cnblogs.com/wufeng123/p/4459542.html</a> </p><p><br/></p>
2020/12/17 17:31:03(zgc) 抢沙发(12) 个人作品
阅读全文
执行时间 0.0906 秒(s), 11 个查询