Click here to Skip to main content
15,887,214 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Using Resource file in C# .NET Pin
Adam R Harris11-Jun-10 8:17
Adam R Harris11-Jun-10 8:17 
GeneralRe: Using Resource file in C# .NET Pin
VOITDOTNET11-Jun-10 9:53
VOITDOTNET11-Jun-10 9:53 
AnswerRe: Using Resource file in C# .NET Pin
Sandeep Mewara11-Jun-10 10:28
mveSandeep Mewara11-Jun-10 10:28 
QuestionSearch and Replace String Value Pin
AsianRogueOne11-Jun-10 4:01
AsianRogueOne11-Jun-10 4:01 
AnswerRe: Search and Replace String Value Pin
Rhys Jacob11-Jun-10 4:51
Rhys Jacob11-Jun-10 4:51 
GeneralRe: Search and Replace String Value Pin
AsianRogueOne11-Jun-10 5:04
AsianRogueOne11-Jun-10 5:04 
GeneralRe: Search and Replace String Value Pin
AsianRogueOne11-Jun-10 5:08
AsianRogueOne11-Jun-10 5:08 
GeneralRe: Search and Replace String Value Pin
Rhys Jacob11-Jun-10 5:21
Rhys Jacob11-Jun-10 5:21 
Hi,

I sort of see what you're trying to do here but I think there are neater ways.

You're not really going to get the benefits of stored procedures but building up your sql like this and it's going to be very difficult to maintain.

I think you're trying to get one procedure to cater for all possible data access that you might want at any point in your application. How many different combinations of data do you need from exactly these tables?

I'd recommend splitting this procedure into several more specific procedures and then calling the procedures with strongly typed parameters. Or if you're building a much bigger system try reading up on ORM.

If you want to post a typical query that you might need from this database I can have a look at reformatting it for you.
GeneralRe: Search and Replace String Value Pin
AsianRogueOne11-Jun-10 5:34
AsianRogueOne11-Jun-10 5:34 
GeneralRe: Search and Replace String Value Pin
Rhys Jacob11-Jun-10 5:56
Rhys Jacob11-Jun-10 5:56 
GeneralRe: Search and Replace String Value Pin
AsianRogueOne11-Jun-10 6:27
AsianRogueOne11-Jun-10 6:27 
GeneralRe: Search and Replace String Value Pin
Rhys Jacob13-Jun-10 21:43
Rhys Jacob13-Jun-10 21:43 
AnswerRe: Search and Replace String Value Pin
AsianRogueOne21-Jun-10 9:57
AsianRogueOne21-Jun-10 9:57 
QuestionScriptManager.RegisterClientScriptBlock issue Pin
trilokharry11-Jun-10 3:44
trilokharry11-Jun-10 3:44 
AnswerRe: ScriptManager.RegisterClientScriptBlock issue Pin
Sandeep Mewara11-Jun-10 6:48
mveSandeep Mewara11-Jun-10 6:48 
QuestionBind asp.net menu control with treeview Pin
yesu prakash11-Jun-10 3:21
yesu prakash11-Jun-10 3:21 
AnswerRe: Bind asp.net menu control with treeview Pin
Sandeep Mewara11-Jun-10 6:57
mveSandeep Mewara11-Jun-10 6:57 
QuestionExport data to excel in formatted way Pin
Karan_TN11-Jun-10 1:21
Karan_TN11-Jun-10 1:21 
AnswerRe: Export data to excel in formatted way Pin
Peace ON11-Jun-10 2:28
Peace ON11-Jun-10 2:28 
QuestionHtmlTabHTleRow Pin
siva45511-Jun-10 0:11
siva45511-Jun-10 0:11 
AnswerRe: HtmlTabHTleRow Pin
saini arun11-Jun-10 3:20
saini arun11-Jun-10 3:20 
QuestionLoading controls on page with UpdatePanel Pin
Łukasz Nowakowski10-Jun-10 23:50
Łukasz Nowakowski10-Jun-10 23:50 
AnswerRe: Loading controls on page with UpdatePanel Pin
Brij10-Jun-10 23:56
mentorBrij10-Jun-10 23:56 
GeneralRe: Loading controls on page with UpdatePanel Pin
Łukasz Nowakowski11-Jun-10 0:26
Łukasz Nowakowski11-Jun-10 0:26 
GeneralRe: Loading controls on page with UpdatePanel Pin
Łukasz Nowakowski11-Jun-10 0:37
Łukasz Nowakowski11-Jun-10 0:37 

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.