Click here to Skip to main content
15,886,578 members
Home / Discussions / C#
   

C#

 
AnswerRe: "This program might require administrator privileges" Pin
Henry Minute10-Jan-09 0:21
Henry Minute10-Jan-09 0:21 
GeneralRe: "This program might require administrator privileges" Pin
Winkles10-Jan-09 9:53
Winkles10-Jan-09 9:53 
GeneralRe: "This program might require administrator privileges" Pin
Henry Minute10-Jan-09 14:22
Henry Minute10-Jan-09 14:22 
GeneralRe: "This program might require administrator privileges" Pin
Winkles11-Jan-09 10:11
Winkles11-Jan-09 10:11 
QuestionNeed Some Help Please Pin
Member 28424689-Jan-09 12:57
Member 28424689-Jan-09 12:57 
AnswerRe: Need Some Help Please Pin
Colin Angus Mackay9-Jan-09 13:01
Colin Angus Mackay9-Jan-09 13:01 
AnswerRe: Need Some Help Please Pin
Colin Angus Mackay9-Jan-09 13:03
Colin Angus Mackay9-Jan-09 13:03 
AnswerRe: Need Some Help Please Pin
sourabhsorate9-Jan-09 22:26
sourabhsorate9-Jan-09 22:26 
Hello Zubair,
There are two solutions to solve your problem

1. Either you can use stored procedure or,
2. If you have programming exprience then solve your problem as follow.

First insert record in Primary table, so primary column will autoincrement its value.Eg. suppose u r inserting student_name 'XYZ' in student table and stud_id is primary column.

Now, use select query to find the value of stud_id from student table by using the name of student that u hav just inserted.
eg. SELECT stud_id FROM STUDENT WHERE student_name = 'XYZ'

Now, u hav obtained stud_id which was autoincremented.

Now, use this value to insert it in child table.eg. suppose u r inserting it in table studentdetails table

INSERT INTO studentdeatails (stud_id,average) VALUES (stud_id, 70)

Ok... hope this will help u. Good luck
GeneralRe: Need Some Help Please Pin
Colin Angus Mackay10-Jan-09 0:12
Colin Angus Mackay10-Jan-09 0:12 
QuestionFTP a Text file to an OpenVMS Ser ver Pin
#realJSOP9-Jan-09 11:04
mve#realJSOP9-Jan-09 11:04 
AnswerRe: FTP a Text file to an OpenVMS Ser ver Pin
Henry Minute9-Jan-09 12:00
Henry Minute9-Jan-09 12:00 
GeneralRe: FTP a Text file to an OpenVMS Ser ver Pin
#realJSOP10-Jan-09 0:03
mve#realJSOP10-Jan-09 0:03 
AnswerRe: FTP a Text file to an OpenVMS Ser ver [modified] Pin
Garth J Lancaster9-Jan-09 19:02
professionalGarth J Lancaster9-Jan-09 19:02 
GeneralRe: FTP a Text file to an OpenVMS Ser ver Pin
#realJSOP10-Jan-09 0:06
mve#realJSOP10-Jan-09 0:06 
GeneralRe: FTP a Text file to an OpenVMS Ser ver Pin
Garth J Lancaster10-Jan-09 0:21
professionalGarth J Lancaster10-Jan-09 0:21 
GeneralRe: FTP a Text file to an OpenVMS Ser ver Pin
#realJSOP10-Jan-09 3:09
mve#realJSOP10-Jan-09 3:09 
GeneralRe: FTP a Text file to an OpenVMS Ser ver Pin
Garth J Lancaster10-Jan-09 17:35
professionalGarth J Lancaster10-Jan-09 17:35 
AnswerRe: FTP a Text file to an OpenVMS Ser ver Pin
Garth J Lancaster9-Jan-09 19:29
professionalGarth J Lancaster9-Jan-09 19:29 
GeneralRe: FTP a Text file to an OpenVMS Ser ver Pin
#realJSOP10-Jan-09 0:06
mve#realJSOP10-Jan-09 0:06 
QuestionWindows Service Config File and loading assemblies dynamically Pin
gamerdrew9-Jan-09 10:21
gamerdrew9-Jan-09 10:21 
AnswerRe: Windows Service Config File and loading assemblies dynamically Pin
howlettt9-Jan-09 11:34
howlettt9-Jan-09 11:34 
AnswerRe: Windows Service Config File and loading assemblies dynamically Pin
Jon Rista9-Jan-09 11:58
Jon Rista9-Jan-09 11:58 
Questionrunning application Pin
abu rakan9-Jan-09 10:21
abu rakan9-Jan-09 10:21 
AnswerCP IGNORE THIS USER; has asked this SEVERAL times. Pin
leckey9-Jan-09 10:22
leckey9-Jan-09 10:22 
JokeRe: running application PinPopular
Colin Angus Mackay9-Jan-09 10:30
Colin Angus Mackay9-Jan-09 10:30 

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.