Hello Experts,
I am creating a gridview dynamically. Also the number of columns are created according to database items. And the gridview width is exceeding the main page due to vast number of columns. So I want to display it section wise. Someone please suggest me some solutions.
Thank You

Sanjeeb LenkaRank #301 · 8.3K reputationPosted Dec 29, 2013, 7:15 PM EST
you can place your gridview inside a div. whenever your gridview siz increases a scroll bar will come.
place your gridview here
shibasankar behera102 reputationPosted Dec 29, 2013, 7:19 PM EST
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Dec 29, 2013, 7:25 PM EST
shibasankar behera102 reputationPosted Dec 29, 2013, 7:43 PM EST
Dhirendra MisraRank #4,173 · 360 reputationPosted Dec 29, 2013, 8:11 PM EST
As per you screenshot I think you just want to display available, break or booked status of doctor's schedule. If it is only display information, I suggest you to use server side html table and add rows and columns according to you need rather than using heavy GridView control .
You can use this as well
Hope it will work for you.