.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Santhakumar Munuswamy
Post New Web Links

Extract data from a webpage in to array VB.NET

Posted By:      Posted Date: October 01, 2010    Points: 0   Category :ASP.Net

Hi everyone

i need a way to extract the data from the below in to an array of some sort so i can post only what i need to my page.

the field i need is the var lasttrade and the var lasttrade

how do i go about extracting the data to get what i need... im used to xml feeds but not this...?


Doesnt HAVE to be an array, just anything i can use to get the data from the page and post what i need

its a live SHARE price feed

Thank you

View Complete Post

More Related Resource Links

extract picture data from a string


dears,advance thanks.can anybdy help to solve my problem which is describing below.

Example- %%D1,100,0,0004[data...][0d0a]

Head - %%D1
Amount of data package -100
The data package No. - 0
Data Length -1024 (0004 (low bit in front, high bit in back) 0004= 0x0400=1024;)

data- Original Picture data -1024(maximum)
Tail -0x0d0a
Data in hex

from the above example i want to extract picture data and need to store in to the sql table.sql table columname is image and datatype is also image.after that i wanted to display this image column to an aspx page.

expecting help asap.

extract data from WSS Database

how to extract data from WSS Database.We have TFS 2008 with WSS 3.0. By querying,programmatically?any help is appriciated?

inserting an array of data into a database table

im looking to insert an array of information into a database tableessentially what id like to do is something like this:            objCmd = New OleDb.OleDbCommand("INSERT INTO pluINFO VALUES *", objConn)            For j = 0 To 265                objCmd.Parameters.Add( info(j) )            Next this code gives me a syntax error for the insert statement is there anyway i can set the insert statement that would allow me to add each element of the array(looping through rather than hardcoding several hundred entries) into the table?any input appreciatedThanks

How do you extract data from the xml attachment of an incoming email and set it as metadata in a doc

Hi, I currently have a document library that contains InfoPath forms. As a form is loaded into the document library I need the data to be extracted from the infopath file and then set as properties/metadata of the file. The infopath forms will be sent to the SharePoint site as an email attachment. So basically, an email is sent to the SharePoint server with an InfoPath form as an email attachment. The InfoPath form needs to be extracted from the email and uploaded to the document library and at the same time updating the document library metadata with the infopath form data. This has been done using Visual Studio but can this be done using SharePoint Designer 2010 now that we have upgraded our site to SharePoint 2010? Any guidance will be greatly appreciated! Thanks Michael

how to query return all data in Array Object ,Collection Object

how to query return all data in Array Object ,Hash Table ,And DataTable dataRowSelect * From Doc a

write Data to Byte[ ] array

Hi All.i hava a data in string variable for example :string Data = "0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/"and i want to convert this data to binary format so that i can insert this data to Image data field in Database .. can u please give me the solution.Thanks in advance

how to Input data from textbox to unknown size of array or arraylist?


I am fresh to asp.net. I m using vb to write it. Could someone who is professional guide me?

I want to input data from textbox to "unknown size" array or arraylist, and bind it to gridview.

I have more than 1 data to input. Do i need to use loop to bind?

Thank you for your kind attention and patient.

How to extract large data from SQL to CSV using Asynchronous function



I have a table growth 100000row per day, I'm facing many problems  to export data from this table using ASP.net page.

I don't know how to apply this scenario:

Senerio 1:

1- run Asynchronous function to export data from SQL for specified period to CSV file (without locking the table)

2- Refresh page every 5 sec in order to track the status of extracting data

3- compress the file 

4- Stop refreshing and showing the download link in order to download the compressed file


Senerio 2:

1- run Asynchronous function to export data from SQL for specified period to CSV file (without locking the table)

3- compress the file 

4- send the compressed file by Email

thank you,

Passing array or table data type


I need to pass many records with number of fields(i.e 5rows and 5 columns) in either array or table form to oracle for processing. Is it possible to pass array/table from asp.net pages? If no, any solutions for this? I have been thinking of passing it as string concatenated with delimiter and split it.  Seems like it is not appropriate as i have to pass 5 strings(5rows) Any better suggestion? Thanks in advance

