zoukankan      html  css  js  c++  java
  • 记录自己不会的地方---webform中基于表格的基础上获取其中文本框的值

     1  <td>
     2                            
     3                             <asp:TextBox  ID="txtOr" runat="server" Text='<%#Eval("au_TorgId") %>' />
     4                            <asp:Button ID="Button1" runat="server" Text="保存" CommandArgument='<%#Eval("au_ID") %>' CommandName="btnUpdate" /></td>
     5 
     6 
     7 
     8  string Id = e.CommandArgument.ToString();
     9              TextBox txt=null;
    10             if (e.CommandName=="btnUpdate")
    11             {
    12                 txt = e.Item.FindControl("txtOr") as TextBox;
    13             }
  • 相关阅读:
    UVA
    UVA
    UVA
    UVA
    NLP介绍
    新建Springboot项目
    添加ssh密钥
    git 错误合集
    Git入门操作
    Hadoop MapReduce
  • 原文地址:https://www.cnblogs.com/feisuccess/p/8459795.html
Copyright © 2011-2022 走看看