Click here to Skip to main content
16,015,755 members
Home / Discussions / C#
   

C#

 
GeneralRe: Programaticly stop & start sql server? Pin
Harvey Saayman8-May-08 4:53
Harvey Saayman8-May-08 4:53 
AnswerRe: Programaticly stop & start sql server? Pin
Jimmanuel8-May-08 4:56
Jimmanuel8-May-08 4:56 
GeneralRe: Programaticly stop & start sql server? Pin
Harvey Saayman9-May-08 1:21
Harvey Saayman9-May-08 1:21 
QuestionTo the whole commuity(Part of my code) Pin
Oluwayomi8-May-08 3:58
Oluwayomi8-May-08 3:58 
AnswerCP Members Please Ignore : Duplicate Post Pin
Abhijit Jana8-May-08 4:14
professionalAbhijit Jana8-May-08 4:14 
AnswerRe: To the whole commuity(Part of my code) Pin
J4amieC8-May-08 4:46
J4amieC8-May-08 4:46 
AnswerRe: To the whole commuity(Part of my code) Pin
Dave Kreskowiak8-May-08 5:24
mveDave Kreskowiak8-May-08 5:24 
Question(To whom it may concern)SEE THIS ITS IMPORTANT Pin
Oluwayomi8-May-08 3:45
Oluwayomi8-May-08 3:45 
i am sooo sorry i never knew how things are done here,this is my first time of askin a question,i am not in the habi....I AM SO SORRY. i am actually workin on a desktop application..
and nobody will understand my code but i want to implement it in this area
its over 5000 lines of code, i thot nobody will be interested in that sh*t..
I AM VERY SORRY IF I HAVE OFFENDED ANYONE WITH MY APPROACH..
I WILL BE VERY GLAD TO REMAIN HERE...


if (readval1.Read())
{
//assign these values into current sem sum variables
int TUT3, TUP3, COUT3;
decimal WS3, GPA3;
TUT3 = System.Convert.ToInt16(readval1.GetValue(3).ToString());
TUP3 = System.Convert.ToInt16(readval1.GetValue(4).ToString());
WS3 = System.Convert.ToDecimal(readval1.GetValue(5).ToString());
GPA3 = System.Convert.ToDecimal(readval1.GetValue(6).ToString());
COUT3 = System.Convert.ToInt16(readval1.GetValue(7).ToString());

MessageBox.Show("TUT = " + TUT3.ToString() + "TUP = " + TUP3.ToString() + "WS = " + WS3.ToString() + "GPA = " + GPA3.ToString() + "Outstanding = " + COUT3.ToString());

//add the values of previous sem to current semester
decimal CUT3, CUP3, AOUT3;
decimal CWS3, CGPA3;
CUT3 = (TUT3 + PTUT2);
CUP3 = (TUP3 + PTUP2);
CWS3 = (WS3 + PCWS2);
CGPA3 = Math.Round((CWS3 / CUT3), 2);
AOUT3 = System.Convert.ToInt32((CUT3 - CUP3));

MessageBox.Show("CUT =" + CUT3 + " CUP = " + CUP3 + " CWS =" + CWS3 + " CGPA =" + CGPA3 + " OUT =" + AOUT3);

//update All Semester Summary
string updalltab = "UPDATE AllSemesterSummary SET Levels = '200', Semester = '2', CumulativeUnitTaken = '" + CUT3 + "', CumulativeUnitPassed = '" + CUP3 + "', CumulativeWeightedScore = '" + CWS3 + "', CumulativeGradePointAverage = '" + CGPA3 + "', OutstandingUnits = '" + AOUT3 + "' WHERE MatricNumber = '" + matnumber + "' ";

Oluwayomi Ige
MCP MCAD.

AnswerRe: (To whom it may concern)SEE THIS ITS IMPORTANT Pin
Pete O'Hanlon8-May-08 3:58
mvePete O'Hanlon8-May-08 3:58 
GeneralRe: (To whom it may concern)SEE THIS ITS IMPORTANT Pin
Guffa8-May-08 11:08
Guffa8-May-08 11:08 
Question[Message Deleted] Pin
AndrewVos8-May-08 3:31
AndrewVos8-May-08 3:31 
AnswerRe: [Message Deleted] Pin
Abhijit Jana8-May-08 4:10
professionalAbhijit Jana8-May-08 4:10 
QuestionThanks Pin
Oluwayomi8-May-08 3:27
Oluwayomi8-May-08 3:27 
AnswerRe: Thanks Pin
J4amieC8-May-08 3:30
J4amieC8-May-08 3:30 
QuestionTo the whole commuity(solve this) Pin
Oluwayomi8-May-08 3:07
Oluwayomi8-May-08 3:07 
AnswerRe: To the whole commuity(solve this) Pin
Pete O'Hanlon8-May-08 3:12
mvePete O'Hanlon8-May-08 3:12 
AnswerRe: To the whole commuity(solve this) Pin
phannon868-May-08 3:20
professionalphannon868-May-08 3:20 
AnswerRe: To the whole commuity(solve this) Pin
Ashfield8-May-08 3:21
Ashfield8-May-08 3:21 
AnswerRe: To the whole commuity(solve this) Pin
Gareth H8-May-08 3:23
Gareth H8-May-08 3:23 
QuestionIssues making a generic class with System.Enum as a parameter [modified] Pin
carbon_golem8-May-08 2:47
carbon_golem8-May-08 2:47 
AnswerRe: Issues making a generic class with System.Enum as a parameter Pin
S. Senthil Kumar8-May-08 6:05
S. Senthil Kumar8-May-08 6:05 
AnswerRe: Issues making a generic class with System.Enum as a parameter Pin
PIEBALDconsult8-May-08 14:54
mvePIEBALDconsult8-May-08 14:54 
GeneralRe: Issues making a generic class with System.Enum as a parameter Pin
carbon_golem9-May-08 2:43
carbon_golem9-May-08 2:43 
GeneralRe: Issues making a generic class with System.Enum as a parameter Pin
PIEBALDconsult9-May-08 12:23
mvePIEBALDconsult9-May-08 12:23 
QuestionJPEG EXIF metadata Pin
Jim Warburton8-May-08 2:40
Jim Warburton8-May-08 2:40 

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.