The maximum array length quota (16384) has been exceeded while reading XML data.



I am getting this error when I try to send a message to my service. I have updated the ReaderQuotas on both the client and the server. Is there something else that I need to do to get the service to accept the message?



How to extract data from screen or picture


Hi Guys,

I'm thinking of a way to extract data (e.g. the data displayed in a flash game in IE, I want to extract user's level/HP, etc). Is it possible to make it only from analyzing the data displayed on the screen without writing network injecting code to get the data?

Cause I want to do it with a legal way, guess this can be related with some graphic technology.

If it's possible, can someone give more guidance about this? Great if can be found in .Net.

Thanks a lot. 



Restore Data only after failed drives, Log file is good on a separate drive array

We have a 2000 sql server.  Our drive array housing the mdf file has taken a dump.  The drive array housing the ldf file is fine.  I have a full backup as of 2 hours ago.  I know I can restore to that point in time.  However, the transactions sitting in the ldf file are critical to get applied the the restored mdf file.  In reading I see I can restore log files using the "With NoRecovery" option, however, I don't wan't to restore any log files, as I'm thinking the one I have is good.  I want to be able to restore the mdf file and then have the database apply the transactions in the log file on the mdf file. (I want the "redo" phase to use the current ldf file, not a restored ldf file) Any Ideas?

Extract XML data fro Excel Column

  • I have the following xml data in excel column, how do i extract data from it to a table using ssis.

    Column name XT_BODY

    <SendData><Guid>cPKNWB6XUkyIcLctQdsNkg==</Guid><Dbg>3308:1.2.3960.15716:frmDPSReportProduction:RWC_PromptControl1:Qty:OnValid:6</Dbg><_IP></_IP><_MAC>00:26:2D:26:6C:11</_MAC><_DN>KYBWS421</_DN><MSGID>t_DPS_Prod_Qty</MSGID><SEQN>000001</SEQN><CONTRACT>FRK</CONTRACT><PROD_LINE>MA11</PROD_LINE><QTY>1200</QTY><DT>20101116114300</DT><STAMP>40498.4881944444</STAMP><DEVID>WS421 </DEVID><SOURCEID>RPCC</SOURCEID></SendData>

how to extract data from cube to data mart



I have small cube with some data but underlying database, I was wondering if there is a way i can generate the database and populate it based on the cube.



repeater array data source VB doesnt render C# does?


Hi I am using VS2008. I am new to asp and of course I'm touring the web for examples to help with my learning. I wanted to set a repeaters datasource via an array. So, found numerous examples, downloaded (copiied) set them up and wham NONE worked. Afte 3 dayas of frustrarion an confusion I switched to c#, downloaded examples and THEY worked; so I then converted the code to VB, and yep, they didn't work. I'm really having trouble working out why this should be.


   Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
        Dim a As Integer() = New Integer(9) {}
        Dim count As Integer = 10
        For i As Integer = 0 To 9
            a(i) = count
            count += 10

        DataList1.DataSource = a
    End Sub

  protected void Page_Load(object sender, EventArgs e)
        int[] a = new int[10];
        int count = 10;
        for (int i = 0; i < 10; i++)
            a[i] = count;
            count += 10;
        result.DataSource = a;

Repeaters are the same:   

        <asp:Repeater ID="result" runat="server">

Binding WPF Controls to an Entity Data Model

In this interview, programming writer, McLean Schofield, demonstrates how to bind WPF controls to an entity data model, using Visual Studio 2010 Beta 1. You can also learn more in the topic: Walkthrough: Binding WPF Controls to an Entity Data Model.

Surrogate vs Natural Primary Keys - Data Modeling Mistake 2 of 10

In case you're new to the series I've compiled a list of ten data modeling mistakes that I see over and over that I'm tackling one by one. I'll be speaking about these topics at the upcoming IASA conference in October, so I'm hoping to generate some discussion to at least confirm I have well founded arguments.

The last post in this series Referential Integrity was probably less controversial than this one. After all, who can argue against enforcing referential integrity? But as obvious as surrogate keys may be to some, there is a good deal of diversity of opinion as evidenced by the fact that people continue to not use them.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend