How to make a text have a <a ref> tag in business layer in ASP
<p>I want a text in my datatable to have a link to a another page.  And I do this by the means of the business layer.</p>

<p>here is my code:</p>

<p>DataTable reportTable = new DataTable();</p>

<pre><code>        DataColumn colLeaveType = new DataColumn("leaveType", typeof(System.String));
        DataColumn colNoDays = new DataColumn("No. of Days", typeof(System.Int32));
        DataColumn colStartDate = new DataColumn("Start Date", typeof(System.String));
        DataColumn colEndDate = new DataColumn("End Date", typeof(System.String));
        DataColumn colConvert = new DataColumn("Convert To Leave", typeof(System.String));


        reportTable.Columns.Add(colLeaveType);
        reportTable.Columns.Add(colNoDays);
        reportTable.Columns.Add(colStartDate);
        reportTable.Columns.Add(colEndDate);
        reportTable.Columns.Add(colConvert);

        reportTable.AcceptChanges();

        foreach (DataRow row in tempTable.Rows) {
            DataRow newRow = reportTable.NewRow();
            reportTable.Rows.Add(newRow);

            newRow[colLeaveType] = row["LeaveType"].ToString();
            newRow[colNoDays] = row["DaysCredit"].ToString();
            newRow[colStartDate] = row["StartDate"].ToString();
            newRow[colEndDate] = row["EndDate"].ToString();
            newRow[colConvert] = "Convert"; // this is something like this &lt;a href="newPage"&gt; Convert &lt;/a&gt;

            reportTable.AcceptChanges();
        }
</code></pre>

<p>How to do this? Is this possible?</p>

<p>Thanks </p>

<p>RJUY</p>
