将数据插入数据网格单元 [英] insert data into data grid cell

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

问题描述

大家好,

我是wpf的新手,我想创建一个datagrid,可以将文本框中的数据插入到特定的单元格中.
前任.如果我有数据1,2,3,4我想插入:
1至单元格(1,1)
2至单元格(1,2)
等...

我知道我必须为文本创建一个分隔符(这很容易..)

hi all,

i''m new in wpf and i want to create a datagrid that i can insert data from text box to a specific cell.
ex. if i have the data 1,2,3,4 i want to insert :
1 to cell (1,1)
2 to cell (1,2)
etc...

i know that i will have to create a splitter to the text (this is easy..)

can someone help me please????

推荐答案

这应该可以帮助您入门.

WPF DataGrid实用示例 [
This should help you to get started.

WPF DataGrid Practical Examples[^]

--
AJ


这篇关于将数据插入数据网格单元的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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