如何手动输入gridview中的数据? [英] how to enter data in gridview manually?

查看:224
本文介绍了如何手动输入gridview中的数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你可以帮我如何在gridview中手动输入数据吗?你准备网页了吗?

can u plz help me how to enter the data in gridview manually?while u prepare the webpage?

推荐答案

DataGridViewRow row = new DataGridViewRow();
row.CreateCells(dataGridView1); 
row.Cells[0].Value = "Cell1";
row.Cells[1].Value = "Cell2";
dataGridView1.Rows.Add(row);


检查这个

datagridview手动添加数据 [ ^ ]



如何手动将数据添加到datagridview [ ^ ]



手动填写gridview [ ^ ]



将数据手动输入数据网格视图 [ ^ ]
check this
datagridview add data manually[^]

how can I manually add data to a datagridview[^]

manually filling gridview[^]

enter data manually into a datagridview[^]


首先,gridview只用于显示。它应该有一些数据要显示。此外,你可以参考下面的链接。



Asp.net插入,编辑,更新,删除数据gridview [ ^ ]



问候......:笑:
First of all,gridview used to 'display' only.It should have some sort of data to be displayed.Further,you can refer to below link.

Asp.net insert, Edit, update, delete data in gridview[^]

Regards..:laugh:


这篇关于如何手动输入gridview中的数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