Display GridView column

Posted by Bhanu55prakash under ASP.NET on 8/31/2012 | Points: 10 | Views : 754 | Status : [Member] | Replies : 1
Hi All,
how can we get gridview in a specified column.

Thanks & Regards,

Bhanu Prakash


Posted by: Nksingh420 on: 8/31/2012 [Member] Starter | Points: 25

when you fatch data from database your query shoud be
SqlCommand cmd=new SqlCommand("select E_id,E_name,E_age from Employee");
then only these column will show in gridview.

Bhanu55prakash, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response