hi
I use the below code for calling number from a cellular phone
<a href="tel://00985656556" ID="LblMobile" runat="server"></a>
Here I put href="tel://00986546565" that I set number but now I want to bind data from database below are codes:
private void GetaboutInfo()
{
using (SqlConnection conn = General.GetConnection())
{
using (SqlCommand _cmd = General.GetCommand("about_details", conn))
{
conn.Open();
SqlDataReader _dr = _cmd.ExecuteReader();
while (_dr.Read())
{
Lbltell.Text = toPersianNumber(_dr["Tell"].ToString());
Lblmobile.Text = toPersianNumber(_dr["Mobile"].ToString());
Lblemail.Text = _dr["Email"].ToString();
Lbladd.Text = toPersianNumber(_dr["Address"].ToString());
}
}
}
}
here :
Lblmobile.Text = toPersianNumber(_dr["Mobile"].ToString());
Now how I can define that put above code in href??
Best regards
Neda