Re: ADO.net: 3 Data Set Questions (Issues)
From: Earl (brikshoe_at_newsgroups.nospam)
Date: 06/27/04
- Next message: pewefisch: "Re: datagrid doesn't reflect addnew to dataset"
- Previous message: Joe: "Re: ActiveX fails to install on Xp machine"
- In reply to: Mr. B: "Re: ADO.net: 3 Data Set Questions (Issues)"
- Next in thread: Mr. B: "Re: ADO.net: 3 Data Set Questions (Issues)"
- Reply: Mr. B: "Re: ADO.net: 3 Data Set Questions (Issues)"
- Reply: Mr. B: "Re: ADO.net: 3 Data Set Questions (Issues)"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 27 Jun 2004 00:45:27 -0500
The datasource contains the "blanks" (empty string). The easiest way to deal
with that is to prevent it at the time you read in the data from the
database. Alternatively, you have to filter that out of your dataview. Take
a look at this post:
"Mr. B" <User@NoWhere.com> wrote in message
news:kvfsd0lainkaeilrm5ku5krjs1vg566r3b@4ax.com...
> With Deft Fingers, "Earl" <brikshoe@newsgroups.nospam> wrote:
>
> >If you are binding to a datasource that has the blanks within, the
easiest
> >way is to prevent the blanks from populating when you initially pull the
> >data. A lot of different ways of writing your query to do that, but
> >basically do not return the null cells. If you are using a stored
procedure,
> >one way is to write subqueries for each field to filter out the
nulls/empty
> >cells.
>
> hmm... not 100% I'm sure what you mean... but I'll try playing with
Filters
> and see where I go/get. I don't recall seeing anything on this in my
books...
> but I'll look.
>
> Thanks (again)!
>
> Bruce
- Next message: pewefisch: "Re: datagrid doesn't reflect addnew to dataset"
- Previous message: Joe: "Re: ActiveX fails to install on Xp machine"
- In reply to: Mr. B: "Re: ADO.net: 3 Data Set Questions (Issues)"
- Next in thread: Mr. B: "Re: ADO.net: 3 Data Set Questions (Issues)"
- Reply: Mr. B: "Re: ADO.net: 3 Data Set Questions (Issues)"
- Reply: Mr. B: "Re: ADO.net: 3 Data Set Questions (Issues)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|