aylin_sk

aylin_sk

  • NA
  • 87
  • 0

hyperlink

Dec 15 2004 2:55 AM
I want to put hyperlink to my NAME column..But I dont know how can i put it in my code??My hyperlink columns will be shown in searchPatient.aspx page..Pls help! private void myDataGrid_ItemDataBound(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e) { /*if ((e.Item.ItemType != ListItemType.Header) && (e.Item.ItemType != ListItemType.Footer) && (e.Item.ItemType != ListItemType.Separator)) { ((HyperLink)e.Item.FindControl("hlName")).NavigateUrl = "../lpms/searchPatient.aspx?patientNumber=" + ((DataRowView)e.Item.DataItem).Row["PATIENT_NAME"].ToString(); }*/ }

Answers (2)