Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku
My account: Login | Sign Up
Loading... 

I don't understand what this line ds.Tables[3] means. | Thread profile

Thread profile page for "I don't understand what this line ds.Tables[3] means." on http://www.asp.net. This report page is a snippet summary view from a single thread "I don't understand what this line ds.Tables[3] means.", located on the Message Board at http://www.asp.net. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity, which are reported in a table below. Additional thread profile information is also shown in the following ways:

1) Top Contributing Authors
2) Related Threads on "eBay Auctions"
3) Related Threads on Other Sites

Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a thread's popularity and/or exact posting volumes at any given reporting period.

Title: I don't understand what this line ds.Tables[3] means.
Site: Forums - ASP.NET Forums  Forums - ASP.NET Forums - site profile
Forum: Web Forms  Web Forms - forum profile
Total authors: 3 authors
Total thread posts: 6 posts
Thread activity: no new posts during last week
Domain info for: asp.net

Thread posts in I don't understand what this line ds.Tables[3] means.:

1. 
Started 7 months, 3 weeks ago (2008-11-14 11:42:22)  by lberan
Can somebody explain to me what ds.Tables[3] in line 9 means? If you know a good link on this topic, please tell me the link. Thank you. 1 protected void bindData() 2 { 3 XmlTextReader reader = 4 new XmlTextReader(Server.MapPath( "articleAtom.xml" )); 5 6 DataSet ds = new DataSet(); 7 ds.ReadXml(reader...
Size: 1,210 bytes
Customize:  Customize "I don't understand what this line ds.Tables[3] means. :: Web Forms :: Forums - ASP.NET Forums"
2. 
Started 7 months, 3 weeks ago (2008-11-14 11:59:22)  by ecbruck
This line will return the fourth table (0, 1, 2, 3) from the Tables collection of the DataSet.
Size: 189 bytes
Customize:  Customize "<b>Reply 1</b>: I don't understand what this line ds.Tables[3] means. :: Web Forms :: Forums - ASP.NET Forums"
3. 
Started 7 months, 3 weeks ago (2008-11-14 12:12:22)  by shashankgwl
datasets are supposed to contain datatable and ds.Tables[3] is index of fourth table in your dataset i.e. the fourth table
Size: 230 bytes
Customize:  Customize "<b>Reply 2</b>: I don't understand what this line ds.Tables[3] means. :: Web Forms :: Forums - ASP.NET Forums"
4. 
Started 7 months, 3 weeks ago (2008-11-14 12:22:22)  by lberan
ecbruck: This line will return the fourth table (0, 1, 2, 3) from the Tables collection of the DataSet. Ecbruck, Thanks for your reply. However, it does not make sense to me. The data is from the .xml file as shown below. As you can tell this is a test ATOM file with 3 same entries. The output displays all three entries. 1 2 < feed xmlns= "http...
Size: 4,376 bytes
Customize:  Customize "<b>Reply 3</b>: I don't understand what this line ds.Tables[3] means. :: Web Forms :: Forums - ASP.NET Forums"
5. 
Started 7 months, 3 weeks ago (2008-11-14 12:25:23)  by lberan
shashankgwl: datasets are supposed to contain datatable and ds.Tables[3] is index of fourth table in your dataset i.e. the fourth table Could you please read my response to the first reply and explain to me more about this? I'm still confused. Thank you.
Size: 528 bytes
Customize:  Customize "<b>Reply 4</b>: I don't understand what this line ds.Tables[3] means. :: Web Forms :: Forums - ASP.NET Forums"
6. 
Started 7 months, 3 weeks ago (2008-11-14 23:51:23)  by shashankgwl
If you expect each <entry> data in separate tables then you'll have to check your dataset filling (how it is loading itself with data and modify accordingly) ds.table[x] wil give you x+1th table and is independent of the data , you've to check data filling
Size: 378 bytes
Customize:  Customize "<b>Reply 5</b>: I don't understand what this line ds.Tables[3] means. :: Web Forms :: Forums - ASP.NET Forums"
 

Top contributing authors for I don't understand what this line ds.Tables[3] means.

Name
Posts
lberan
3
user's latest post:
I don't understand what...
Published (2008-11-14 11:42:22)
&nbsp; &nbsp;Can somebody explain to me what ds.Tables[3] in line 9 means? If you know a good link on this topic, please tell me the link. &nbsp;Thank you. &nbsp; 1 protected void bindData() 2 { 3 XmlTextReader reader = 4 new XmlTextReader(Server.MapPath( &quot;articleAtom.xml&quot; )); 5 6 DataSet ds = new DataSet(); 7 ds.ReadXml(reader); 8 // Assigns the datset to the datagrid 9 GridView1.DataSource = ds.Tables[3];...
shashankgwl
2
user's latest post:
I don't understand what...
Published (2008-11-14 23:51:23)
&nbsp;If you expect each &lt;entry&gt; data in separate tables then you'll have to check your dataset filling (how it is loading itself with data and modify accordingly) ds.table[x] wil give you x+1th table and is independent of the data , you've to check data filling
ecbruck
1
user's latest post:
I don't understand what...
Published (2008-11-14 11:59:22)
This line will return the fourth table (0, 1, 2, 3) from the Tables collection of the DataSet.