Click here to Skip to main content
15,891,903 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionProblem in property grid Pin
Soni_moni4-Sep-12 18:11
Soni_moni4-Sep-12 18:11 
AnswerRe: Problem in property grid Pin
Sandeep Mewara4-Sep-12 19:05
mveSandeep Mewara4-Sep-12 19:05 
Questioncan one asp custom validator control be used for multiple controls Pin
PP from bangalore4-Sep-12 9:06
PP from bangalore4-Sep-12 9:06 
QuestionLabel Value Using JavaScript Pin
pknarun4-Sep-12 3:22
pknarun4-Sep-12 3:22 
AnswerRe: Label Value Using JavaScript Pin
Sandeep Mewara4-Sep-12 19:28
mveSandeep Mewara4-Sep-12 19:28 
QuestionRdlc Pin
ashwani Kumar Una3-Sep-12 22:27
ashwani Kumar Una3-Sep-12 22:27 
AnswerRe: Rdlc Pin
Sandeep Mewara4-Sep-12 19:31
mveSandeep Mewara4-Sep-12 19:31 
Questionupdating multiple tables,dataadapter,transaction Pin
SaturnPlanet3-Sep-12 6:54
SaturnPlanet3-Sep-12 6:54 
I was looking for how to use the dataadapter to make updatings on multiple tables with a single transaction.

I´ve found a couple examples, but they just add, more questions. As I understood in order to dataadapter could trace the table´s changes we have to fill the dataset with each table data store in the database by doing select * from table and then using dataadapter.fill method. But in the most of cases the tables are so big enought and because of web environment many user can using the application at same time, the server could easily crash.

When I use classical asp 3.0, I created *.cls classes and compile them to get an .dll file.
One of the more important class was one it wrapps the database operations. basically its structure was: two properties,bSuccessful,sSql. Its methods ExecQuery
wich basically was

bSuccessful = 1
sSql = "update,insert,delete ...."
oConn.execute

on error:
bSuccessful = 0
exit sub

For example, clsEvaluation has a RegisterEvaluation method,

it uses the clsDBoperation in order to control the operations.

RegisterEvaluation
set oConn = new clsEvaluation
oConn.Connect
oConn.startTransaction
oConn.setsSql = " insert, edit , delete .... "
If oConn.getbSuccessful = 1 then
.....
else
oConn.stopTransaction
endif

I did did the same, building a class with .NET 3.5, but now i´m wondering can it be achive using a dataadapter?

P.D: I´m sorry if the question is long but I considered to be as clearer as possible
QuestionCrystal Report Pin
ashwani Kumar Una3-Sep-12 4:10
ashwani Kumar Una3-Sep-12 4:10 
AnswerRe: Crystal Report Pin
Wes Aday3-Sep-12 5:07
professionalWes Aday3-Sep-12 5:07 
GeneralRe: Crystal Report Pin
ashwani Kumar Una6-Oct-12 3:32
ashwani Kumar Una6-Oct-12 3:32 
GeneralRe: Crystal Report Pin
Wes Aday6-Oct-12 3:37
professionalWes Aday6-Oct-12 3:37 
AnswerRe: Crystal Report Pin
Sandeep Mewara3-Sep-12 19:09
mveSandeep Mewara3-Sep-12 19:09 
QuestionDetailed progress report question... Pin
JD862-Sep-12 16:18
JD862-Sep-12 16:18 
AnswerRe: Detailed progress report question... Pin
jkirkerx2-Sep-12 17:58
professionaljkirkerx2-Sep-12 17:58 
GeneralRe: Detailed progress report question... Pin
JD869-Sep-12 7:53
JD869-Sep-12 7:53 
GeneralRe: Detailed progress report question... Pin
jkirkerx9-Sep-12 11:25
professionaljkirkerx9-Sep-12 11:25 
GeneralRe: Detailed progress report question... Pin
JD869-Sep-12 15:31
JD869-Sep-12 15:31 
GeneralRe: Detailed progress report question... Pin
jkirkerx9-Sep-12 17:52
professionaljkirkerx9-Sep-12 17:52 
QuestionSetting the height of an textarea on the fly Pin
PP from bangalore2-Sep-12 2:54
PP from bangalore2-Sep-12 2:54 
GeneralRe: Setting the height of an textarea on the fly Pin
jkirkerx2-Sep-12 9:47
professionaljkirkerx2-Sep-12 9:47 
QuestionURL or goto.aspx?URL Pin
Jassim Rahma1-Sep-12 3:15
Jassim Rahma1-Sep-12 3:15 
AnswerRe: URL or goto.aspx?URL Pin
Eddy Vluggen1-Sep-12 3:59
professionalEddy Vluggen1-Sep-12 3:59 
AnswerRe: URL or goto.aspx?URL Pin
JeeLaso3-Sep-12 16:38
JeeLaso3-Sep-12 16:38 
QuestionAsp.net system. diagnostics.process access denied Pin
RajavelK1-Sep-12 2:58
RajavelK1-Sep-12 2:58 

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.