如何从Windows应用程序的网格视图中的动态文本框中获取值? [英] How to get values from dynamic textboxes in grid view in windows application?

查看:125
本文介绍了如何从Windows应用程序的网格视图中的动态文本框中获取值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的Windows应用程序页面中,我添加了一个网格视图。我需要两行文本框(在该文本框中带有符号$ __.__),以便在页面加载后显示。如果我在第一个文本框中输入一些数值,按Enter键将在最后一行之前添加另一个带有文本框的动态行(在该文本框中带有符号$ __.__)。如果我在第二行文本框中输入一些数值,则表示,第一行和第二行文本框的值得到添加后,该值将显示在最后一行textbox中。在最后一行之前连续添加行,并添加值,结果将显示在最后一个文本框中。



如何在Windows应用程序中使用gridview动态执行此操作?请提供您有价值的想法或要点...

In my windows application page, i have added one grid view .I need two rows with textboxes (with symbol $ __.__ in that textbox) to display after the page loading.If i enter some numeric value in 1st textbox and press enter it will add another dynamic row with textbox (with symbol $ __.__ in that textbox) before the last row .suppose if i enter some numeric value in that 2nd row textbox means, the value of first row and second row textboxes get added and the value will be display in last row textbox.continuosly adding rows before the last row and the values get added and the result will be display in last textbox.

How to do this dynamically using gridview in windows application? please give your valuable ideas or points...

推荐答案

__.__在该文本框中)在页面加载后显示。如果我在第一个文本框中输入一些数值然后按Enter键将在最后一行之前添加另一个带有文本框的动态行(在该文本框中带符号
__.__ in that textbox) to display after the page loading.If i enter some numeric value in 1st textbox and press enter it will add another dynamic row with textbox (with symbol


__.__)。如果我在第二行中输入一些数值,则表示文本框意味着,第一行和第二行文本框的值被添加,值将显示在最后一行textbox中。在最后一行之前连续添加行,并添加值,结果将显示在最后一个文本框中。



如何在Windows应用程序中使用gridview动态执行此操作?请提出您宝贵的意见或要点......
__.__ in that textbox) before the last row .suppose if i enter some numeric value in that 2nd row textbox means, the value of first row and second row textboxes get added and the value will be display in last row textbox.continuosly adding rows before the last row and the values get added and the result will be display in last textbox.

How to do this dynamically using gridview in windows application? please give your valuable ideas or points...


这篇关于如何从Windows应用程序的网格视图中的动态文本框中获取值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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