Wrox Programmer Forums
ASP.NET 4 General Discussion For ASP.NET 4 discussions not relating to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 4 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old March 20th, 2013, 11:14 AM
Registered User
Join Date: Mar 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Brand New User Numpty Question

Hi I'm brand new to ASP programming but have been programming in traditional character based languages like BASIC, COBOL & various 4GLs for nearly 30 years in various commercial environments on proprietory Mainframes & UNIX based systems and am struggling a bit to convert to ASP.

I've worked my way through Beginning ASP.NET & am now looking at Professional ASP.NET. I am using C#.

My problem for today is as follows:
Using ADO Professional ASP.NET shows a class for selecting data. Listing 8.1 for those with the book.

public class SelectingData
public List<string> GetCompanyData()
//Code here links to North Wind Database and queries CompanyName from Customer table and eventually returns a string containing all the names.

What I want to know is how would I call such a class from a button click and return the data into a Text Box or some other form of display like a grid view.

Similar Threads
Thread Thread Starter Forum Replies Last Post
cheap brand shoes sell saler VBScript 0 November 26th, 2007 07:12 AM
Brand New Database, No records ken.barrett ASP.NET 2.0 Basics 0 October 20th, 2005 04:38 PM
brand newbie - picking out values forkhead XML 2 August 19th, 2005 05:02 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.