Results 1 to 2 of 2

Thread: Dataset generation in VS .NET

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Dec 2002
    Posts
    175

    Question Dataset generation in VS .NET

    Hi,
    I've got a SQL Server table (small) with 5 fields first of which is an autonumber field.
    Created SQL Dataadapter in VS on a form and configured it to use an SP which simply selects the fields. HOwever, when I try to create a dataset from it visually - in the code the typed dataset is missing the initial field completely!
    Does anyone know what's happening here, please?

    Thanks.

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    Check what your stored procedure is returning. Also look at your dataset, and see if you have auto generate columns checked. If you don't, make sure you have columns specified for each column you want to show.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width