Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. what mean this write

what mean this write

Scheduled Pinned Locked Moved ASP.NET
javascriptsysadmindata-structurestoolsannouncement
5 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jason_mf
    wrote on last edited by
    #1

    <asp:LinkButton ID="lnkUpdate" runat="server" OnClientClick='<%#Eval("Sys_TV_Id","return update({0})") %>' OnClick="lnkUpdate_Click">修改</asp:LinkButton> this linkbutton in repeater. I do not konw " Eval("Sys_TV_Id","return update({0})") ". <script type="text/javascript"> function update(ID){ var data=new Array(); if(ID==null ||ID==""){ temps=eval('document.form1.id'); var j=0; for(var i=0;i<temps.length;i++) { if(temps[i].checked==true){ data[j]=temps[i].value; j++; } } } else{ data[0]=ID; } if(data==""){ alert('请选择操作对象!');return false; } else{ $("updateId").value=data;return true; } } </script>

    P B M C 4 Replies Last reply
    0
    • J jason_mf

      <asp:LinkButton ID="lnkUpdate" runat="server" OnClientClick='<%#Eval("Sys_TV_Id","return update({0})") %>' OnClick="lnkUpdate_Click">修改</asp:LinkButton> this linkbutton in repeater. I do not konw " Eval("Sys_TV_Id","return update({0})") ". <script type="text/javascript"> function update(ID){ var data=new Array(); if(ID==null ||ID==""){ temps=eval('document.form1.id'); var j=0; for(var i=0;i<temps.length;i++) { if(temps[i].checked==true){ data[j]=temps[i].value; j++; } } } else{ data[0]=ID; } if(data==""){ alert('请选择操作对象!');return false; } else{ $("updateId").value=data;return true; } } </script>

      P Offline
      P Offline
      pompeyboy2
      wrote on last edited by
      #2

      know means this what dont I. Sorry!!

      1 Reply Last reply
      0
      • J jason_mf

        <asp:LinkButton ID="lnkUpdate" runat="server" OnClientClick='<%#Eval("Sys_TV_Id","return update({0})") %>' OnClick="lnkUpdate_Click">修改</asp:LinkButton> this linkbutton in repeater. I do not konw " Eval("Sys_TV_Id","return update({0})") ". <script type="text/javascript"> function update(ID){ var data=new Array(); if(ID==null ||ID==""){ temps=eval('document.form1.id'); var j=0; for(var i=0;i<temps.length;i++) { if(temps[i].checked==true){ data[j]=temps[i].value; j++; } } } else{ data[0]=ID; } if(data==""){ alert('请选择操作对象!');return false; } else{ $("updateId").value=data;return true; } } </script>

        B Offline
        B Offline
        Baran M
        wrote on last edited by
        #3

        Questions is not clear. Could you please elaborate

        Education is not a way to escape poverty — it is a way of fighting it.

        1 Reply Last reply
        0
        • J jason_mf

          <asp:LinkButton ID="lnkUpdate" runat="server" OnClientClick='<%#Eval("Sys_TV_Id","return update({0})") %>' OnClick="lnkUpdate_Click">修改</asp:LinkButton> this linkbutton in repeater. I do not konw " Eval("Sys_TV_Id","return update({0})") ". <script type="text/javascript"> function update(ID){ var data=new Array(); if(ID==null ||ID==""){ temps=eval('document.form1.id'); var j=0; for(var i=0;i<temps.length;i++) { if(temps[i].checked==true){ data[j]=temps[i].value; j++; } } } else{ data[0]=ID; } if(data==""){ alert('请选择操作对象!');return false; } else{ $("updateId").value=data;return true; } } </script>

          M Offline
          M Offline
          munklefish
          wrote on last edited by
          #4

          the force strong in you is

          1 Reply Last reply
          0
          • J jason_mf

            <asp:LinkButton ID="lnkUpdate" runat="server" OnClientClick='<%#Eval("Sys_TV_Id","return update({0})") %>' OnClick="lnkUpdate_Click">修改</asp:LinkButton> this linkbutton in repeater. I do not konw " Eval("Sys_TV_Id","return update({0})") ". <script type="text/javascript"> function update(ID){ var data=new Array(); if(ID==null ||ID==""){ temps=eval('document.form1.id'); var j=0; for(var i=0;i<temps.length;i++) { if(temps[i].checked==true){ data[j]=temps[i].value; j++; } } } else{ data[0]=ID; } if(data==""){ alert('请选择操作对象!');return false; } else{ $("updateId").value=data;return true; } } </script>

            C Offline
            C Offline
            Christian Graus
            wrote on last edited by
            #5

            For future reference, if you google the Eval method, the MSDN docs give you the overloads. This evaluates Sys_TV_Id, and puts it in place of {0} in the string provided. In other words, it calls string.Format.

            Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups