how to create a fix 10 row show in gridview using asp.net
how to create a fix 10 row show in gridview using asp.net
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rajeev PunhaniPosted Mar 23, 2016, 5:55 AM
Hi Deepak,
Create a datatable containing columns present in your gridview .Then add rows to it without specifying values to it .So that you will get 10 blank rows .bind that datatable to gridview .Make separate function to achieve this and call it on page load.
If the above solution is helpful then,accept the answer.
Deepak AwashtiPosted Mar 23, 2016, 5:31 AM
Rajeev PunhaniPosted Mar 23, 2016, 5:22 AM
Hi Deepak,
I think you are trying to implement something in this link.
Deepak AwashtiPosted Mar 23, 2016, 5:11 AM
Vivek KumarPosted Mar 23, 2016, 4:47 AM
Rajeev PunhaniPosted Mar 23, 2016, 4:38 AM
Hi Deepak,
Please add the following in gridview
If the above solution is helpful then,accept the answer.