从gridview在文本框中显示值 [英] Display the values in textbox from gridview

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

问题描述

<asp:Content ID="Content1" ContentPlaceHolderID="ABCD" runat="Server">

<asp:GridView ID="grd_subparts" runat="server" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None">
<Columns>

<asp:TemplateField HeaderText="Sub Part Name" SortExpression="CRM_SUB_PART_NAME">
<ItemTemplate>
<asp:TextBox ID="txtsubpartname" runat="server" BorderWidth="1px" Text='<%#Bind("CRM_SUB_PART_NAME") %>'> 
</asp:TextBox>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>

<asp:Button ID="btn_save" runat="server" Text="Save" />



这是我的页面附有母版页.....
我需要显示在gridview中找到的文本框的值...使用javascript ... pls在此帮助我


[edit]仅主题:尝试以简单的概述来描述您的问题,因此我们可以一目了然地告诉我们是否可以提供帮助. 使用javascript帮助我"没有帮助-OriginalGriff [/edit]



this is my page attached with masterpage.....
i need to display the values of textbox that found in the gridview...using javascript...pls help me in this


[edit]Subject only: Try to describe your problem in a simple overview, so we can tell at a glance if we can help. "help me in javascripts" is not helpful - OriginalGriff[/edit]

推荐答案

Try:
如何使用JavaScript代码在Gridview中访问文本框值
使用Javascript在网格视图内查找文本框和值
Try:
How to access textbox values inside Gridview using Javascript code
Find Textbox and value Inside the Grid view using Javascript


这篇关于从gridview在文本框中显示值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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