数据从GridView进入文本框 [英] Data into textbox from gridview

查看:48
本文介绍了数据从GridView进入文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从datagriedview中获取文本框中的数据???:confused:

how to get data in textbox from datagriedview???:confused:

推荐答案

是的,我从来不需要使用控制,但即使是半定的Google搜索也会显示答案.

Ya know, I''ve never had the need to use a DataGridView control, but even a half-assed google search will reveal the answer.

int i = 0;
int j = 0;
string cellData = myGridDataView.Rows[i].Cells[j].Value.ToString());


老实说,我不介意在这里回答问题,但通常情况下,这样的问题可以通过最少的努力得到回答,而在Google上只需15秒钟.


I honestly don''t mind answering questions here, but more often than not, a question like this can be answered with a minimal amount of effort, and about 15 seconds on google.


这篇关于数据从GridView进入文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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