troubleshooting Question

vb.net - Cursor form objects to set stored procedure parameter values

Avatar of WEhalt
WEhaltFlag for United States of America asked on
.NET ProgrammingVisual Basic.NET
4 Comments1 Solution366 ViewsLast Modified:
I would like to cursor through the items in my aspx form and automatically pass the parameter values instead of having to list each one individually.

    Protected Sub SaveDailyClose()

        ...
        Try
            '  Use a script that loops through each field on the form
            '  The object names on the form coincide with the parameter names
            '  create the call for the parameter
            ' move to the next object
     ...

        Catch ex As Exception
            Response.Write(ex.Message)
            oDataAccess.CloseConnection()
            Exit Sub

        End Try
ASKER CERTIFIED SOLUTION
rgn2121

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros