Buy Questpond's video subscriptions on
huge discount
.
Online: 11048
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Forums
>
ASP.NET
>
Loading ...
how to send 100 controls data to db sp as parameters? [Resolved]
Posted by
Rajendra.prasad
under
ASP.NET
on 5/6/2011 |
Points: 10
| Views : 2076 | Status :
[Member]
| Replies : 5
Write New Post
|
Search Forums
|
Resolved Posts
|
Un Answered Posts
|
Forums Home
Hi,
how to send 100 controls data to db sp as parameters? Means, in UI there are around 100 controls need to send those controls values as parameters to a sp in DAL layer. how. any idea//
Regards
Rajendra
[Resolved]
Reply
|
Reply with Attachment
Alert Moderator
Responses
Posted by:
Lokesh76
on: 5/7/2011
[Member]
Starter
|
Points: 50
0
As mention by you 100 controls so Its not good idea to pass data in as sqlparameter for each controls rather then this make a variable with complete data string with "|" or any other character which is not used in values itself and then pass to SP as a parameter in DB side separate the values and save to DB.
If you find out of 100 control values some of them is containing large data make them separate.
Thanks
Lokesh Kumar
Rajendra.prasad
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Kumar_jay99
on: 5/7/2011
[Member]
Starter
|
Points: 50
0
I think, we can also send 100 controls data through XML and Procedure we can separate it.
Rajendra.prasad
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Lokesh76
on: 5/7/2011
[Member]
Starter
|
Points: 25
0
Yes agree, thats also good way to doing the same. thanks
Thanks
Lokesh Kumar
Rajendra.prasad
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Vuyiswamb
on: 5/7/2011
[Member]
[MVP]
[Administrator]
NotApplicable
|
Points: 25
0
Guys tell me,
What kind of Application is Sending 100 paramters to a a StoredProcedure , or to the the database ?
This should be a red alert , that this is not correct, there is something wrong here. You should not help people to do wrong things.
Rajendra.prasad why do want to send 100 paraters , you want to tell me that you have a storedprocedure or a page that accept 100 controls ? i wonder who will be doing data capturing in that application.
Thank you for posting at Dotnetfunda
[Administrator]
Rajendra.prasad
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Rajendra.prasad
on: 5/8/2011
[Member]
Starter
|
Points: 25
0
Mr. Vuyiswa Maseko,
thanks for your concern. this question is raised by me not for developing an application, rather it was asked to me in an interview.
Regards,
Rajendra
Rajendra.prasad
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Login to post response
Latest Posts
How to get the exact property name while getting error
(0)
PDB file is not showing Line Number in dot net application hosted on server
(0)
Both Strings morethan 5 letters in length end of the words one vowel and one consonent is different
(0)
how to check Any adjacent letters transposed between two strings(ex: JOHN, JHON)
(1)
can't receive data after success login ?
(1)
Implement Multi-Tenant in Azure Logic Apps
(0)
Why ASP.Net Core 7.0 Web API showing as Connection refused?
(0)
Iterating over columns of dataframe and print as rows in Python Django
(0)
More ...