columns: grid.Columns(
grid.Column("Complaint","Complaint"),
grid.Column("Request","Request"),
grid.Column("PatientId","PatientId")
))
I have a patient id in webgrid ,instead of patient id i need patient name ,how to get that name.please tell me
))
I have a patient id in webgrid ,instead of patient id i need patient name ,how to get that name.please tell me
Khan Abrar AhmedPosted Apr 6, 2014, 9:01 AM
columns: grid.Columns(
grid.Column("Complaint","Complaint"),
grid.Column("Request","Request"),
grid.Column("PatientName","PatientName")
))
and use PatientID as a datakeyvalue in gridview.
like:
or in .cs fiel
GridView1.DataKeyNames="PatientID";