Re: Adding a blank row to a datatable
- From: "Richard Myers" <fake@xxxxxxxxxxx>
- Date: Sat, 16 Apr 2005 13:12:01 +1200
Hi Roy,
Thats doesn;t really make sense. One of the primary tenants of a relational
databases is the the order of the rows is unimportant. Secondly why would
you want to store NOTHING?
If this is for some kind of output/report then you'd be better of telling
us what you're doing so we can advise with a another code based strategy.
If you want to stick with your blank row then you'll be relying on
inserting NULLs /and or white space. This will not be possible however if
your Id column is autonumbered/incrementing.
This will still not get you around any sorting however because this null
row will be placed at either the top or the bottom when sorted.
Richard
"Roy" <Roy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A3B8E9FC-4CEA-412F-8E11-02BE696C5668@xxxxxxxxxxxxxxxx
> Hi all,
> I do have a datatable that looks like:
> id Number Description
> 1 1 Desc1
> 2 1 Desc2
> 3 2 Desc3
> I need this datatable looks like (with 4 rows which the third one is
blank):
> id Number Description
> 1 1 Desc1
> 2 1 Desc2
>
> 3 2 Desc3
> Any suggestions would be appreciated.
> Roy
>
.
- Follow-Ups:
- Re: Adding a blank row to a datatable
- From: Roy
- Re: Adding a blank row to a datatable
- References:
- Adding a blank row to a datatable
- From: Roy
- Adding a blank row to a datatable
- Prev by Date: Re: transparancy in vb.net
- Next by Date: Re: Why use a module instead of class?
- Previous by thread: Adding a blank row to a datatable
- Next by thread: Re: Adding a blank row to a datatable
- Index(es):
Relevant Pages
|