Click here to Skip to main content
15,898,943 members
Home / Discussions / C#
   

C#

 
AnswerCross post. Please ignore Pin
Pete O'Hanlon6-Dec-07 1:05
mvePete O'Hanlon6-Dec-07 1:05 
GeneralInstantiate Shell32.ShellLinkObjectClass object Pin
dan!sh 6-Dec-07 0:34
professional dan!sh 6-Dec-07 0:34 
Generalcomparing two arrays Pin
rameshdontagani6-Dec-07 0:27
rameshdontagani6-Dec-07 0:27 
GeneralRe: comparing two arrays Pin
J4amieC6-Dec-07 0:39
J4amieC6-Dec-07 0:39 
GeneralRe: comparing two arrays Pin
Skippums6-Dec-07 0:52
Skippums6-Dec-07 0:52 
GeneralRe: comparing two arrays Pin
Guffa6-Dec-07 2:06
Guffa6-Dec-07 2:06 
GeneralRe: comparing two arrays Pin
NassosReyzidis6-Dec-07 2:31
NassosReyzidis6-Dec-07 2:31 
Generalproblem with sql insert using c# Pin
eyeseetee6-Dec-07 0:08
eyeseetee6-Dec-07 0:08 
Hi
I have the following bit of code:

What the code is doing is inserting values into a table by selecting them from another table where a room code matches a room code in a session

however the insert is not working

any ideas?

cheers

SqlCommand cmd2 = new SqlCommand("INSERT INTO room_type_temp (Room_code, Room_description, area, instance_variant, Room_notes, height, spanotes, pladescription, perdescription, floor, walls, ceiling, doorsets, glazing, windows, chanotes, hatch, air, lighting, noise, safety, awt, ast, amvs, amve, amvsu, ap, af, ah, lsi, lsn, lli, lcr, lslg, nasl, nsp, nt, sahs, AF2, sdhw, atn, amn, apn, lsin, lsnn, llin, lslgg, lcrn, nn, sn, fn, npf, nms, nin, fe, fad, Room_Sheet SELECT Room_code, Room_description, area, instance_variant, Room_notes, height, spanotes, pladescription, perdescription, floor, walls, ceiling, doorsets, glazing, windows, chanotes, hatch, air, lighting, noise, safety, awt, ast, amvs, amve, amvsu, ap, af, ah, lsi, lsn, lli, lcr, lslg, nasl, nsp, nt, sahs, AF2, sdhw, atn, amn, apn, lsin, lsnn, llin, lslgg, lcrn, nn, sn, fn, npf, nms, nin, fe, fad, Room_Sheet FROM room_types where room_code = " + (Session["room_code"]), con);
GeneralRe: problem with sql insert using c# Pin
CKnig6-Dec-07 0:12
CKnig6-Dec-07 0:12 
GeneralRe: problem with sql insert using c# Pin
eyeseetee6-Dec-07 0:22
eyeseetee6-Dec-07 0:22 
GeneralRe: problem with sql insert using c# Pin
meeram3956-Dec-07 1:11
meeram3956-Dec-07 1:11 
GeneralRe: problem with sql insert using c# Pin
Le centriste6-Dec-07 2:10
Le centriste6-Dec-07 2:10 
QuestionHow to make Multilingual TextBox in C#.NET Pin
D i x y5-Dec-07 23:54
D i x y5-Dec-07 23:54 
AnswerRe: How to make Multilingual TextBox in C#.NET Pin
Skippums6-Dec-07 10:20
Skippums6-Dec-07 10:20 
QuestionShow a PDF file in a MDI application of C# Pin
BinName5-Dec-07 22:58
BinName5-Dec-07 22:58 
GeneralRe: Show a PDF file in a MDI application of C# Pin
CKnig5-Dec-07 23:22
CKnig5-Dec-07 23:22 
GeneralDataGridview help Pin
sindhutiwari5-Dec-07 22:56
sindhutiwari5-Dec-07 22:56 
GeneralRe: DataGridview help Pin
dan!sh 5-Dec-07 22:59
professional dan!sh 5-Dec-07 22:59 
GeneralRe: DataGridview help Pin
suyuan19845-Dec-07 23:07
suyuan19845-Dec-07 23:07 
GeneralRe: DataGridview help Pin
Gopal.S5-Dec-07 23:31
Gopal.S5-Dec-07 23:31 
QuestionHow to change the initial value of DataSet.CaseSensitive (in .NET 2.0, it is false by default) Pin
shintaerp5-Dec-07 22:12
shintaerp5-Dec-07 22:12 
QuestionC# and microthreads - more info wanted Pin
Geert Masureel5-Dec-07 22:10
Geert Masureel5-Dec-07 22:10 
QuestionTCP Class - Send Function Pin
Programm3r5-Dec-07 21:25
Programm3r5-Dec-07 21:25 
GeneralRe: TCP Class - Send Function Pin
CKnig5-Dec-07 23:27
CKnig5-Dec-07 23:27 
GeneralRe: TCP Class - Send Function Pin
Programm3r6-Dec-07 0:32
Programm3r6-Dec-07 0:32 

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.