473,748 Members | 2,328 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

other table that stores data differently than ADO.Net datatable?

VMI
We have this huge application that's based on storing tons of data on a
dataTable. The only problem we're having is that storing LOTS of data (1
million records) into a datatable will slow down the system since all this
data will be stored in memory. The performance is really affected with this.
Since we don't really want to redesign everything based on this datatable,
are there any companies that offer a product similar to the datatable that
stores lots of data in a more efficient way? Basically, we load all this
data (it's a one-shot process) into the datatable and work with that. We
don't want to change any of that; we just want something similar to the
datatable that stores a better way. Also, the windows datagrid should be
able to bind to this new table without many problems.
Thanks.
Nov 16 '05 #1
9 1710
VMI,

Granted, you don't want to redesign your app, or how you store the data,
but the DataTable as it exists is as efficient as you are probably going to
get (as well as standard). Basically, it's a hash mechanism (to get the
values of the columns at a particular row).

On top of that, there is little that can be done to improve it.

While the data that you are working with is static, having one million
rows at one time is a design flaw, in my opinion. Also, I can't imagine any
reason why you would need to bind a data grid to a table with one million
rows in it. There is no way for a human to process all of this data at one
time, and having it all up front isn't helping you obviously, because you
are facing performance hits due to the massive amount of memory taken up.

