排版
This commit is contained in:
@@ -120,7 +120,19 @@ public partial class admin_activity_item_reg : MyWeb.config
|
||||
Model.actItem actItem = new Model.actItem();//新增
|
||||
actItem.subject = subject.Text;
|
||||
actItem.print_init = print_init.Text;
|
||||
actItem.partno = PARTNO.Text;
|
||||
actItem.partno = PARTNO.Text;
|
||||
if (!isStrNull(pageSizeSel.Value))
|
||||
{
|
||||
actItem.pageSize =(pageSizeSel.Value);
|
||||
}
|
||||
if (!isStrNull(printSizeSel.Value))
|
||||
{
|
||||
actItem.printSize = (printSizeSel.Value);
|
||||
}
|
||||
if (!isStrNull(defaultStyleSel.Value))
|
||||
{
|
||||
actItem.defaultStyle = (defaultStyleSel.Value);
|
||||
}
|
||||
//if (!isStrNull(kind.SelectedValue)) { actItem.kind = Val(kind.SelectedValue); } else { actItem.kind = null; }
|
||||
if (!isStrNull(category.SelectedValue)) { actItem.category = Val(category.SelectedValue); } else { actItem.category = null; }
|
||||
if (!isStrNull(kind.Value)) { actItem.kind = Val(kind.Value); } else { actItem.kind = null; }
|
||||
@@ -168,6 +180,18 @@ public partial class admin_activity_item_reg : MyWeb.config
|
||||
actItem.subject = subject.Text;
|
||||
actItem.print_init = print_init.Text;
|
||||
actItem.partno = PARTNO.Text;
|
||||
if (!isStrNull(pageSizeSel.Value))
|
||||
{
|
||||
actItem.pageSize = (pageSizeSel.Value);
|
||||
}
|
||||
if (!isStrNull(printSizeSel.Value))
|
||||
{
|
||||
actItem.printSize = (printSizeSel.Value);
|
||||
}
|
||||
if (!isStrNull(defaultStyleSel.Value))
|
||||
{
|
||||
actItem.defaultStyle = (defaultStyleSel.Value);
|
||||
}
|
||||
//if (!isStrNull(kind.SelectedValue)) { actItem.kind = Val(kind.SelectedValue); } else { actItem.kind = null; }
|
||||
if (!isStrNull(category.SelectedValue)) { actItem.category = Val(category.SelectedValue); } else { actItem.category = null; }
|
||||
if (!isStrNull(kind.Value)) { actItem.kind = Val(kind.Value); } else { actItem.kind = null; }
|
||||
|
||||
Reference in New Issue
Block a user