StrataFrame Forum
Back
Login
Login
Home
»
.NET Forums
»
General .NET Discussion
»
SQLParameter question...
SQLParameter question...
Post Reply
Like
1
SQLParameter question...
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
StarkMike
StarkMike
posted 20 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 436,
Visits: 944
Consider this code...
If a = True Then
'add sqlparameter to parameter array
End If
If b = True Then
'add sqlparameter to parameter array
End If
If c = True Then
'add sqlparameter to parameter array
End If
Each time this code runs the parameter array could change sizes... The first time it could contain only one parameter... the second time it runs it could contain three parameters.
How do i define the parameter array when i dont know how many dimensions I'll need, and how do I add parameters to the array?
Reply
Like
1
Replies
StarkMike
StarkMike
posted 20 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 436,
Visits: 944
Thanks Trent. You're always full of help.
Reply
Like
1
Trent Taylor
Trent Taylor
posted 20 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 7K
Thanks! That's what we're here for!
Reply
Like
1
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
SQLParameter question...
StarkMike
-
20 Years Ago
First of all you can redimension arrays and maintain the contents...
Trent L. Taylor
-
20 Years Ago
The reason I was asking this question is because I am using the Data...
StarkMike
-
20 Years Ago
If it expects an array then you need to make one simple change:...
Trent L. Taylor
-
20 Years Ago
Thanks Trent. You're always full of help. :cool:;)
StarkMike
-
20 Years Ago
Thanks! That's what we're here for! ;)
Trent L. Taylor
-
20 Years Ago
Ok, so now how do I create a copy of this generic list? I've done a...
StarkMike
-
20 Years Ago
The 'lo' prefix is a hold-over from the FoxPro days when we had...
StrataFrame Team
-
20 Years Ago
WOW! I never would have thought of that. Thanks!
StarkMike
-
20 Years Ago
No problem... you can pass anything that implements the IEnumerable...
StrataFrame Team
-
20 Years Ago
Post Reply
Like
1
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search