Ramco Ramco

Ramco Ramco

  • 463
  • 2.9k
  • 409.8k

Reference Link Display

Nov 4 2022 4:23 AM

Hi

  I have below code .

<td>
    <asp:Literal ID="ltrlSource" runat="server" Text='<%# Eval("Source") %>'></asp:Literal></td>
<td>
<td>
    <asp:Literal ID="ltrlInvoice" runat="server" Text='<%# Eval("InvoiceNumber") %>'></asp:Literal></td>

I want if Value in Source is Amazon then in Invoice column should be like below - amazon.com/search=InvoiceNumberValue

If value in stock is Others then it should be - amazon.in/search=InvoiceNumberValue

If Value in source is neither of two then only Invoice Number should be displayed. I need this on aspx page

Thanks