locked
conexion usuario SA a visual basic RRS feed

  • Question

  • tengo un problema al siguiente codigo como hago para agregar User Sa y la contraseña estoy creando buscar datos en sql server 

     <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(),  _
             Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0"),  _
             Global.System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter"),
             Global.System.ComponentModel.DataObjectMethodAttribute(Global.System.ComponentModel.DataObjectMethodType.Fill, False)>
            Public Overloads Overridable Function BuscarProduccion(ByVal dataTable As Produccion1DataSet2.DATOS1DataTable) As Integer

                Me.Adapter.SelectCommand = Me.CommandCollection(2)
                If (Me.ClearBeforeFill = True) Then
                    dataTable.Clear()
                End If
                Dim returnValue As Integer = Me.Adapter.Fill(dataTable)
                Return returnValue
            End Function

    este es el error me podrian ayudar como explicar como agregar esa parte gracias 

    Tuesday, September 22, 2020 2:59 PM

All replies

  • Hello,

    This forum is for C#. See the following post for possible resolutions. Also these forums are for English, when posting please translate to English.


    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    StackOverFlow
    profile for Karen Payne on Stack Exchange


    Tuesday, September 22, 2020 3:15 PM