| | |
changing part of URL PATH
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
I am doing a project where I am retriving data from a table minicard of a site.
I am using path http://www.cric8.com/od_minicard2.htm
The table has a number od_minicard2_1355
The problem is that when there are two table it pull data of only one table.
how can I get data of both tables say od_minicard2_1355 & od_minicard2_1356
The name of table always increases by one 1355,13356,1357,etc.
I am using path http://www.cric8.com/od_minicard2.htm
The table has a number od_minicard2_1355
The problem is that when there are two table it pull data of only one table.
how can I get data of both tables say od_minicard2_1355 & od_minicard2_1356
The name of table always increases by one 1355,13356,1357,etc.
BCM
Hi
You probably will have to find the number of tables in the dataset, and then go into a loop to retrieve the data. If the tables always start with the "od_minicard2_xxxx" then it is probably a good idea to check the name of the table to make sure you are reding the correct data.
Somthing like this:
Regards
You probably will have to find the number of tables in the dataset, and then go into a loop to retrieve the data. If the tables always start with the "od_minicard2_xxxx" then it is probably a good idea to check the name of the table to make sure you are reding the correct data.
Somthing like this:
VB.NET Syntax (Toggle Plain Text)
Dim i As Integer Dim iNumTables As Integer = dstVeh.Tables.Count For i = 0 To iNumTables - 1 Dim strTableName As String = dstVeh.Tables(i).TableName ' here you have the table name, so now compare it to "od_minicard2_..." ' to make sure it is the right table. 'if it is the right table, then get the data from dstVeh.Tables(i) Next
Regards
![]() |
Similar Threads
- Downloading a file (ASP.NET)
- Variables in the URL - and how to get them (HTML and CSS)
- LWP HTML ::TokeParser - running against a bulletin board (Perl)
- Get listed on google (Growing an Online Community)
- Script for have different radio button take you to different page (Existing Scripts)
- Problems with Windows Script Encoder & #include directive (ASP)
- Need Desperate help against trojan (Windows NT / 2000 / XP)
Other Threads in the VB.NET Forum
- Previous Thread: vb or vb.net help please
- Next Thread: Going Insane!!!
| Thread Tools | Search this Thread |
"crystal .net .net2005 .net2008 2008 access add advanced application array assignment basic beginner box browser button buttons click code combo convert cpu cuesent data database datagrid datagridview datetimepicker designer dissertation dissertations dissertationthesis dissertationtopic dosconsolevb.net editvb.net employees excel exists firewall forms html image images isnumericfuntioncall listview login map math memory mobile module msaccess mssqlbackend mysql navigate net number opacity open pdf picturebox2 port print printpreview record regex reports" reuse right-to-left save savedialog search serial settings socket sqldatbase sqlserver storedprocedure string temp textbox timer transparency txttoxmlconverter useraccounts usercontol usercontrol vb vb.net vb.nettoolboxvisualbasic2008sidebar vba vbnet vista visual visualbasic.net visualstudio.net web wpf wrapingcode xml





