Deepak AwashtiRank #6,113 · 276 reputationPosted Mar 23, 2016, 1:31 AM EDT
0
sir i alredy view this link but this link is add button then show new row but my task is one time page load then show 15 row in gridview
please help me sir...
0
Rajeev PunhaniRank #551 · 4.4K reputationPosted Mar 23, 2016, 1:55 AM EDT
0
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.
Rajeev PunhaniRank #551 · 4.4K reputationPosted Mar 23, 2016, 12:38 AM EDT
Hi Deepak,
Please add the following in gridview
If the above solution is helpful then,accept the answer.
Vivek KumarRank #272 · 9.3K reputationPosted Mar 23, 2016, 12:47 AM EDT
Deepak AwashtiRank #6,113 · 276 reputationPosted Mar 23, 2016, 1:11 AM EDT
Rajeev PunhaniRank #551 · 4.4K reputationPosted Mar 23, 2016, 1:22 AM EDT
Hi Deepak,
I think you are trying to implement something in this link.
Deepak AwashtiRank #6,113 · 276 reputationPosted Mar 23, 2016, 1:31 AM EDT
Rajeev PunhaniRank #551 · 4.4K reputationPosted Mar 23, 2016, 1:55 AM EDT
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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts