Click here to Skip to main content
15,914,221 members
Home / Discussions / C#
   

C#

 
Questiontabpages Pin
rcwoods9-Jun-06 11:23
rcwoods9-Jun-06 11:23 
AnswerRe: tabpages Pin
Mairaaj Khan9-Jun-06 22:01
professionalMairaaj Khan9-Jun-06 22:01 
QuestionOpening a file with VS2005(8.0) Pin
Ista9-Jun-06 11:15
Ista9-Jun-06 11:15 
QuestionDateTime.Now returning incorrect results (using Compact Framework) Pin
BlackDice9-Jun-06 11:10
BlackDice9-Jun-06 11:10 
Questionsql statement in c# Pin
ddpn429-Jun-06 10:51
ddpn429-Jun-06 10:51 
AnswerRe: sql statement in c# Pin
Colin Angus Mackay9-Jun-06 11:41
Colin Angus Mackay9-Jun-06 11:41 
GeneralRe: sql statement in c# Pin
ddpn429-Jun-06 11:59
ddpn429-Jun-06 11:59 
AnswerRe: sql statement in c# Pin
BoneSoft9-Jun-06 12:02
BoneSoft9-Jun-06 12:02 
If it's your SQL file, why not remove the duplicate declarations? By function I'm assuming you mean statement. You can seperate statements with 'GO' (in MS SQL Server at least) and I believe a semicolon (';'). But the variable declarations will remain in context for both statements, you don't need to duplicate declaration. And even if you did, you could use different variable names.

declare @one int
declare @two int

select @one = 1
GO -- Really unnecessary in this example

select @two = 2


Visit BoneSoft.com
GeneralRe: sql statement in c# Pin
ddpn429-Jun-06 12:19
ddpn429-Jun-06 12:19 
GeneralRe: sql statement in c# Pin
Colin Angus Mackay9-Jun-06 22:02
Colin Angus Mackay9-Jun-06 22:02 
GeneralRe: sql statement in c# Pin
BoneSoft10-Jun-06 5:20
BoneSoft10-Jun-06 5:20 
QuestionTreeView Node Click Pin
Richard Andrew x649-Jun-06 10:31
professionalRichard Andrew x649-Jun-06 10:31 
AnswerRe: TreeView Node Click Pin
BoneSoft9-Jun-06 10:57
BoneSoft9-Jun-06 10:57 
GeneralRe: TreeView Node Click Pin
Richard Andrew x649-Jun-06 11:07
professionalRichard Andrew x649-Jun-06 11:07 
GeneralRe: TreeView Node Click Pin
BoneSoft9-Jun-06 11:33
BoneSoft9-Jun-06 11:33 
QuestionDeleting rows in streams Pin
NaNg152419-Jun-06 9:28
NaNg152419-Jun-06 9:28 
AnswerRe: Deleting rows in streams Pin
Ed.Poore9-Jun-06 10:07
Ed.Poore9-Jun-06 10:07 
GeneralRe: Deleting rows in streams Pin
NaNg152419-Jun-06 10:26
NaNg152419-Jun-06 10:26 
GeneralRe: Deleting rows in streams Pin
Ed.Poore9-Jun-06 12:50
Ed.Poore9-Jun-06 12:50 
QuestionComboBox binding problem . Pin
microuser_20009-Jun-06 8:37
microuser_20009-Jun-06 8:37 
AnswerRe: ComboBox binding problem . Pin
Paul Brower9-Jun-06 9:12
Paul Brower9-Jun-06 9:12 
QuestionVisual C# and goto startup form Pin
Saamir9-Jun-06 7:47
Saamir9-Jun-06 7:47 
AnswerRe: Visual C# and goto startup form Pin
Alexander Wiseman9-Jun-06 7:58
Alexander Wiseman9-Jun-06 7:58 
GeneralRe: Visual C# and goto startup form Pin
Saamir10-Jun-06 4:49
Saamir10-Jun-06 4:49 
QuestionC# designer Pin
Brandon Frye9-Jun-06 7:08
Brandon Frye9-Jun-06 7:08 

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.