public static data.baseDS.investorStockRow UpdateData(data.baseDS.investorStockRow row) { data.baseDS.investorStockDataTable tbl = new data.baseDS.investorStockDataTable(); tbl.ImportRow(row); myClient.UpdateInvestorStock(ref tbl); row.AcceptChanges(); return(tbl[0]); }
public static void InitData(data.baseDS.investorStockRow row) { row.stockCode = ""; row.portfolio = ""; row.buyDate = DateTime.Today; row.qty = 0; row.buyAmt = 0; }