Click here to Skip to main content
15,918,889 members
Home / Discussions / C#
   

C#

 
AnswerRe: Socket question Pin
User 58385210-Nov-05 16:40
User 58385210-Nov-05 16:40 
GeneralRe: Socket question Pin
Tom Wright11-Nov-05 4:55
Tom Wright11-Nov-05 4:55 
GeneralRe: Socket question Pin
Tom Wright12-Nov-05 3:20
Tom Wright12-Nov-05 3:20 
QuestionCaching multiple ArrayLists Pin
Rlearning10-Nov-05 12:40
Rlearning10-Nov-05 12:40 
AnswerRe: Caching multiple ArrayLists Pin
Christian Graus10-Nov-05 13:06
protectorChristian Graus10-Nov-05 13:06 
GeneralRe: Caching multiple ArrayLists Pin
Rlearning11-Nov-05 6:00
Rlearning11-Nov-05 6:00 
GeneralRe: Caching multiple ArrayLists Pin
Christian Graus13-Nov-05 9:48
protectorChristian Graus13-Nov-05 9:48 
Questioncheckedlistbox highlight and spacing Pin
SeanCM10-Nov-05 12:29
SeanCM10-Nov-05 12:29 
AnswerRe: checkedlistbox highlight and spacing Pin
whizzs11-Nov-05 8:49
whizzs11-Nov-05 8:49 
QuestionProblems with tabcontrol Pin
ika210-Nov-05 12:23
ika210-Nov-05 12:23 
QuestionHow to Get MouseEnter to Work With Mouse Button Down Pin
redfish3410-Nov-05 11:49
redfish3410-Nov-05 11:49 
QuestionA similar action to a try catch statement? Pin
Kuira10-Nov-05 11:49
Kuira10-Nov-05 11:49 
AnswerRe: A similar action to a try catch statement? Pin
Christian Graus10-Nov-05 12:42
protectorChristian Graus10-Nov-05 12:42 
GeneralRe: A similar action to a try catch statement? Pin
Kuira10-Nov-05 13:25
Kuira10-Nov-05 13:25 
GeneralRe: A similar action to a try catch statement? Pin
Christian Graus10-Nov-05 13:27
protectorChristian Graus10-Nov-05 13:27 
GeneralRe: A similar action to a try catch statement? Pin
Kuira10-Nov-05 13:46
Kuira10-Nov-05 13:46 
GeneralRe: A similar action to a try catch statement? Pin
Leslie Sanford10-Nov-05 18:47
Leslie Sanford10-Nov-05 18:47 
GeneralRe: A similar action to a try catch statement? Pin
Kuira13-Nov-05 12:15
Kuira13-Nov-05 12:15 
.... I dont know how to explain it but I'll try again:

- User clicks on a button after they written out a form with a set of data that has been validated on the data side.

- The middleware looks at this and then validates the set of data provided by the GUI to determine if the data that has been inputted is valid to be stored in a database.

- These set of tests range from testing the database connectivity, if any of the data inputted will conflict with the current set of data or even if the entry cannot be inserted because the exact same data exists.

- If one of these tests fail because of those issues, it will stop the test, write a message back to the user to explain the fault, and let the user decide if they want to refix it or cancel the action.

So in essence currently in pseudo code its

string test(input data, input tablename, output conflictions)
{
bool = test1() //connect to database
if (!bool) { return "cannot connect to database"; }

bool = test2(tablename) // checks if the table is not locked at the moment
if (!bool) { return "currently in session, please try again later"; }

bool = test3(data, tablename) // checks if the data is already inserted
if (!bool) {return "data already exists in database!"; }

bool = test4(data, tablename, conflictions) //validates if we insert this data and hits a number of constraints
if (!bool) {return "Conflictions has occured please look at the conflictions and try again"; }
}

GeneralRe: A similar action to a try catch statement? Pin
Leslie Sanford13-Nov-05 13:11
Leslie Sanford13-Nov-05 13:11 
GeneralRe: A similar action to a try catch statement? Pin
Kuira13-Nov-05 17:05
Kuira13-Nov-05 17:05 
GeneralRe: A similar action to a try catch statement? Pin
Leslie Sanford13-Nov-05 17:37
Leslie Sanford13-Nov-05 17:37 
GeneralRe: A similar action to a try catch statement? Pin
Kuira14-Nov-05 11:53
Kuira14-Nov-05 11:53 
QuestionParsing an XML string Pin
Ravi Bhavnani10-Nov-05 11:49
professionalRavi Bhavnani10-Nov-05 11:49 
AnswerRe: Parsing an XML string Pin
Ravi Bhavnani10-Nov-05 12:09
professionalRavi Bhavnani10-Nov-05 12:09 
Question.net 2.0 Membership in Windows Applications? Pin
MightyJoe10-Nov-05 11:11
MightyJoe10-Nov-05 11:11 

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.