473,383 Members | 1,829 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

How to get table values in aspx.vb coding session

Hi,
I have web page, In that I created table and loaded row values at run_time using javascript. Now I want to take a those table values in aspx.vb coding area, I tried it does not pull up my values even my table has 3 rows, but in aspx.vb area it shows row count as 0. How can I achieve this.
May 14 '10 #1
5 2144
ThatThatGuy
449 Expert 256MB
Are you taking about DataGrid
May 14 '10 #2
@ThatThatGuy
No, I am mentioning just table.
May 14 '10 #3
ThatThatGuy
449 Expert 256MB
Then you need to put the attribute runat="server" in your table tags and then you may be able to access them via code
May 14 '10 #4
ya, I tried as you mentioned. But It shows only that initial no. of row count only even I added new rows at run_time...
May 14 '10 #5
ThatThatGuy
449 Expert 256MB
@visweswaran2830
if you want to do so then you might have to place runat="server" attribute at all td's and th's... that's simply stupid of course...

so you can send data to the code-behind....
by looping the tables through jaavscript in client side and then pass the retrieved data to the server via ajax....
May 15 '10 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Sue | last post by:
On code-behind page: (attributes set programatically for each of these elements) linkbutton added to tablecell textbox added to tablecell tablecells added to tablerow tablerow added to table...
3
by: Daniel | last post by:
right now i have some sql server tables that i search for a value w/ a key each time a .aspx is hit. is there any way i can just have the first hit to the .aspx select all the entries from the...
4
by: Nedu N | last post by:
Hi, I want to put a HTML table on aspx webform so that i can place my header, menu, footer user controls appropriately. I got 3 user controls header.ascx menu.ascx footer.ascx I trying to...
3
by: dbuchanan | last post by:
Hello, (Windows forms - SQL Server) I fill my datagrid with a stored procedure that includes relationships to lookup tables so that users can see the values of the combobox selections rather...
1
by: chinni0719 | last post by:
Hi I have a table values function and i would like to use the function in SSIS package OLEDB Souce select * from . ? I have a input parameter... in parameters i could not give variable I...
0
by: grthilak | last post by:
guys, i m a beginner to this stuff. i want to insert table values in ms access through c# by clicking a button. i saw several sample codes in net, but none of which i can understand clearly. i need...
0
gautam tarade
by: gautam tarade | last post by:
HI All, I have created 1 table in open office database. 2 fields: user name and password i want to take 2 labels ,2 text boxes ...for name and password on HTML page. Also 2 operations are...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.