Hi Baren,
I believe this is a simple way. For example, you can add
DatagridItems (rows) to the datagrid, but you need add
these item's ItemType as ListItemType.Item and
ListItemType.AlternatingItem alternatively. Apparently,
it's more complicated.
HTH
Elton Wang
-----Original Message-----
Hi! Elton,
Thanks for the response. ya i am using a Datatable to
bind it... I am justlooking if there is any other option..
Thanks again for the response.
Baren
"Elton Wang" wrote:
Hi Baren,
Suppose you are using datatable as the datagrid's data
source. Before bind it to datagrid, add four empty rows
to the datatable, then bind it to the datagrid.
HTH
Elton Wang
el********@hotmail.com
>-----Original Message-----
>Hi!
>
>I am developing a web project using ASP.NET and VB.NET
as code behind. In >one page the user attaches files to the list. The
same data is shown in the >and the max records visible is 4. Now the problem is I
need to show 4 empty >rows in the datagrid before binding the datagrid to
the datasource. >
>Can anyone help in this regard.
>
>Thanks in advance,
>
>Baren
>.
>
.