如何在網格視圖的某個列內放置超鏈接。 數據從數據集GridView控件上的超鏈接
這裏正在添加是我的代碼
scon.Open();
scom.CommandText = "StoredProcedure5";
scom.CommandType = CommandType.StoredProcedure;
scom.Connection = scon;
string FunArea = DDlFunctionalArea.SelectedItem.Text + "%";
scom.Parameters.Add("@FunctionalArea", SqlDbType.VarChar).Value = FunArea;
scom.Parameters.Add("@KeySkill",SqlDbType.VarChar).Value=txtKeySkill.Text;
scom.ExecuteNonQuery();
sda.SelectCommand = scom;
sda.Fill(ds, "tblJobSeeker");
GridView1.DataSource=ds.Tables[0];
GridView1.DataBind();
1場是電子郵件地址 當數據與GridView的綁定,然後EmailAddress的字段包含超鏈接,所以當我點擊電子郵件地址導航到另一個頁面