Pass the value from one datalist to the label of another page

Updated on technology 2024-05-14
13 answers
  1. Anonymous users2024-02-10

    Synthesized on the first floor.

    First of all, I want to know how you click [Reservation] and jump to the second page.

    1.If you jump directly through the postbackurl property above the linkbutton, it will look like this: postbackurl="?id=<%#eval('roomid')" 。

    2.If it's in the itemCommand event, then it's easier to add this attribute to your linkbutton: commandargument='<%#eval("roomid")%>', and then in the itemcommand event you can get this value via .

    After getting this ID in page2, go to the database query through this ID, and fill in the value to your corresponding label.

  2. Anonymous users2024-02-09

    I don't see any line shouting in this one, first of all, your reader is not closed, and the file field has it, and you are stupid when you debug the string id

    Whether there is a value or not, whether the data can be fetched or not, these problems should be solved by debugging.

  3. Anonymous users2024-02-08

    Try not to use it this way, if you use the datalist object, when the content is displayed, it will be <% directly

    That's it, if you want to get the data at that time and write it here in order to imitate the refresh, then you can call ajax, and you can also use ajax to call the background method!

  4. Anonymous users2024-02-07

    Give the label an ID

    Use FindControls to find the id of the selected row, and then you can pass the value.

  5. Anonymous users2024-02-06

    Absolutely.

    label namelabel = "label1") as label;There is something wrong with this sentence of yours. Are you sure this is a conversion to the lable type?

    You can try label namelabel = label) ("namelabel ")

    Or. string namelabel="label1").tostring();

  6. Anonymous users2024-02-05

    The first page'> a hyperlink.

    The second page int uid ="uid"]) use"uid"You can transfer the value.

  7. Anonymous users2024-02-04

    When your link is bound.

    <% News Headlines %>

    Then according to the detail.

    sid"] to get the content of the news. Bindings will do the trick.

    I suggest you go to the next simple source code, this one is relatively simple.

  8. Anonymous users2024-02-03

    with session

    format session[.]"info"]="21 hungry 1213";

    var str = session["info"];

    In addition, in the page load method, select it in the database according to this.

  9. Anonymous users2024-02-02

    When you click on the dispatch, a dialog box will pop up, and you need to pass the URL, so don't you just add two parameters to the end?

    Such as ?a=name&b=tel

    name tel can get the value of the control on the first page.

  10. Anonymous users2024-02-01

    The parent page is on the white side, and the blank) funtionsettext(val) child page is in.

    durepeater template, give controls.

    zhi writes on the js event, in the place of dao

    You can use eval to bind the data rights required by your version.

  11. Anonymous users2024-01-31

    eval("artid"This sentence ** is the ID that has been obtained, and the content of the file is queried through the ID number of the file.

    select [file content] from the article table where id=eval("artid")

    It is then displayed on the page.

    Open a window.

    That's basically it, give it a try.

  12. Anonymous users2024-01-30

    The article details page receives the transfer value.

    int id="id"]);

    select * from table where id='+id+';

    Put the found content into the DS,;;

  13. Anonymous users2024-01-29

    Add another column to the datatable in the background, and then bind it to the interface.

Related questions
13 answers2024-05-14

on error resume next

connstr="dbq="+"")+";defaultdir=;driver=;" >>>More

4 answers2024-05-14

Your form2 constructor should be overloaded once: it should pass the textbox as an argument and it becomes: >>>More

6 answers2024-05-14

It will affect if it is not handled well, and it will have a big impact, and a program like yours has changed everything, and the IP has changed, which is equivalent to a big change. >>>More

16 answers2024-05-14

The position axis is zeroed.

Maya doesn't have this feature. >>>More

23 answers2024-05-14

Yang Lin, the king of the Sui Dynasty, was the uncle of Emperor Yang of the Sui Dynasty, who was in charge of the military power of the Sui Dynasty and was honest and selfless. The eighth hero, make two water and fire prisoner dragon sticks, each 150 catties, Qin Qiong's father and enemy. once accepted Qin Qiong as a righteous son without knowing the identity of Qin Qiong (a good man in Article 16). >>>More