Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

VB.NET webform to display data in a DataGrid.

Posted on 2003-12-04
6
Medium Priority
?
339 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:Ralf Klatt
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:
Ralf Klatt earned 2000 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

The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!

Question has a verified solution.

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

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Simple Linear Regression

705 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