Solved

VB.NET webform to display data in a DataGrid.

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
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…

747 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now