Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8039545
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T03:36:17+00:00 2026-06-05T03:36:17+00:00

So, I am pretty new to web programming and I just understand the basic

  • 0

So, I am pretty new to web programming and I just understand the basic syntax, not too many advanced features or anything. Also, I really don’t have any experience with Javascript, but again I pretty much understand the syntax and general programming knowledge from my experience with C++, so I can probably figure it out.

Here’s what I’m looking to do. I have a web service that returns a DataSet variable/array/data structure. Since this is a .NET type, I figured it would be easiest to access this service with ASP.NET as well. I can read the data in from the web service and display individual elements by specifying table, row, and column, so I know the data is there. However, I want to display the results in a table. I did get this to work(I don’t have the code with me right now, however) but only when the page first loads. The web service method I am accessing performs a SQL query, and I want to be able to type in the query string into a text box, submit that to the server, and have it update/populate/create a table. I’m sure this is very simple, but like I said I’m just really new to web programming.

I remember seeing a page on w3’s tutorial site that used the “Web Pages” syntax inside an HTML table, and used a foreach loop to iterate through, create the new rows, input the data, etc. I understood that, but I’m not sure how to accomplish something similar with the “Web Forms” type of project(I’m stuck using visual studio or notepad++ since I’m doing this on my work PC, and I think the .cshtml files use a different editor)

I’m thinking either some form of inline code, or modifying an HTML element from the C# code (within the codebehind file) or using inline code within the HTML element itself. I’m not exactly sure how to write an event handler in ASP.NET, can you use an HTML form/button to call an ASP.NET function(again, which is within the codebehind file)? Also, sorry if something similar has been asked, I’m going a little crazy since I’ve just learned all this web dev stuff over the last week! Btw, can someone explain what happens to the ASP.NET elements when they are returned to the browser? Does the server basically convert them into basic HTML elements? The application I am working on will be used on mobile devices so it needs to be as simple as possible on the client side.

Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T03:36:18+00:00Added an answer on June 5, 2026 at 3:36 am

    You should be able to do what you are looking to do in an ASP.NET application without too many headaches. You should be able to add the controls to your page and then call the web service on postback.

    Is there a reason the results have to be bound in inline code? If not why not look at using an ASP.NET gridview or a Data Repeater Control. You can add the controls to the web page and then bind them in code behind once you have retrieved the values from the web service.

    With the gridview you should be able to just set the columns you want visible, set the data source and then call data bind. When rendered to the browser this will appear as a HTML table.

    With the repeater control you will have to do a bit more work to setup the item template but it should also work for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm pretty new to web programming, reading a book on ASP.NET, and I notice
I'm pretty new to web programming and I'm currently developing a web back end
I'm pretty new to web development, so I'm just trying to see if I
I am pretty new to web services. I am not able to find the
I'm a long-time web guy who's pretty new to iphone development. I'm finding many
I'm pretty new to web programming and I am trying to simply add text
I'm pretty new to SharePoint Web Part development, so I'm not sure the best
I am pretty new to django but experienced in Python and java web programming
I'm pretty new to Java web application and I just started a sample project
I am pretty new to web programming and am trying to get a personal

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.