【文件属性】:
文件名称:c#控件使用方法
文件大小:5.6MB
文件格式:DOC
更新时间:2016-12-29 06:16:22
导航控件 图片导入
实现数据绑定 图片导入数据库
if dataGridView1 SelectedRows Count > 0 && dataGridView1 SelectedRows null
{
if dataGridView1 CurrentRow Index 0 || dataGridView1 CurrentRow IsNewRow
{
textBox1 Text dataGridView1 Rows[dataGridView1 CurrentRow Index] Cells[0] Value ToString ;
pa textBox1 Text;
textBox2 Text dataGridView1 Rows[dataGridView1 CurrentRow Index] Cells[1] Value ToString ;
textBox3 Text dataGridView1 Rows[dataGridView1 CurrentRow Index] Cells[6] Value ToString ;
textBox4 Text dataGridView1 Rows[dataGridView1 CurrentRow Index] Cells[4] Value ToString ;
dateTimePicker1 Text dataGridView1 Rows[dataGridView1 CurrentRow Index] Cells[2] Value ToString ;
comboBox1 Text dataGridView1 Rows[dataGridView1 CurrentRow Index] Cells[3] Value ToString ;
string image dataGridView1 Rows[dataGridView1 CurrentRow Index] Cells[5] Value ToString ;
pictureBox1 Image Image FromFile image ;
}
}">实现数据绑定 图片导入数据库
if dataGridView1 SelectedRows Count > 0 && dataGridView1 SelectedRows null
{
if dataGridView1 CurrentRow Index 0 || dataGridView1 CurrentRow IsNewRow
{
te [更多]