I would recommend that you work with this data in smaller sets, getting
it from a persistant store (i.e. a database) when needed.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
"VMI" <vo******@yahoo .com> wrote in message
news:uM******** ******@TK2MSFTN GP15.phx.gbl...
We have this huge application that's based on storing tons of data on a
dataTable. The only problem we're having is that storing LOTS of data (1
million records) into a datatable will slow down the system since all this
data will be stored in memory. The performance is really affected with
this.
Since we don't really want to redesign everything based on this datatable,
are there any companies that offer a product similar to the datatable that
stores lots of data in a more efficient way? Basically, we load all this
data (it's a one-shot process) into the datatable and work with that. We
don't want to change any of that; we just want something similar to the
datatable that stores a better way. Also, the windows datagrid should be
able to bind to this new table without many problems.
Thanks.

Nov 16 '05 #2
I think that no matter what you use it will be a memory hog. If you're
loading that much data into memory I think you'll run into performance
issues. Is there any reason you just don't load what you need from the DB
instead of loading everything?

--
Lateralus [MCAD]
"VMI" <vo******@yahoo .com> wrote in message
news:uM******** ******@TK2MSFTN GP15.phx.gbl...
We have this huge application that's based on storing tons of data on a
dataTable. The only problem we're having is that storing LOTS of data (1
million records) into a datatable will slow down the system since all this
data will be stored in memory. The performance is really affected with
this.
Since we don't really want to redesign everything based on this datatable,
are there any companies that offer a product similar to the datatable that
stores lots of data in a more efficient way? Basically, we load all this
data (it's a one-shot process) into the datatable and work with that. We
don't want to change any of that; we just want something similar to the
datatable that stores a better way. Also, the windows datagrid should be
able to bind to this new table without many problems.
Thanks.

Nov 16 '05 #3
VMI
Thanks for your replies.
We were initially working with 10,000-15,000 records and we never imagined
that these records would reach 1 million, so it's really something we didn't
think through very well (aka a design flaw).
We've already migrated the data to database but we don't exactly know how to
query the database everytime the user does a scroll (or page up/page down)
in the grid. What event should we capture in order to query the DB again and
fill the table? Also, I assume we need to create a Select statement that
will display the next N records once the user has reached the last visible
record in the grid/datatable (in pseudocode: "Select the next N records from
table following the last record displayed"). That's what we haven't been
able to figure out.

Any help is appreciated.
"VMI" <vo******@yahoo .com> wrote in message
news:uM******** ******@TK2MSFTN GP15.phx.gbl...
We have this huge application that's based on storing tons of data on a
dataTable. The only problem we're having is that storing LOTS of data (1
million records) into a datatable will slow down the system since all this
data will be stored in memory. The performance is really affected with this. Since we don't really want to redesign everything based on this datatable,
are there any companies that offer a product similar to the datatable that
stores lots of data in a more efficient way? Basically, we load all this
data (it's a one-shot process) into the datatable and work with that. We
don't want to change any of that; we just want something similar to the
datatable that stores a better way. Also, the windows datagrid should be
able to bind to this new table without many problems.
Thanks.

Nov 16 '05 #4
I think you may want to take another approach. Are there any fields you can
filter on? For instance you may have a foreign key to a lookup type table. I
would suggest making some sort of a "search" type of screen and filter your
records that way. Just dynamically build a SQL statement using the search
criteria for your where clause, that will help slim down your list. If your
data is not normalized this may be a bit difficult. You can page your
results with a DataGrid in ASP.Net, but I don't think you can with winforms.

HTH

--
Lateralus [MCAD]
"VMI" <vo******@yahoo .com> wrote in message
news:Oh******** ******@TK2MSFTN GP15.phx.gbl...
Thanks for your replies.
We were initially working with 10,000-15,000 records and we never imagined
that these records would reach 1 million, so it's really something we
didn't
think through very well (aka a design flaw).
We've already migrated the data to database but we don't exactly know how
to
query the database everytime the user does a scroll (or page up/page down)
in the grid. What event should we capture in order to query the DB again
and
fill the table? Also, I assume we need to create a Select statement that
will display the next N records once the user has reached the last visible
record in the grid/datatable (in pseudocode: "Select the next N records
from
table following the last record displayed"). That's what we haven't been
able to figure out.

Any help is appreciated.
"VMI" <vo******@yahoo .com> wrote in message
news:uM******** ******@TK2MSFTN GP15.phx.gbl...
We have this huge application that's based on storing tons of data on a
dataTable. The only problem we're having is that storing LOTS of data (1
million records) into a datatable will slow down the system since all
this
data will be stored in memory. The performance is really affected with

this.
Since we don't really want to redesign everything based on this
datatable,
are there any companies that offer a product similar to the datatable
that
stores lots of data in a more efficient way? Basically, we load all this
data (it's a one-shot process) into the datatable and work with that. We
don't want to change any of that; we just want something similar to the
datatable that stores a better way. Also, the windows datagrid should be
able to bind to this new table without many problems.
Thanks.


Nov 16 '05 #5
VMI
But there may be a possibility that a certain query will return 500K
records. In that case, I'd need to load those 500K records into the table.
"Lateralus [MCAD]" <dnorm252_at_ya hoo.com> wrote in message
news:Oa******** ******@TK2MSFTN GP11.phx.gbl...
I think you may want to take another approach. Are there any fields you can filter on? For instance you may have a foreign key to a lookup type table. I would suggest making some sort of a "search" type of screen and filter your records that way. Just dynamically build a SQL statement using the search
criteria for your where clause, that will help slim down your list. If your data is not normalized this may be a bit difficult. You can page your
results with a DataGrid in ASP.Net, but I don't think you can with winforms.
HTH

--
Lateralus [MCAD]
"VMI" <vo******@yahoo .com> wrote in message
news:Oh******** ******@TK2MSFTN GP15.phx.gbl...
Thanks for your replies.
We were initially working with 10,000-15,000 records and we never imagined that these records would reach 1 million, so it's really something we
didn't
think through very well (aka a design flaw).
We've already migrated the data to database but we don't exactly know how to
query the database everytime the user does a scroll (or page up/page down) in the grid. What event should we capture in order to query the DB again
and
fill the table? Also, I assume we need to create a Select statement that
will display the next N records once the user has reached the last visible record in the grid/datatable (in pseudocode: "Select the next N records
from
table following the last record displayed"). That's what we haven't been
able to figure out.

Any help is appreciated.
"VMI" <vo******@yahoo .com> wrote in message
news:uM******** ******@TK2MSFTN GP15.phx.gbl...
We have this huge application that's based on storing tons of data on a
dataTable. The only problem we're having is that storing LOTS of data (1 million records) into a datatable will slow down the system since all
this
data will be stored in memory. The performance is really affected with

this.
Since we don't really want to redesign everything based on this
datatable,
are there any companies that offer a product similar to the datatable
that
stores lots of data in a more efficient way? Basically, we load all this data (it's a one-shot process) into the datatable and work with that. We don't want to change any of that; we just want something similar to the
datatable that stores a better way. Also, the windows datagrid should be able to bind to this new table without many problems.
Thanks.



Nov 16 '05 #6
Well, there is always that possibility with any search screen. The more
criteria they enter, the more specific the results are. Take Google for
instance. If you search on "C#" you'll get too many hits. If you search on
"C# DataSet XML" your list will be more specific to what you are looking
for. It is up to the user how "filtered" the list will be.

--
Lateralus [MCAD]
"VMI" <vo******@yahoo .com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
But there may be a possibility that a certain query will return 500K
records. In that case, I'd need to load those 500K records into the table.
"Lateralus [MCAD]" <dnorm252_at_ya hoo.com> wrote in message
news:Oa******** ******@TK2MSFTN GP11.phx.gbl...
I think you may want to take another approach. Are there any fields you

can
filter on? For instance you may have a foreign key to a lookup type
table.

I
would suggest making some sort of a "search" type of screen and filter

your
records that way. Just dynamically build a SQL statement using the search
criteria for your where clause, that will help slim down your list. If

your
data is not normalized this may be a bit difficult. You can page your
results with a DataGrid in ASP.Net, but I don't think you can with

winforms.

HTH

--
Lateralus [MCAD]
"VMI" <vo******@yahoo .com> wrote in message
news:Oh******** ******@TK2MSFTN GP15.phx.gbl...
> Thanks for your replies.
> We were initially working with 10,000-15,000 records and we never imagined > that these records would reach 1 million, so it's really something we
> didn't
> think through very well (aka a design flaw).
> We've already migrated the data to database but we don't exactly know how > to
> query the database everytime the user does a scroll (or page up/page down) > in the grid. What event should we capture in order to query the DB
> again
> and
> fill the table? Also, I assume we need to create a Select statement
> that
> will display the next N records once the user has reached the last visible > record in the grid/datatable (in pseudocode: "Select the next N records
> from
> table following the last record displayed"). That's what we haven't
> been
> able to figure out.
>
> Any help is appreciated.
>
>
> "VMI" <vo******@yahoo .com> wrote in message
> news:uM******** ******@TK2MSFTN GP15.phx.gbl...
>> We have this huge application that's based on storing tons of data on
>> a
>> dataTable. The only problem we're having is that storing LOTS of data (1 >> million records) into a datatable will slow down the system since all
>> this
>> data will be stored in memory. The performance is really affected with
> this.
>> Since we don't really want to redesign everything based on this
>> datatable,
>> are there any companies that offer a product similar to the datatable
>> that
>> stores lots of data in a more efficient way? Basically, we load all this >> data (it's a one-shot process) into the datatable and work with that. We >> don't want to change any of that; we just want something similar to
>> the
>> datatable that stores a better way. Also, the windows datagrid should be >> able to bind to this new table without many problems.
>>
>>
>> Thanks.
>>
>>
>
>



Nov 16 '05 #7
I have to ask, what human can possibly process 500K records at one time?
Think of things like paging, etc, etc, to cut down on the result set and
then display that. I would definitely say that this is the kind of scenario
where some out of the box thinking would be a good thing.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"VMI" <vo******@yahoo .com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
But there may be a possibility that a certain query will return 500K
records. In that case, I'd need to load those 500K records into the table.
"Lateralus [MCAD]" <dnorm252_at_ya hoo.com> wrote in message
news:Oa******** ******@TK2MSFTN GP11.phx.gbl...
I think you may want to take another approach. Are there any fields you

can
filter on? For instance you may have a foreign key to a lookup type
table.

I
would suggest making some sort of a "search" type of screen and filter

your
records that way. Just dynamically build a SQL statement using the search
criteria for your where clause, that will help slim down your list. If

your
data is not normalized this may be a bit difficult. You can page your
results with a DataGrid in ASP.Net, but I don't think you can with

winforms.

HTH

--
Lateralus [MCAD]
"VMI" <vo******@yahoo .com> wrote in message
news:Oh******** ******@TK2MSFTN GP15.phx.gbl...
> Thanks for your replies.
> We were initially working with 10,000-15,000 records and we never imagined > that these records would reach 1 million, so it's really something we
> didn't
> think through very well (aka a design flaw).
> We've already migrated the data to database but we don't exactly know how > to
> query the database everytime the user does a scroll (or page up/page down) > in the grid. What event should we capture in order to query the DB
> again
> and
> fill the table? Also, I assume we need to create a Select statement
> that
> will display the next N records once the user has reached the last visible > record in the grid/datatable (in pseudocode: "Select the next N records
> from
> table following the last record displayed"). That's what we haven't
> been
> able to figure out.
>
> Any help is appreciated.
>
>
> "VMI" <vo******@yahoo .com> wrote in message
> news:uM******** ******@TK2MSFTN GP15.phx.gbl...
>> We have this huge application that's based on storing tons of data on
>> a
>> dataTable. The only problem we're having is that storing LOTS of data (1 >> million records) into a datatable will slow down the system since all
>> this
>> data will be stored in memory. The performance is really affected with
> this.
>> Since we don't really want to redesign everything based on this
>> datatable,
>> are there any companies that offer a product similar to the datatable
>> that
>> stores lots of data in a more efficient way? Basically, we load all this >> data (it's a one-shot process) into the datatable and work with that. We >> don't want to change any of that; we just want something similar to
>> the
>> datatable that stores a better way. Also, the windows datagrid should be >> able to bind to this new table without many problems.
>>
>>
>> Thanks.
>>
>>
>
>



Nov 16 '05 #8
VMI
If I were to do it this way (display data after being queried), there's no
guarantee that a user will not create a query that returns 500,000 records.
Since this is address data (each record is a physical,PO Box, residential
address) and the user decides he/she wants to view all the possible
addresses in NY, this query would return at least 500K addresses for the
user to view. The user may only look at 5 addresses but the 500k records
would still need to be there. That's where I'd need to create some other way
to query the table by telling it that, of the 500K records that the initial
query affects, only return records 1-100 (first 100) to the datatable. When
the user scrolls, or does a page down, run a query saying to bring in the
next 100 records (101-200) of the initial 500K query, and so on.
I know I'm exagerating a bit because most tables will contain 300K-500K of
addresses for a state, but the user, as impossible as it may be, may want to
look at all the records.

What would you guys suggest?
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote in
message news:O0******** ******@TK2MSFTN GP15.phx.gbl...
I have to ask, what human can possibly process 500K records at one time? Think of things like paging, etc, etc, to cut down on the result set and
then display that. I would definitely say that this is the kind of scenario where some out of the box thinking would be a good thing.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"VMI" <vo******@yahoo .com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
But there may be a possibility that a certain query will return 500K
records. In that case, I'd need to load those 500K records into the table.

"Lateralus [MCAD]" <dnorm252_at_ya hoo.com> wrote in message
news:Oa******** ******@TK2MSFTN GP11.phx.gbl...
I think you may want to take another approach. Are there any fields you

can
filter on? For instance you may have a foreign key to a lookup type
table.

I
would suggest making some sort of a "search" type of screen and filter

your
records that way. Just dynamically build a SQL statement using the search criteria for your where clause, that will help slim down your list. If

your
data is not normalized this may be a bit difficult. You can page your
results with a DataGrid in ASP.Net, but I don't think you can with

winforms.

HTH

--
Lateralus [MCAD]
"VMI" <vo******@yahoo .com> wrote in message
news:Oh******** ******@TK2MSFTN GP15.phx.gbl...
> Thanks for your replies.
> We were initially working with 10,000-15,000 records and we never

imagined
> that these records would reach 1 million, so it's really something we
> didn't
> think through very well (aka a design flaw).
> We've already migrated the data to database but we don't exactly know

how
> to
> query the database everytime the user does a scroll (or page up/page

down)
> in the grid. What event should we capture in order to query the DB
> again
> and
> fill the table? Also, I assume we need to create a Select statement
> that
> will display the next N records once the user has reached the last

visible
> record in the grid/datatable (in pseudocode: "Select the next N records > from
> table following the last record displayed"). That's what we haven't
> been
> able to figure out.
>
> Any help is appreciated.
>
>
> "VMI" <vo******@yahoo .com> wrote in message
> news:uM******** ******@TK2MSFTN GP15.phx.gbl...
>> We have this huge application that's based on storing tons of data on >> a
>> dataTable. The only problem we're having is that storing LOTS of data
(1
>> million records) into a datatable will slow down the system since
all >> this
>> data will be stored in memory. The performance is really affected with > this.
>> Since we don't really want to redesign everything based on this
>> datatable,
>> are there any companies that offer a product similar to the datatable >> that
>> stores lots of data in a more efficient way? Basically, we load all

this
>> data (it's a one-shot process) into the datatable and work with

that. We
>> don't want to change any of that; we just want something similar to
>> the
>> datatable that stores a better way. Also, the windows datagrid
should be
>> able to bind to this new table without many problems.
>>
>>
>> Thanks.
>>
>>
>
>



Nov 16 '05 #9
Since winforms doesn't have a datagrid that has "paging" to my knowledge.
You may want to look into inheriting from DataGrid, or creating a
usercontrol with a datagrid on it, then add your own custom functionality.
e.g., << previous page, next page >> type of buttons/links on it. Obviously
adding the custom functionality will not be the easiest thing to do, but I'm
sure it can be done. Probably the easiest thing to do would be to limit the
number of records you show in the grid. As you said before 1 - 100, then
101 - 200 etc....

--
Lateralus [MCAD]
"VMI" <vo******@yahoo .com> wrote in message
news:uK******** ******@tk2msftn gp13.phx.gbl...
If I were to do it this way (display data after being queried), there's no
guarantee that a user will not create a query that returns 500,000
records.
Since this is address data (each record is a physical,PO Box, residential
address) and the user decides he/she wants to view all the possible
addresses in NY, this query would return at least 500K addresses for the
user to view. The user may only look at 5 addresses but the 500k records
would still need to be there. That's where I'd need to create some other
way
to query the table by telling it that, of the 500K records that the
initial
query affects, only return records 1-100 (first 100) to the datatable.
When
the user scrolls, or does a page down, run a query saying to bring in the
next 100 records (101-200) of the initial 500K query, and so on.
I know I'm exagerating a bit because most tables will contain 300K-500K of
addresses for a state, but the user, as impossible as it may be, may want
to
look at all the records.

What would you guys suggest?
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote
in
message news:O0******** ******@TK2MSFTN GP15.phx.gbl...
I have to ask, what human can possibly process 500K records at one

time?
Think of things like paging, etc, etc, to cut down on the result set and
then display that. I would definitely say that this is the kind of

scenario
where some out of the box thinking would be a good thing.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"VMI" <vo******@yahoo .com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
> But there may be a possibility that a certain query will return 500K
> records. In that case, I'd need to load those 500K records into the table. >
>
> "Lateralus [MCAD]" <dnorm252_at_ya hoo.com> wrote in message
> news:Oa******** ******@TK2MSFTN GP11.phx.gbl...
>> I think you may want to take another approach. Are there any fields
>> you
> can
>> filter on? For instance you may have a foreign key to a lookup type
>> table.
> I
>> would suggest making some sort of a "search" type of screen and filter
> your
>> records that way. Just dynamically build a SQL statement using the search >> criteria for your where clause, that will help slim down your list. If
> your
>> data is not normalized this may be a bit difficult. You can page your
>> results with a DataGrid in ASP.Net, but I don't think you can with
> winforms.
>>
>> HTH
>>
>> --
>> Lateralus [MCAD]
>>
>>
>> "VMI" <vo******@yahoo .com> wrote in message
>> news:Oh******** ******@TK2MSFTN GP15.phx.gbl...
>> > Thanks for your replies.
>> > We were initially working with 10,000-15,000 records and we never
> imagined
>> > that these records would reach 1 million, so it's really something
>> > we
>> > didn't
>> > think through very well (aka a design flaw).
>> > We've already migrated the data to database but we don't exactly
>> > know
> how
>> > to
>> > query the database everytime the user does a scroll (or page up/page
> down)
>> > in the grid. What event should we capture in order to query the DB
>> > again
>> > and
>> > fill the table? Also, I assume we need to create a Select statement
>> > that
>> > will display the next N records once the user has reached the last
> visible
>> > record in the grid/datatable (in pseudocode: "Select the next N records >> > from
>> > table following the last record displayed"). That's what we haven't
>> > been
>> > able to figure out.
>> >
>> > Any help is appreciated.
>> >
>> >
>> > "VMI" <vo******@yahoo .com> wrote in message
>> > news:uM******** ******@TK2MSFTN GP15.phx.gbl...
>> >> We have this huge application that's based on storing tons of data on >> >> a
>> >> dataTable. The only problem we're having is that storing LOTS of data > (1
>> >> million records) into a datatable will slow down the system since all >> >> this
>> >> data will be stored in memory. The performance is really affected with >> > this.
>> >> Since we don't really want to redesign everything based on this
>> >> datatable,
>> >> are there any companies that offer a product similar to the datatable >> >> that
>> >> stores lots of data in a more efficient way? Basically, we load all
> this
>> >> data (it's a one-shot process) into the datatable and work with that. > We
>> >> don't want to change any of that; we just want something similar to
>> >> the
>> >> datatable that stores a better way. Also, the windows datagrid should > be
>> >> able to bind to this new table without many problems.
>> >>
>> >>
>> >> Thanks.
>> >>
>> >>
>> >
>> >
>>
>>
>
>



Nov 16 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2699
by: JC | last post by:
Hi, I have a database that imports 4 reports to my "data" table, each report has its own identifier. Then I have a table with Analysts with the report identifier that they are to be assigned to. What I need to do is loop the two tables so that an Analyst is assigned to each record in the "data" table based on the identifier. For example, I have one analyst that needs to be assigned to the "H" report records, one analyst that needs to...
3
12017
by: Marty McDonald | last post by:
I have <asp:Table... </asp:Table> on my webform. In codebehind, I populate a DataTable whose data should appear in the asp:Table. I created my own code to populate the asp:Table with the DataTable, then I discovered the asp:Table has a DataBind method. But the method takes no args and so I'm confused how to use it. Is there a link to see how DataBind works for asp:Table? Should I just use my own code anyway? Thanks... Here's my...
4
1294
by: angus | last post by:
Dear All, in my asp.net, i have - a textbox to input a text - a "add row" button, after it has been clicked the text in the textbox will add to the table - a submit button, the user can add a lot of the rows until submit button is pressed. during that, the data added in the table will be insert into the database
5
3541
by: PAUL | last post by:
Hello, I have 2 tables with a relationship set up in the dataset with vb ..net. I add a new record to the parent table then edit an existing child record to have the new parent ID. However when I do the update the changed parentid in the child table fails to change. No error is given its just that the change is not written to the Database. When I step through the records for the child table the one I would expect to be changed has a row...
2
1177
by: invinfo | last post by:
I don't recall exactly what options I selected in September when I installed the beta v5.0.4 on my development machine, But, as I started to develop and then backup data, I noticed that my tables are all using the storage engine: InnoDB. Can someone jog my memory and tell me what options cause that to be the default ? I'm on the fence, b/w choosing MyISAM and InnoDB - I don't think I'll be using any transactions or foreign keys, in my...
1
7354
by: kingster | last post by:
Hi, I have a regular dataset and all i want to do is make a pivot table display in a browser with the datasource of the pivot table to be this dataset and then the end-user will be able to do whatever they want ... i dont need to do any special formatting just a straigh ot pivot tables usign sql server, asp.net, vb.net, OWC 10
9
22502
by: dba123 | last post by:
I need some help and direction on what classes and an example or two (article) on how to read an Excel Worksheet and insert one column into a database table column. I am using .NET 2.0 only. What namespaces and classes should I use and how? -- dba123
2
3461
by: DubSport | last post by:
I have created a datatable in a function, and it is populated with data. I want to call a new function from an ASP button, and write out some of the values in the datatable, using: string RowValue; RowValue = dt.Rows.ToString(); Response.Write(RowValue); Now when I run that code from within the same function that the datatable was populated from, it works.
3
1978
by: wbw | last post by:
I will be querying from many databases and all of the databases that all have a table beginning with word the "DataTable", but are named differently for example DataTable981911, DataTable98174, DataTable946. How can I create a select query on table beginning with the word "DataTable"? Find the table 9 characters in length beginning with the word "DataTable" and then do the select query from it. Thanks for your help.
0
8983
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8822
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9310
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9236
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6792
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6072
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4863
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3298
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2206
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.