医药CRM系统开发

自已做医药CRM系统有四年了,终于可以算个产品了,努力市场化,今年重种将医药营销的理念加入CRM

导航

03 2007 档案

摘要:http://and8.net/article.asp?id=198http://www.blogjava.net/wujun/archive/2007/01/14/aspnet_upload_file.html 阅读全文

posted @ 2007-03-26 14:31 hhq80 阅读(156) 评论(0) 推荐(0)

摘要:写了一个Web服务上传文件的例子,大家有空随便看看 刚才写了个例子,试试用WebService上传文件,还可以,现在把例子贴出来给大家看看: 服务器代码: 服务器代码简单的实现了一个UploadFile方法,其中接收的是byte[]数组,我没有试过其他的类型,估计FileStream过不来,还是简单类型来的方便,第二个参数是要保存的相对路径,方法执行完成后返回在服务器上的物理文件路径.写的简单了点... 阅读全文

posted @ 2007-03-26 14:15 hhq80 阅读(388) 评论(0) 推荐(0)

摘要:客户端:服务端 private void Page_Load(object sender, System.EventArgs e) { // 在此处放置用户代码以初始化页面 string Logined=Convert.ToString(SqlHelper.ExecuteScalar(ConfigurationSettings.AppSettings["connString"],"Ge... 阅读全文

posted @ 2007-03-25 19:56 hhq80 阅读(164) 评论(0) 推荐(0)

摘要:update zy_yp1_yfzk set cfbj='T' where left(htbh,1)='6' and cfbj='F'--一定要换程序CREATE VIEW dbo.zy_view_groupjsdjhASSELECT jsdjh, SUM(jsdj * kl * bzsl - bzdj * kl * bzsl) AS mlFROM dbo.ZY_YP1_SFMXWHERE (cf... 阅读全文

posted @ 2007-03-21 10:37 hhq80 阅读(278) 评论(0) 推荐(0)

摘要:if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[CRM_SchedulePostil]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)drop table [dbo].[CRM_SchedulePostil]GO if not exists (select * f... 阅读全文

posted @ 2007-03-20 17:28 hhq80 阅读(172) 评论(0) 推荐(0)

摘要:select t.ypm,t.gg,t.cd,t.zxdw,t.nbbm,m.dwmc,m.bzdj,t.sysl+t.bysl-t.bfsl as kcs,t.kcxx from (select (select ypm from zy_sys2_ypzdk b where b.nbbm=a.nbbm) as ypm,(select gg from zy_sys2_ypzdk b where b.... 阅读全文

posted @ 2007-03-19 16:03 hhq80 阅读(276) 评论(0) 推荐(0)

摘要:http://www.microsoft.com/china/MSDN/library/WebServices/WebServices/WebServices.mspx?mfr=true您曾经在多台计算机上工作过吗?您希望能够将剪贴板内容从一台计算机复制到其他计算机吗?我一直都很希望能够有一种快速而简便的方法,通过简单的复制和粘贴将文本代码段、屏幕快照、甚至文件移动到其他计算机上。如果您对这个话题... 阅读全文

posted @ 2007-03-19 12:17 hhq80 阅读(214) 评论(0) 推荐(0)

摘要:C:\Inetpub\wwwroot\jxc\BLL>csc.exe /target:library /reference:kcCollection.dll;SQLHelper.dll kcItem.cs C:\Inetpub\wwwroot\jxc\BLL>csc /target:library SQLHelper.csC:\WINDOWS\Microsoft.NET\Framework\v1... 阅读全文

posted @ 2007-03-16 16:07 hhq80 阅读(189) 评论(0) 推荐(0)

摘要:使用 Web Services Enhancements 2.0 进行编程 Matt PowellMSDN Web Services 2003年7月 适用于: Web Services Enhancements 2.0 for Microsoft® .NET Microsoft® .NET Framework 1.0 或更高版本 Microsoft® Windows Server 20... 阅读全文

posted @ 2007-03-16 15:02 hhq80 阅读(288) 评论(0) 推荐(0)

摘要:Vs2005里面的,查询12000条记录,设置RemotingFormat = SerializationFormat.Binary;再序列化,通过WebService传输,客户端接收,再反序列化,确实效果大大的优于直接传送DataSet,不仅网络传输中如此,即使本机,性能改善也非常明显. 下面分别是WebService里面的方法和客户端反序列化取DataSet的方法.1. 服务器上面取数据,填充... 阅读全文

posted @ 2007-03-15 13:59 hhq80 阅读(2307) 评论(2) 推荐(0)

摘要:一般情况下,我们喜欢使用Session储存我们的变量。Asp.Net提供了下面一些方法储存Session的值: InProc State Server SQL Server “InProc”表示我们使用传统ASP一样的方法储存Session的值,而且“State Server”则表示使用另外一台主机来储存Session的值。当然我们也能使用SQL Server储存值,我们这篇文章就专门用于讲解这... 阅读全文

posted @ 2007-03-14 14:49 hhq80 阅读(819) 评论(1) 推荐(0)

摘要:http://www.microsoft.com/taiwan/msdn/columns/adonet/AdoNet_20041231.htmADO.NET 1.x Dataset 序列化問題探討 http://support.microsoft.com/?kbid=829740提高 DataSet 序列化和远程处理性能 利用SharpZipLib进行压缩和解压缩 [原] 因为工作需要所以要用C#... 阅读全文

posted @ 2007-03-13 09:23 hhq80 阅读(783) 评论(0) 推荐(0)

摘要:if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[CRM_LimitTemplet]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)drop table [dbo].[CRM_LimitTemplet]GO if not exists (select * from ... 阅读全文

posted @ 2007-03-12 20:09 hhq80 阅读(267) 评论(0) 推荐(0)

摘要:(旧称:谷氨酸丙酮酸转移酶,GPT) 正常参考值:5~45U。 临床意义: 旧称“谷氨酸丙酮酸转移酶” (GPT),简称“谷丙转氨酶”。人体内肝、心、肾、肌肉等器官和组织内都含有ALT,当这些器官、组织或细胞有炎症或受损时,ALT就大量地释放到血液中,使之明显升高。ALT活性以肝细胞最高,是肝细胞受损时最敏感指标之一,重症肝炎时可高达2000U~5000U。增高常见于急慢性... 阅读全文

posted @ 2007-03-12 18:57 hhq80 阅读(616) 评论(0) 推荐(0)

摘要:if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[CRM_LoginUser]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)drop table [dbo].[CRM_LoginUser]GO if not exists (select * from dbo.sy... 阅读全文

posted @ 2007-03-11 20:18 hhq80 阅读(257) 评论(0) 推荐(0)

摘要:日程管理主表if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[CRM_Schedule]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)drop table [dbo].[CRM_Schedule]GO if not exists (select * from db... 阅读全文

posted @ 2007-03-07 16:59 hhq80 阅读(438) 评论(0) 推荐(0)

摘要:1。打开窗口: Code:var handle = window.showModalDialog(url, objects, feathers); 其中:objects可以为参数(包括数组),也可以是对象。通常的用法 objects = {window} ,把父窗体的对象共享给子窗体。 2。关闭子窗口: Code:window.close(); 3。从子窗体传参数给父窗体: Code:window... 阅读全文

posted @ 2007-03-04 19:50 hhq80 阅读(183) 评论(0) 推荐(0)

摘要:在代理商销售时应增加一字段来记录已销售多少在sfmx中增加一字段,用于记录该批次已销售多少ALTER TABLE dbo.ZY_YP1_SFMX ADD CONSTRAINT DF_ZY_YP1_SFMX_yysl DEFAULT 0 FOR yyslGO ALTER TABLE dbo.zy_yp1_proxysalesdetail ADD lsh0 char(18) NULL--存放原始进货批... 阅读全文

posted @ 2007-03-04 15:27 hhq80 阅读(216) 评论(1) 推荐(0)

摘要:当在主窗口中: private void DataGrid1_ItemDataBound(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e) { if(e.Item.ItemType == ListItemType.Footer) { //id:DataGrid1__ctl8 name:D... 阅读全文

posted @ 2007-03-04 08:28 hhq80 阅读(610) 评论(0) 推荐(0)

摘要:We all use JS functionality handlers that will trigger for different attached DataGrid events. More frequent JS handlers are:Mouse Over, Mouse Out, On Click, On Double Click, Validate (for different g... 阅读全文

posted @ 2007-03-03 13:30 hhq80 阅读(287) 评论(0) 推荐(0)

摘要:Double click could be simulated by actaully investigating on how SELECT command works on DataGrid.The select command creates a tag which runs the __doPostBack Java function at the client side script.... 阅读全文

posted @ 2007-03-03 13:29 hhq80 阅读(238) 评论(0) 推荐(0)

摘要:输入框为服务器端运行 Label Label 代码 private void Button3_Click(object sender, System.EventArgs e) { Label1.Text = "选择的行号:" + Request.Form["rad"].ToString(); rd.Value = Request.For... 阅读全文

posted @ 2007-03-03 10:07 hhq80 阅读(452) 评论(0) 推荐(0)

摘要:' Width="95%" /> 阅读全文

posted @ 2007-03-03 10:04 hhq80 阅读(224) 评论(0) 推荐(0)

摘要:最简格式:这是一个偷巧的方法,但不通用。前提是这个页面只有一个datagrid,且只有datagrid中有checkbox;这个就比较方便。主要思路就是搜索出整个页面的checkbox,将它们全部选中或反选。 // 全选 function allCheck() { for (var i=0;i<Form1.elements.length;i++) { var e=Form1.elements[... 阅读全文

posted @ 2007-03-03 10:00 hhq80 阅读(196) 评论(0) 推荐(0)

摘要:In Part 1 we looked at how to add a data-dependent DropDownList to the footer of a DataGrid. In this part we'll see how to add two DropDownLists, with the second DropDownList dependent upon the first.... 阅读全文

posted @ 2007-03-02 21:21 hhq80 阅读(262) 评论(0) 推荐(0)

摘要:IntroductionIn a previous article by John Sanborn titled Adding a New Record to the DataGrid, John examined how to use the DataGrid footer as a means for inserting a new record into the DataGrid. For ... 阅读全文

posted @ 2007-03-02 21:19 hhq80 阅读(228) 评论(0) 推荐(0)

摘要:' SelectedIndex='' /> ' /> ' Columns="80" /> 阅读全文

posted @ 2007-03-02 21:17 hhq80 阅读(225) 评论(0) 推荐(0)

摘要:Private Sub DataGrid1_ItemCreated(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DataGridItemEventArgs) Handles DataGrid1.ItemCreated If (e.Item.ItemType = Lis... 阅读全文

posted @ 2007-03-02 21:12 hhq80 阅读(161) 评论(0) 推荐(0)

摘要:if(e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem) { //添加自定义属性,当鼠标移过来时设置该行的背景色为"6699ff",并保存原背景色 e.Item.Attributes.Add("onmouseover","currentcolor=t... 阅读全文

posted @ 2007-03-02 17:33 hhq80 阅读(196) 评论(0) 推荐(0)

摘要:--清除在已在销售中消化,使用校验后又重新插入的数据 drop table pcje2007select lsh,pcrq,xmbm,ph,sqys,sqyje,bqss,bqsje,bqfs,bqfje,jcs,pcs,sqyje+bqsje-bqfje+(dslsj*(pcs-jcs)) as pcje,round(PCS*DSLSJ,2) AS PCJE2 into pcje2007 fr... 阅读全文

posted @ 2007-03-02 09:44 hhq80 阅读(270) 评论(0) 推荐(0)