【发布时间】:2015-09-28 14:51:05
【问题描述】:
If Request("cid") = 15 'Hudson Health Plan
e.Row.Cells(11).Text = "<A href='http://myintra1/checkfile.aspx?id=90' target='_blank'>Click here for participating providers and the provider participating location/s. </a> <br/>" & e.Row.Cells(11).Text
End If
If Request("cid") = 57 Then 'Hudson Health Plan
e.Row.Cells(11).Text = "<A href='http://myintra1/checkfile.aspx?id=23' target='_blank'>Click here for participating providers and the provider participating location/s. </a> <br/>" & e.Row.Cells(11).Text
End If
The above code shows correctly...
If Request("cid") = 15 And e.Row.Cells(3).Text = "Y" Then 'Hudson Health Plan
e.Row.Cells(11).Text = "<A href='http://myintra1/checkfile.aspx?id=90' target='_blank'>Click here for participating providers and the provider participating location/s. </a> <br/>" & e.Row.Cells(11).Text
Else
e.Row.Cells(11).Text = ""
End If
If Request("cid") = 57 And e.Row.Cells(3).Text = "Y" Then 'Health Plus Amerigroup/Empire BCBS
e.Row.Cells(11).Text = "<A href='http://myintra1/checkfile.aspx?id=23' target='_blank'>Click here for participating providers and the provider participating location/s. </a> <br/>" & e.Row.Cells(11).Text
Else
e.Row.Cells(11).Text = ""
End If
The above code shows correctly but it does not concatenate the text like it did in the first section of code....
如果CID 匹配并且第三列是“Y”,我该如何解决这个问题,然后显示链接和文本。如果“CID”匹配并且第三列是“N”,则不显示任何内容。
【问题讨论】: