When I load the datagrid with data using
sqlDataAdapter2.Fill(dataSet21,"Table");
The Data is loaded with and extra (empty)line at the
bottom of the grid. It has an * to the left of the line.
Is there a way to prevent this empty line from appearing?
I get an exception error when this line is click upon
accidently, since no data is present on the line. Can you
help?

dataGrid by Puspak

Puspak
Tue Aug 19 02:59:50 CDT 2003

Set the Default View's "AllowNew" property to false of
your data table.

>-----Original Message-----
>When I load the datagrid with data using
>sqlDataAdapter2.Fill(dataSet21,"Table");
>The Data is loaded with and extra (empty)line at the
>bottom of the grid. It has an * to the left of the line.
>Is there a way to prevent this empty line from appearing?
>I get an exception error when this line is click upon
>accidently, since no data is present on the line. Can
you
>help?
>.
>