Hi, I have another question.
I have a column Document_Name, the input stored like
doc1, doc2, doc3, .......and etc
I've tried to use this method:
Text='<%#Eval("docname").ToString.Replace(",", "</br>")%>'
but when I want to retrieve doc1, it will include together doc2, doc3 also like only 1 document
Seems like I need to split the value to retrieve the path documnt.
I am using VB.net
Kindly help me. Thanks in Advance.
<td>
<asp:Label ID="viewBnkDoc" runat="server" data-keyboard="false" data-backdrop="static" data-remote="false" data-toggle="modal" data-target="#vModalDetail" Text='<%#Eval("docname").ToString.Replace(",", "</br>")%>'></asp:Label>
</td>
In my db, this kind of value (document name) was stored something like this. It combine all file name in one column :
BANK SIMPANAN NASIONAL_123123_doc1,BANK SIMPANAN NASIONAL_123123_doc2
so there actually has 2 files like :
1. BANK SIMPANAN NASIONAL_123123_doc1
2. BANK SIMPANAN NASIONAL_123123_doc2
My issue is I want to separate the value so that I can click for each one to open the document. Since I dont know how to do it so I just create another stored procedure and stored it one by one.
Just wondering if there has any other way to separate the document name if it is combine into 1 column. If cannot then its ok.