遗忘海岸

江湖程序员 -Feiph(LM战士)

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

08 2012 档案

EF做数据绑定时一些神奇问题
摘要:1.使用代码对绑定控件附值后需要调用BindingSource1.EndEdit(),以提交编辑到对应的数据源2.有总数、金额、单价三个输TextBox,结果发现每次切换表格选中行时,记录老变成修改状态,找了半天发现是因为在总数,金额的TextChanged中会自动计算单价并其设置txtUnitPrice.Text=xxx.xx,引起的解决代码 decimal amount = 0; decimal totalMoney = 0; if (decimal.TryParse(amountTextBox.Text, out amount) && decimal.TryParse(t 阅读全文

posted @ 2012-08-22 16:00 遗忘海岸 阅读(326) 评论(0) 推荐(0) 编辑

RDLC一些问题收集
摘要:xp下vs2010版的1.发布时需要独立安装或Copy对应的程序集到客户端电脑需要Copy的程序集,文件可以从c:\windows\assembly 通过dos命令复制过来。Microsoft.ReportViewer.Common.dll Microsoft.ReportViewer.ProcessingObjectModel.dll Microsoft.ReportViewer.WebForms.dll Microsoft.ReportViewer.WinForms.dll或者下载额外安装包:http://www.microsoft.com/en-us/download/details.a 阅读全文

posted @ 2012-08-16 09:23 遗忘海岸 阅读(2081) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示