Solved

VB.NET webform to display data in a DataGrid.

Posted on 2003-12-04
6
337 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 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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

A short article about problems I had with the new location API and permissions in Marshmallow
What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Starting up a Project

636 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