DataTable 赋值操作.doc

上传人:11****ws 文档编号:2990506 上传时间:2019-05-16 格式:DOC 页数:2 大小:12.45KB
下载 相关 举报
DataTable 赋值操作.doc_第1页
第1页 / 共2页
DataTable 赋值操作.doc_第2页
第2页 / 共2页
亲,该文档总共2页,全部预览完了,如果喜欢就下载吧!
资源描述

DataRow dr = MainTable.NewRow();dr“SupplierNo“ = this.txtSupplierNo.Text.Trim();dr“SupplierName“ = this.txtSupplierName.Text.Trim();dr“PartNo“ = this.txtPartNO.Text.Trim();dr“PartName“ = this.txtPartName.Text.Trim();dr“Pack“ = this.txtPack.Text.Trim();dr“PackQty“ = Convert.ToDecimal(this.txtQty.Text.Trim();dr“Shipper“ = this.txtshipper.Text.Trim();dr“FixLocation“ = this.txtfixLocation.Text.Trim();dr“Location“ = this.txtLocation.Text.Trim();dr“UserId“ = um.UserId;dr“UserName“ = um.UserName;dr“Note“ = this.txtNote.Text.Trim();MainTable.Rows.Add(dr);SetDataSource();

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 实用文档资料库 > 策划方案

Copyright © 2018-2021 Wenke99.com All rights reserved

工信部备案号浙ICP备20026746号-2  

公安局备案号:浙公网安备33038302330469号

本站为C2C交文档易平台,即用户上传的文档直接卖给下载用户,本站只是网络服务中间平台,所有原创文档下载所得归上传人所有,若您发现上传作品侵犯了您的权利,请立刻联系网站客服并提供证据,平台将在3个工作日内予以改正。