How Do I Modify the Data of a Row After the Repeater Binds Data? I just learned! The master is here

Updated on technology 2024-03-15
14 answers
  1. Anonymous users2024-02-06

    For those who are just learning to jump to another page, modification is a relatively simple solution, first of all'><%#eval("pub_id")%>

    There is a link to your row of data, so when you click on it to go to another page, you can re-query this row of data according to the passed id in the text box, so that you can modify it, and you can save it by executing the following update method after the change.

  2. Anonymous users2024-02-05

    Modify the situation that other columns remain in normal mode in edit mode, which is usually label

    After clicking Modify, only the page you want to modify becomes a textbox that can be modified.

  3. Anonymous users2024-02-04

    1.It's time for you to take <%%.

    2.You can create a StringBuilder a=new StringBuilder();

    The data you want to bind")

  4. Anonymous users2024-02-03

    in the last column of each row of repeater add one); "Delete can be deleted based on the ID.

  5. Anonymous users2024-02-02

    You can run the page and see what is the href attribute of the source ** kind a tag? If it's not right, it's definitely clicked, and there is no reaction!

  6. Anonymous users2024-02-01

    Shouldn't it be single quotes?

  7. Anonymous users2024-01-31

    Give the datasource first

    And then there is a <% eval(,"attributes");%

    That's how it should be. It's been a long time since I've used the controls.

  8. Anonymous users2024-01-30

    The repeater control itself has no associated properties, which can be achieved by using CSS to control the style on the page, if you have to control it yourself in the background, then you can use DataList.

  9. Anonymous users2024-01-29

    This kind of thing is what stylers do, and if you want to do it, use the style to control it yourself.

  10. Anonymous users2024-01-28

    For example, if it is bound in the lable space, it has a property called tooltip, which can be bound to this, such as: tooltip='<%#eval("name")%>'

    Or use title to bind, e.g. title='<%#eval("name")%>'

  11. Anonymous users2024-01-27

    tooltip='<%#setformat(eval("name"))%'

    Write a method that returns string in the post **.

    For example, public string setformat(string name).

  12. Anonymous users2024-01-26

    You can use span to achieve the effect of putting the mouse on the display, and the table attribute needs to be set to produce an ellipsis when the display is not open, please refer to it.

  13. Anonymous users2024-01-25

    You can write a method in the background to make a judgment now, and then call the method in the foreground.

  14. Anonymous users2024-01-24

    Use it in the foreground or in the background, use hidden in the foreground, put the value used in hidden, and get the hidden value in the foreground; In the background, write a method at the field bound to the repeater, such as (<% methodname(eval("argum"In. CS writes this method to do what you want to do, just do it

Related questions
8 answers2024-03-15

#eval("username") % Single Item Binding.

#bind("title") % Two-way binding. >>>More

11 answers2024-03-15

Appealing to bind a new mobile phone number is divided into the following steps: >>>More

6 answers2024-03-15

Please specify what the number is? The bank is still QQ. Or a mailbox number. >>>More

6 answers2024-03-15

The specific operation of binding the bus card to the iPhone: enter the wallet in the standby state - add the card, pay the card opening fee and recharge according to the system prompts to open it directly. >>>More

7 answers2024-03-15

Believe me, this bracelet has a connection situation, and one of the following two will be wasted. 1. The mobile phone app flashes back and cannot be opened; Second-hand rings can be used, but they cannot be connected to mobile phones. It should be an app password connection, and the health bracelet has not reset the settings. >>>More