PC Review


Reply
Thread Tools Rate Thread

cant get data to show up on gridview

 
 
Paul
Guest
Posts: n/a
 
      14th Mar 2008
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.
 
Reply With Quote
 
 
 
 
David Wier
Guest
Posts: n/a
 
      14th Mar 2008
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" <(E-Mail Removed)> wrote in message
news:F06FC593-8D22-4267-AF1D-(E-Mail Removed)...
> 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.



 
Reply With Quote
 
Paul
Guest
Posts: n/a
 
      14th Mar 2008
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" <(E-Mail Removed)> wrote in message
> news:F06FC593-8D22-4267-AF1D-(E-Mail Removed)...
> > 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.

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Will this work? Trying to show relational data in a GridView DanThMan Microsoft C# .NET 1 27th Feb 2008 11:31 PM
Re: Show/hiden buttons in GridView according to data value? zb Microsoft ASP .NET 0 5th Jan 2007 11:26 PM
How to show GridView bound to empty data source? (2.0) Tomasz Jastrzebski Microsoft ASP .NET 12 4th Dec 2006 08:11 AM
gridview does not show up if there is no data Beemer Biker Microsoft ASP .NET 2 10th Nov 2006 02:36 AM
gridview doesn't show data at first page load tarscher@gmail.com Microsoft ASP .NET 3 29th Aug 2006 03:52 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:58 PM.