Solved

VB.NET webform to display data in a DataGrid.

Posted on 2003-12-04
6
335 Views
Last Modified: 2010-04-17
I am using a VB.NET webform to display data in a DataGrid.
My SQLDataAdapter (called DaOperatorActions) uses a stored procedure that requires three input parameters. When I run the code below, I get the error msg saying that the input paramters are not supplied.

        If Not Me.IsPostBack Then

            Me.DaOperatorActions.Fill(Me.DsOperatorActions1)
            Me.dgOperatorActions.DataSource = Me.DsOperatorActions1
            Me.dgOperatorActions.DataBind()
        End If

Could you tell me the syntax for the lines of code that provide the input parameters to the DataAdapter's stored procedure.

Thanks,

Michael
0
Comment
Question by:michael5865
  • 2
6 Comments
 
LVL 15

Expert Comment

by:Raisor
ID: 9875701
Hi,

Is this supposed to be all the code? Please give me info about the modules or functions from where you're connecting to the database!


Best regards, Raisor
0
 

Author Comment

by:michael5865
ID: 9878399
Actually, I now have a more urgent question.
I am trying to run my VB.NET application on a different computer.
The first time I try to run this web appliaction I encounter a problem with my .NET set up.
The error msg I get is:
"Error while trying to run project. Unable to start debugging on the web server. The server does not support debugging of ASP.NET or ATL Server applications. Run set up to install the Visual Studio .NET server components. If setup has been run verify that a valid URL has been specified."
Could you tell me how to solve this problem? How do I verify the URL? What components should I install? Any help will be appreciated.
Thanks,
Michael
0
 
LVL 15

Accepted Solution

by:
Raisor earned 500 total points
ID: 9878562
Hi,

Most likely, this error is caused because the IIS Web application is not configured to accept Windows Integrated authentication, which is used by VS.NET to attach to the ASP.NET worker process. If that doesn't work, you can try attaching directly to it by using the Debug – Processes menu option

This answer I found here: http://searchvb.techtarget.com/vsnetATEAnswers/0,293820,sid8_gci927457_tax293672,00.html


Best regards, Raisor
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
groupNoAdj 7 105
firstswap challenge 20 83
Tax Considerations for positive outcomes, outside the U.S. for IT Professionals 3 49
egit plugin on eclipse 8 82
This is about my first experience with programming Arduino.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question