hi everybody,
I tried to make a hyperlink in gridbound template but fail..
any suggestion?
my link sholud like this : http://10.x.x.xxx:8080/<fieldname>/ITDepartment/<fieldname
NavigateUrl='<%# String.Format("http://10.x.xx.xx:8080/Databinder.Eval(Container.DataItem,"YEAR")/ITDepartment/Databinder.Eval(Container.DataItem,NAME) %>'
My database table
ID | YEAR |FILENAME
1 | 2011 | ALPHA.DOC
2 | 2011 | BETA.PDF
3 |2012 | TEST.DOCX
if I click the first ID the link should be http://10.x.x.xxx:8080/2011/ITDepartment/ALPHA.DOC and so on.. where the changes is fieldname1 and fieldname2.
Please guide me about this.
Thanks.
I tried to make a hyperlink in gridbound template but fail..
any suggestion?
my link sholud like this : http://10.x.x.xxx:8080/<fieldname>/ITDepartment/<fieldname
NavigateUrl='<%# String.Format("http://10.x.xx.xx:8080/Databinder.Eval(Container.DataItem,"YEAR")/ITDepartment/Databinder.Eval(Container.DataItem,NAME) %>'
My database table
ID | YEAR |FILENAME
1 | 2011 | ALPHA.DOC
2 | 2011 | BETA.PDF
3 |2012 | TEST.DOCX
if I click the first ID the link should be http://10.x.x.xxx:8080/2011/ITDepartment/ALPHA.DOC and so on.. where the changes is fieldname1 and fieldname2.
Please guide me about this.
Thanks.