Solved

VB.NET webform to display data in a DataGrid.

Posted on 2003-12-04
6
336 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
In this post we will learn different types of Android Layout and some basics of an Android App.

752 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