如何在gridview中添加动态文本框和删除按钮 [英] How to add dynamic text boxes and delete buttons in gridview

查看:73
本文介绍了如何在gridview中添加动态文本框和删除按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!

我参加了系统测试中hyderabad位置的一次采访。当用户在外部文本框中输入值(整数)时,他们询问如何生成文本框并删除网格视图中的按钮。任何人都可以解决这个问题吗?

Hi!
I was attended one of the interview in hyderabad location in system test. They were asking how to generate textboxes and delete buttons in grid view, when user enter the value(integer) in outside textbox. Can any one provide solution to this problem?

推荐答案

我强烈建议使用搜索框 [ ^ ]位于本网站的右上角。在那里你可以找到你所要求的东西。
I'd strongly recommend to use Search box[^] on the right-top corner of this site. There you'll find what you're asking for.


CodeProject的部分用于帮助那些在编写某些东西时遇到问题的人。除非你尝试过一些东西,否则我们无能为力。

为什么?

这是因为有很多方法可以解决问题。适用性取决于个人的要求和其他一些因素。



建议:尝试使用适当的关键字在Google / Bing中搜索您的要求。如果你遇到任何问题,可以回答一下这个具体问题,你会遇到什么问题。



还需要帮助吗?

好​​的。您可以将问题分解为以下部分,然后通过互联网自行或稍微帮助进行开发。

1.如何动态生成gridview中的行

2.如何在gridview中动态添加文本框

可能是这样的。



遗憾的是我们无法提供完整的解决方案,因为CodeProject的这一部分不是意味着它。



希望,它有帮助:)
The section of CodeProject is for helping out people who face problem while they are coding for something. Unless you had tried something, we can not help.
Why?
It's because there are numerous approaches to solve a problem. The suitability depends on the individual's requirement and few other factors.

Suggestion: Try searching your requirement in Google/Bing with proper keywords. If you face any issue comeback here with the specific question about what problem are you faccing.

Still need help?
OK. You can break the problem to following pieces and proceed to develop by your own or little help from internet.
1. How to generate rows in gridview dynamically
2. How to add textbox in gridview dynamically
Something like this probably.

Unfortunately we can not provide a complete solution here as this section of CodeProject is not meant for it.

Hope, it helps :)


这篇关于如何在gridview中添加动态文本框和删除按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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