Welcome aboard! We are happy you are here and wish you good net-raft!
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
string[] strStringArray = {"https://google.com","https://net-raft.com", "https://plus.google.com"};
String url = "";
foreach (string i in strStringArray)
{
url = url + "<" + "a href=" + i + " target=_blank>" + i + "<a>" + "</br>";
}
lbltxt.InnerHtml = url;
}
</script>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<body>
<form id="form1" runat="server">
<div>
<label id="lbltxt" runat="server"></label>
</div>
</form>
</body>
</html>
The most helpful C# solutions
detect ie C#C# Click to see more ... 4.7K 853