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

C#

 
GeneralRe: WinForm DataGridView - Unable to convert MySql DateTime To System.DateTime Pin
PIEBALDconsult12-Jun-14 2:39
mvePIEBALDconsult12-Jun-14 2:39 
QuestionGetNetworkUsageAsync() not working in Windows Store App on Windows 8.1 Pin
Sharath C V11-Jun-14 1:58
professionalSharath C V11-Jun-14 1:58 
AnswerRe: GetNetworkUsageAsync() not working in WindowsRT Pin
Pete O'Hanlon11-Jun-14 3:09
mvePete O'Hanlon11-Jun-14 3:09 
AnswerRe: GetNetworkUsageAsync() not working in WindowsRT Pin
Sharath C V11-Jun-14 3:34
professionalSharath C V11-Jun-14 3:34 
AnswerRe: GetNetworkUsageAsync() not working in WindowsRT Pin
Dave Kreskowiak11-Jun-14 3:12
mveDave Kreskowiak11-Jun-14 3:12 
GeneralRe: GetNetworkUsageAsync() not working in WindowsRT Pin
Sharath C V11-Jun-14 3:38
professionalSharath C V11-Jun-14 3:38 
AnswerRe: GetNetworkUsageAsync() not working in WindowsRT Pin
Sharath C V11-Jun-14 3:30
professionalSharath C V11-Jun-14 3:30 
QuestionWhy have insert new must command line "SET IDENTITY_INSERT TableName ON" save in SQL Server? Pin
Member 245846710-Jun-14 17:13
Member 245846710-Jun-14 17:13 
I have a few for example insert new records, when the store must have "SET IDENTITY_INSERT TabeleName ON"; and "SET IDENTITY_INSERT TabeleName OFF"; other examples do not need 2 lines ON and OFF, if I wanted to give my 2 lines to adjust what ? you see the code below:

C#
strSQL = "SET IDENTITY_INSERT TableName ON ";
strSQL = strSQL + "INSERT INTO TableName(USERNAME";
strSQL = ...
strSQL = strSQL + "SET IDENTITY_INSERT TableName OFF";
...
SqlCommand cmd = new SqlCommand(strSQL,cnn);
  try
  {
     cmd.ExecuteNonQuery();
     cnn.Close();
  }
....

AnswerRe: Why have insert new must command line "SET IDENTITY_INSERT TableName ON" save in SQL Server? Pin
Mycroft Holmes10-Jun-14 18:02
professionalMycroft Holmes10-Jun-14 18:02 
AnswerRe: Why have insert new must command line "SET IDENTITY_INSERT TableName ON" save in SQL Server? Pin
Swinkaran10-Jun-14 18:37
professionalSwinkaran10-Jun-14 18:37 
AnswerRe: Why have insert new must command line "SET IDENTITY_INSERT TableName ON" save in SQL Server? Pin
Kornfeld Eliyahu Peter10-Jun-14 20:17
professionalKornfeld Eliyahu Peter10-Jun-14 20:17 
AnswerRe: Why have insert new must command line "SET IDENTITY_INSERT TableName ON" save in SQL Server? Pin
Kumarbs10-Jun-14 20:33
professionalKumarbs10-Jun-14 20:33 
AnswerRe: Why have insert new must command line "SET IDENTITY_INSERT TableName ON" save in SQL Server? Pin
Member 245846711-Jun-14 16:40
Member 245846711-Jun-14 16:40 
QuestionRTF to HTML Converter troubled method Pin
Marnus Steyn10-Jun-14 8:37
Marnus Steyn10-Jun-14 8:37 
AnswerRe: RTF to HTML Converter troubled method Pin
Pete O'Hanlon10-Jun-14 10:11
mvePete O'Hanlon10-Jun-14 10:11 
QuestionBackgroundWorker problem Pin
Member 1053008210-Jun-14 3:19
Member 1053008210-Jun-14 3:19 
AnswerRe: BackgroundWorker problem Pin
Pete O'Hanlon10-Jun-14 3:58
mvePete O'Hanlon10-Jun-14 3:58 
QuestionNot able to use PathGradientBrush in WPF Pin
Member 329381510-Jun-14 1:08
Member 329381510-Jun-14 1:08 
AnswerRe: Not able to use PathGradientBrush in WPF Pin
Pete O'Hanlon10-Jun-14 1:44
mvePete O'Hanlon10-Jun-14 1:44 
AnswerRe: Not able to use PathGradientBrush in WPF Pin
Richard MacCutchan10-Jun-14 2:22
mveRichard MacCutchan10-Jun-14 2:22 
QuestionWPF - Load Gmail contact list in ListView with status icon Pin
Member 102676309-Jun-14 20:35
Member 102676309-Jun-14 20:35 
AnswerRe: WPF - Load Gmail contact list in ListView with status icon Pin
Pete O'Hanlon9-Jun-14 21:12
mvePete O'Hanlon9-Jun-14 21:12 
QuestionA console application to a WPF Pin
bunny039-Jun-14 14:12
bunny039-Jun-14 14:12 
AnswerRe: A console application to a WPF Pin
Dave Kreskowiak9-Jun-14 18:14
mveDave Kreskowiak9-Jun-14 18:14 
AnswerRe: A console application to a WPF Pin
Richard MacCutchan9-Jun-14 20:59
mveRichard MacCutchan9-Jun-14 20:59 

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.