使用asp.net&的Gridview应用程序c#包含用于修改行的复选框。 [英] Gridview application using asp.net & c# which contains checkboxes for modfyng the rows.

查看:69
本文介绍了使用asp.net&的Gridview应用程序c#包含用于修改行的复选框。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个'n'列,其中gridview中的2列是包含names的字段.1列是英文的。我希望其他列(最初为空白)在hindi中自动获取相同的英文名称。



我尝试使用复选框选项更新所选行。必须在btn_click事件上更新所选行。



我在asp页面中尝试了这个代码..在多行网格视图中添加复选框。

I have a ''n'' columns out of which 2 columns in gridview are fields containing names.1 column is in english . I want the other column(initially blank) to get the same name which is in english in hindi automatically.

After tht i am tryng for updating selected rows using checkbox option. The selected rows must b updated on a btn_click event.

I tried this code in asp page..for adding checkboxes in multiple lines of grid view.

<asp:TemplateField HeaderText="Select"; ItemStyle-HorizontalAlign=Center>;
  <itemtemplate>
      <asp:CheckBox ID="chkselect"; runat="server"> AutoPostBack="true">
  </itemtemplate>

推荐答案

请点击链接..这将有助于你



使用ASP.NET GridView中的事件实现累计总计和全部选择功能 [ ^ ]



谢谢
Please follow the link..it will help you

Implementing Cumulative total and Select All functionality with Events in ASP.NET GridView[^]

Thanks


这篇关于使用asp.net&amp;的Gridview应用程序c#包含用于修改行的复选框。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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