this piece of code generate run time error "object reference not set to an
instance" :
SqlAdapter sqla = new SqlAdapter;
sqla.SelectCommand.CommandTimeout = 60;
SelectCommand is null, but when i check the dataset in the designer it has a
select command (actually adapter and table are created by by dragging the
table from server explorer to the dataset).
JIGNESH - 17 Jan 2008 13:10 GMT
Try deleting object and re-create it.
Regards
JIGNESH
> this piece of code generate run time error "object reference not set to an
> instance" :
[quoted text clipped - 5 lines]
> select command (actually adapter and table are created by by dragging the
> table from server explorer to the dataset).