Adding blank row in table 
Author Message
 Adding blank row in table

Ok, here's what I'm doing. I have an XML file containing some data. At my
application startup, I load that data into a dataset. Now, I need to display
that data on a form. However, I don't only have to display that table, I
also have to put a blank row (DbNull) at the first position. How could I do
this? The data displayed shouldn't be sorted, but displayed in the table
order. If I add a row, it will be at the last position... Any idea on how to
solve this?


Mon, 13 Dec 2004 06:02:49 GMT  
 Adding blank row in table
Can you not just put the blank row in the table first and then load xml


Quote:
> Ok, here's what I'm doing. I have an XML file containing some data. At my
> application startup, I load that data into a dataset. Now, I need to
display
> that data on a form. However, I don't only have to display that table, I
> also have to put a blank row (DbNull) at the first position. How could I
do
> this? The data displayed shouldn't be sorted, but displayed in the table
> order. If I add a row, it will be at the last position... Any idea on how
to
> solve this?



Mon, 13 Dec 2004 16:50:48 GMT  
 Adding blank row in table
hmmm.... when we call ReadXml, it append rows? It doesn't clear table? I'll
try that.


Quote:
> Can you not just put the blank row in the table first and then load xml



> > Ok, here's what I'm doing. I have an XML file containing some data. At
my
> > application startup, I load that data into a dataset. Now, I need to
> display
> > that data on a form. However, I don't only have to display that table, I
> > also have to put a blank row (DbNull) at the first position. How could I
> do
> > this? The data displayed shouldn't be sorted, but displayed in the table
> > order. If I add a row, it will be at the last position... Any idea on
how
> to
> > solve this?



Mon, 13 Dec 2004 20:17:50 GMT  
 Adding blank row in table
If readxml does clear then read xml into different dataset then merge.

Quote:
> hmmm.... when we call ReadXml, it append rows? It doesn't clear table?
I'll
> try that.



> > Can you not just put the blank row in the table first and then load xml



> > > Ok, here's what I'm doing. I have an XML file containing some data. At
> my
> > > application startup, I load that data into a dataset. Now, I need to
> > display
> > > that data on a form. However, I don't only have to display that table,
I
> > > also have to put a blank row (DbNull) at the first position. How could
I
> > do
> > > this? The data displayed shouldn't be sorted, but displayed in the
table
> > > order. If I add a row, it will be at the last position... Any idea on
> how
> > to
> > > solve this?



Mon, 13 Dec 2004 21:17:23 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Deleting blank lines (including blank table row)

2. adding a table row, without setting same defaults as previous row

3. row heights of table rows added by vba

4. Export to Excel from 8.5 adds blank rows

5. How to Create 2 column table and continue adding rows

6. Format of Rows Added to a Table

7. Adding Rows to a Table

8. add text to table rows

9. Running a macro to add a row in a table

10. Add row to the end of a table

11. Adding row to table is Slooooooow!

12. Adding new rows to related tables on a dataset

 

 
Powered by phpBB® Forum Software