Last post May 20, 2019 06:43 AM by Fei Han - MSFT
May 20, 2019 05:52 AM|jaimon|LINK
I have asp.net button:
<asps:LinkButton ID="btn_Edit" runat="server" CssClass= "btn btn-info" CommandArgument=<%#Eval ("be_bill_id") %>
CommandName="Edit" OnCommand ="btn_Edit_command" />
Can i use this "be_bill_id " in html page to collect data from database and need to display data in .html page.
If this possible, How?
May 20, 2019 06:43 AM|Fei Han - MSFT|LINK
Can i use this "be_bill_id " in html page to collect data from database and print in html page.
Do you want to display the data in .html page? Please clarify more about the scenario/requirement, so that we can understand it better.
Besides, if you'd like to achieve that in .aspx page, you can try to use <%= expressions, like below.
In code behind:
public string be_bill_id = "";
protected void Page_Load(object sender, EventArgs e)
be_bill_id = "data from db";
Can i use this "be_bill_id " in html page to collect data from database and need to display data in