Hi,
in my backed table column name is Emp_id but i want to show only Id in header in gridview control. so help me..........
How to change header text of gridview
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
divya146 reputationPosted Nov 3, 2012, 3:37 AM EDT
you can use aliase name in select Query i.e used for binding the datagridview
for example "select Emp_id as [Id] ,Emp_Name from Emp";
Abhimanyu K VatsaRank #14 · 51.7K reputationPosted Nov 5, 2012, 2:52 AM EST