Click here to Skip to main content
15,892,746 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Connect to remote sql server Pin
satc9-Jul-15 20:19
satc9-Jul-15 20:19 
AnswerRe: Connect to remote sql server Pin
PIEBALDconsult9-Jul-15 18:31
mvePIEBALDconsult9-Jul-15 18:31 
GeneralRe: Connect to remote sql server Pin
satc11-Jul-15 4:09
satc11-Jul-15 4:09 
AnswerRe: Connect to remote sql server Pin
Eddy Vluggen9-Jul-15 22:15
professionalEddy Vluggen9-Jul-15 22:15 
GeneralRe: Connect to remote sql server Pin
satc10-Jul-15 2:55
satc10-Jul-15 2:55 
GeneralRe: Connect to remote sql server Pin
Eddy Vluggen10-Jul-15 3:20
professionalEddy Vluggen10-Jul-15 3:20 
AnswerRe: Connect to remote sql server Pin
Richard Deeming10-Jul-15 1:52
mveRichard Deeming10-Jul-15 1:52 
QuestionHow to Call Stored Procedure parameters in Class Pin
Mohamed Hamdy9-Jul-15 14:42
Mohamed Hamdy9-Jul-15 14:42 
Hello ,
I want to ask a question First I'm using VB.NET and I want to know How to Call Stored Procedure parameters in Class ?
What I mean I have a lot of parameters in my Stored Procedure and I want to call it in my form by using that Function but I can't put parameters because it's approximately 15 params.
this my code in class :
Public Function Add_Ne(ExecQ As String) As Boolean
       Try
           con.Open()
           With cmd
               .CommandType = CommandType.Text
               .CommandText = ExecQ
               .Connection = con
               '   .Parameters.AddWithValue(paramxx, TextN)
               .ExecuteNonQuery()
           End With
               con.Close()
           Return True
       Catch ex As Exception
           MessageBox.Show(ex.Message)
           Return False
       End Try

   End Function


Thanks.
QuestionRe: How to Call Stored Procedure parameters in Class Pin
Ralf Meier9-Jul-15 20:29
mveRalf Meier9-Jul-15 20:29 
AnswerRe: How to Call Stored Procedure parameters in Class Pin
Mohamed Hamdy10-Jul-15 6:23
Mohamed Hamdy10-Jul-15 6:23 
QuestionRe: How to Call Stored Procedure parameters in Class Pin
Eddy Vluggen10-Jul-15 7:10
professionalEddy Vluggen10-Jul-15 7:10 
AnswerRe: How to Call Stored Procedure parameters in Class Pin
Wendelius10-Jul-15 7:18
mentorWendelius10-Jul-15 7:18 
AnswerRe: How to Call Stored Procedure parameters in Class Pin
Eddy Vluggen9-Jul-15 23:07
professionalEddy Vluggen9-Jul-15 23:07 
QuestionRun time Error Can't find project Library, Missing Reference attachemat Extra '0.9 Pin
Member 117214498-Jul-15 20:14
Member 117214498-Jul-15 20:14 
AnswerRe: Run time Error Can't find project Library, Missing Reference attachemat Extra '0.9 Pin
RedDk9-Jul-15 6:52
RedDk9-Jul-15 6:52 
QuestionData Access Layer, returning data Pin
jkirkerx6-Jul-15 12:33
professionaljkirkerx6-Jul-15 12:33 
AnswerRe: Data Access Layer, returning data Pin
Dave Kreskowiak7-Jul-15 9:36
mveDave Kreskowiak7-Jul-15 9:36 
GeneralRe: Data Access Layer, returning data Pin
jkirkerx7-Jul-15 10:40
professionaljkirkerx7-Jul-15 10:40 
GeneralRe: Data Access Layer, returning data Pin
Dave Kreskowiak7-Jul-15 10:50
mveDave Kreskowiak7-Jul-15 10:50 
GeneralRe: Data Access Layer, returning data Pin
jkirkerx7-Jul-15 11:20
professionaljkirkerx7-Jul-15 11:20 
GeneralRe: Data Access Layer, returning data Pin
jkirkerx7-Jul-15 11:27
professionaljkirkerx7-Jul-15 11:27 
GeneralRe: Data Access Layer, returning data Pin
Dave Kreskowiak7-Jul-15 14:54
mveDave Kreskowiak7-Jul-15 14:54 
GeneralRe: Data Access Layer, returning data Pin
jkirkerx8-Jul-15 12:46
professionaljkirkerx8-Jul-15 12:46 
GeneralRe: Data Access Layer, returning data Pin
Dave Kreskowiak8-Jul-15 14:56
mveDave Kreskowiak8-Jul-15 14:56 
AnswerRe: Data Access Layer, How to get the count, and use the data returned by the first function posted above Pin
jkirkerx7-Jul-15 14:04
professionaljkirkerx7-Jul-15 14:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.