Click here to Skip to main content
15,897,518 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: SUM Pin
MrRhodos17-Dec-09 23:13
MrRhodos17-Dec-09 23:13 
QuestionLocal Server Pin
sanforjackass17-Dec-09 8:29
sanforjackass17-Dec-09 8:29 
AnswerRe: Local Server Pin
David Mujica17-Dec-09 8:38
David Mujica17-Dec-09 8:38 
GeneralRe: Local Server Pin
sanforjackass17-Dec-09 8:44
sanforjackass17-Dec-09 8:44 
GeneralRe: Local Server Pin
ESTAN17-Dec-09 13:08
ESTAN17-Dec-09 13:08 
GeneralRe: Local Server Pin
shiva.kore17-Dec-09 19:38
shiva.kore17-Dec-09 19:38 
Questionado.net - DataRelation Vs InnerJoin Pin
Hanzaplast17-Dec-09 4:33
Hanzaplast17-Dec-09 4:33 
AnswerRe: ado.net - DataRelation Vs InnerJoin Pin
Abhishek Sur17-Dec-09 5:16
professionalAbhishek Sur17-Dec-09 5:16 
KokosZG wrote:
my approach in developing "smart" DataGrid(edit, delete, javascript confirm, dropdown list, uploads, wysiwyg, that kind of stuff inside) is using only sql queries. analize somewhat complex query, pass few values via some property, and finaly bind it.

am i doing this wrong way? this DataRelation seems quite interesting. should i change approach? anyone who was working on similiar projects, how did you designed DataSets, DataTable, queries and relation between em?


I cant understand these few lines Cry | :(( Cry | :((

Well, Regarding DataRelation, it is actually giving some restriction on update of data within a dataset. There is nothing to deal with database if you dont want to use Update to the Dataset again to the Database.

I generally dont use DataRelation as such, I keep foreign key on the database and handle the restriction in database. But seriously, it is nice to have. If you can implement a Relationship in the client end, you can throw error from the application itself, and dont require to run the update in the database.

Note: By client, I mean from Application.

Queries in Database is very different from the Query in DataSets. DataSets are in memory data, while DataBase is the actual storage place.

Please clarify what exactly the problem you are facing to help you ...

Cheers.

Abhishek Sur
Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->

Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript

GeneralRe: ado.net - DataRelation Vs InnerJoin Pin
Hanzaplast17-Dec-09 6:55
Hanzaplast17-Dec-09 6:55 
Questionchart in crystalreport Pin
ptvce17-Dec-09 1:15
ptvce17-Dec-09 1:15 
AnswerRe: chart in crystalreport Pin
Abhishek Sur17-Dec-09 5:08
professionalAbhishek Sur17-Dec-09 5:08 
QuestionDynamic updation after publishing Pin
SreejithKumar M16-Dec-09 23:45
SreejithKumar M16-Dec-09 23:45 
AnswerRe: Dynamic updation after publishing Pin
Arindam Tewary17-Dec-09 0:12
professionalArindam Tewary17-Dec-09 0:12 
QuestionWeb to Desktop! Pin
Sr...Frank16-Dec-09 23:42
Sr...Frank16-Dec-09 23:42 
AnswerCross post Pin
dan!sh 17-Dec-09 0:38
professional dan!sh 17-Dec-09 0:38 
AnswerRe: Web to Desktop! Pin
Abhishek Sur17-Dec-09 1:37
professionalAbhishek Sur17-Dec-09 1:37 
QuestionDelete a file Pin
Abbas_here16-Dec-09 23:39
Abbas_here16-Dec-09 23:39 
AnswerRe: Delete a file Pin
Arindam Tewary17-Dec-09 0:44
professionalArindam Tewary17-Dec-09 0:44 
GeneralRe: Delete a file Pin
Abbas_here17-Dec-09 1:16
Abbas_here17-Dec-09 1:16 
GeneralRe: Delete a file Pin
Arindam Tewary17-Dec-09 1:55
professionalArindam Tewary17-Dec-09 1:55 
QuestionModelDialog Window Vs Normal pop up dialog window Pin
kyreddy16-Dec-09 22:46
kyreddy16-Dec-09 22:46 
QuestionCool Iris .... Pin
Subin Mavunkal16-Dec-09 20:54
Subin Mavunkal16-Dec-09 20:54 
AnswerRe: Cool Iris .... Pin
John Bracey16-Dec-09 21:29
John Bracey16-Dec-09 21:29 
Questionwhen page refresh happen Fileupload control get cleared. Pin
chakran16-Dec-09 20:27
chakran16-Dec-09 20:27 
AnswerRe: when page refresh happen Fileupload control get cleared. Pin
dan!sh 16-Dec-09 21:09
professional dan!sh 16-Dec-09 21:09 

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.