11 2012 档案
摘要:View Code 1 public partial class WebForm1 : System.Web.UI.Page 2 { 3 protected void Page_Load(object sender, EventArgs e) 4 { 5 if (!IsPostBack) 6 { 7 BindDrpClass(); 8 } 9 }10 private void BindDrpClass()11 ...
阅读全文
摘要://保存时候判断不同类别的百分比必须100 private string CheckOrderData(DataTable dtTable) { string strMessage = ""; double sumPercentage = 0; string strTypeValue = ""; //检查Content的Percentage是否都为100 for (int i = 0; i < dtTable.Rows.Count; i++) ...
阅读全文
摘要:<html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title> <script type="text/javascript" src="js/jquery-1.4.1.js"></script> <script type="text/javascript"> // 创建一个基于web浏览器的XMLHttpReques
阅读全文
摘要:首先看图片:相同的单号:A0001 不同的Flag组 1和2---下面是游标(其实游标就和我们写代码差不多,它主要像我们循环dataTable,在进行判断差不多)-- select * from FX_Get_O_OrderContent_Flag_OrderData('A0001')ALTER function [dbo].[FX_Get_O_OrderContent_Flag_OrderData]( @OrderNO nvarchar(20))returns @OrderContentOrdrNODatat TABLE( [OrderNo] nvarchar(20), [C
阅读全文
摘要:只需要加<head runat="server"> <title>首页</title> <link rel="shortcut icon" href="4.ico" type="image/x-icon"> </head>即可
阅读全文