摘要:
如DataGridView中的按Enter,默认的会跳到下一行。我想在DataGridView中按Enter能把某个单元格的值传到另一个窗体的TextBox。1.把我的 DataGridView拖放在form中提中。2.新建一个类,代码如下:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows.Forms;namespace Hairdressing.SellDetailFile{ public sealed class MyDataGridV 阅读全文
posted @ 2011-07-15 17:59
wowait2
阅读(2934)
评论(0)
推荐(1)
摘要:
Demo的界面从界面可以看到,在设计时需要一个DataGridView、BindingNavigate、BindingSource控件,分别命名为dgvInfo、bdnInfo、bdsInfo。在bdnInfo控件中添加几个用于选择页面的lable和botton,如上图所示。设计时:<!--<br/ /><br/ />Code highlighting produced by Actipro CodeHighlighter (freeware)<br/ />http://www.CodeHighlighter.com/<br/ />< 阅读全文
posted @ 2011-07-15 16:21
wowait2
阅读(769)
评论(0)
推荐(0)

浙公网安备 33010602011771号