473,395 Members | 1,440 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,395 software developers and data experts.

cant get data to show up on gridview

Hi I am using vs 2005 and have a simple windows application. I put a
gridview on a form and used the wizard to build a connection string (placed
it in the app.config file). For the dataset I selected a stored procedure
that requires no input. I tested the connection and it worked. It looks
like the wizard created a dataset called qualitydataset as well. I was just
wondering what code I needed to load the data in the gridview, in the form
load event?
thanks.
--
Paul G
Software engineer.
Mar 14 '08 #1
2 1042
Do you realize this is an ASP.Net forum (and not a Winforms forum)?

David Wier
http://aspnet101.com
http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no
bloated markup
"Paul" <Pa**@discussions.microsoft.comwrote in message
news:F0**********************************@microsof t.com...
Hi I am using vs 2005 and have a simple windows application. I put a
gridview on a form and used the wizard to build a connection string
(placed
it in the app.config file). For the dataset I selected a stored procedure
that requires no input. I tested the connection and it worked. It looks
like the wizard created a dataset called qualitydataset as well. I was
just
wondering what code I needed to load the data in the gridview, in the form
load event?
thanks.
--
Paul G
Software engineer.

Mar 14 '08 #2
thanks I ment to post in the windows forms section.
--
Paul G
Software engineer.
"David Wier" wrote:
Do you realize this is an ASP.Net forum (and not a Winforms forum)?

David Wier
http://aspnet101.com
http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no
bloated markup
"Paul" <Pa**@discussions.microsoft.comwrote in message
news:F0**********************************@microsof t.com...
Hi I am using vs 2005 and have a simple windows application. I put a
gridview on a form and used the wizard to build a connection string
(placed
it in the app.config file). For the dataset I selected a stored procedure
that requires no input. I tested the connection and it worked. It looks
like the wizard created a dataset called qualitydataset as well. I was
just
wondering what code I needed to load the data in the gridview, in the form
load event?
thanks.
--
Paul G
Software engineer.


Mar 14 '08 #3

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

Similar topics

0
by: Khuzema | last post by:
Dear All, I am using issue tracker architecture and developed business object for my application. Now, in VS Beta 2, I humbly want to know how i can have same feature as dataset, in my business...
0
by: Fernando Monteiro | last post by:
Hello, Could anyone please help me ? I've a GridView and I'd like to insert one of the girdview's dataset field as a row tooltip. The grid view is declared like: <asp:GridView...
2
by: Nick Hodge \(MVP\) | last post by:
Hi I currently have a gridview connected to a SQLDatasource. (This data comes from a remote iSeries). It shows catalogue sales as they build during the day (works great). I have a local SQL...
0
by: Sam | last post by:
I am fairly new to ASP. Net 2.0, background MS Access 2000/2003 and working knowledge of SQL 2000. Scenario: Page1: Blank Page loads with 2 Text Boxes (TxtLast, TxtFirst), a Command...
13
by: Tomasz Jastrzebski | last post by:
Helo All, The problem: GridView control does not render at all (header/footer) when the data source is empty. I have seen a similar question posted already, but I just can not believe there is...
6
by: rcoco | last post by:
Hi, I have a datagrid that is ment to insert data. But when I run the form only the header appears. I would like some advise from you all and solve this problem I'm using visual studio 2003. My...
4
by: Mark Olbert | last post by:
I'm running into a well-described issue in the ASPNET model that I haven't found a good work around for. I have a GridView to which I dynamically add data-bound TemplateFields at run-time. The...
3
by: =?Utf-8?B?UGF1bA==?= | last post by:
Hi I have a generic list of data list <typelistcategory; listcategory = new list <type>; I also have a dropdown box that I have put into a template column of a gridview. I was able to populate...
1
by: dotnetnovice | last post by:
Hi everybody... I want to show data in the data gridview placed in my form after getting data from my data access layer class through a class... Here is my code in the data access layer class....
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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...

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.