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

C#

 
AnswerRe: Insert file in DB Pin
User 167325227-Jul-06 15:18
User 167325227-Jul-06 15:18 
QuestionNew vc# project-- Loading the .projdata file failed Pin
gbabu1726-Jul-06 23:52
gbabu1726-Jul-06 23:52 
QuestionFinding Local IP Endpoint Pin
aruna_koride26-Jul-06 23:39
aruna_koride26-Jul-06 23:39 
AnswerRe: Finding Local IP Endpoint Pin
Mike Dimmick27-Jul-06 0:53
Mike Dimmick27-Jul-06 0:53 
QuestionForm on client Pin
hpetriffer26-Jul-06 23:30
hpetriffer26-Jul-06 23:30 
Questionadding a new cell into DataGridView ? help please ... Pin
cmpeng3426-Jul-06 23:22
cmpeng3426-Jul-06 23:22 
AnswerRe: adding a new cell into DataGridView ? help please ... Pin
Mairaaj Khan27-Jul-06 1:06
professionalMairaaj Khan27-Jul-06 1:06 
QuestionDisplaying Images into Crystal reports Pin
bahaa_sa526-Jul-06 23:20
bahaa_sa526-Jul-06 23:20 
QuestionHow to use my C# function in Crystal Report? Pin
bahaa_sa526-Jul-06 23:19
bahaa_sa526-Jul-06 23:19 
AnswerRe: How to use my C# function in Crystal Report? Pin
stancrm27-Jul-06 0:55
stancrm27-Jul-06 0:55 
QuestionDrawing Pixels in Asp.Net And C# Pin
anand80vns26-Jul-06 23:08
anand80vns26-Jul-06 23:08 
Questionstore datagrid data in a database Pin
00thilani26-Jul-06 22:55
00thilani26-Jul-06 22:55 
AnswerRe: store datagrid data in a database Pin
goyal manish26-Jul-06 23:28
goyal manish26-Jul-06 23:28 
Questionhow to delete the text file contents using C# Pin
minchoo26-Jul-06 22:45
minchoo26-Jul-06 22:45 
AnswerRe: how to delete the text file contents using C# Pin
Ed.Poore26-Jul-06 23:52
Ed.Poore26-Jul-06 23:52 
Two options (presuming you want a blank file and not a non-existant file).

You can delete the file using System.IO.File.Delete (or maybe it's remove) and then recreate it using System.IO.File.WriteAllText(filename, "")

You can open the file for writing and not write anything to it (just don't open it for appending).


Formula 1 - Short for "F1 Racing" - named after the standard "help" key in Windows, it's a sport where participants desperately search through software help files trying to find actual documentation. It's tedious and somewhat cruel, most matches ending in a draw as no participant is able to find anything helpful. - Shog9

Ed

Questioncompiling projects which refer dlls! Pin
samtam26-Jul-06 22:21
samtam26-Jul-06 22:21 
AnswerRe: compiling projects which refer dlls! Pin
Ed.Poore26-Jul-06 23:54
Ed.Poore26-Jul-06 23:54 
QuestionInstant Messenger Pin
AB777126-Jul-06 22:06
AB777126-Jul-06 22:06 
AnswerRe: Instant Messenger Pin
Divyang Mithaiwala26-Jul-06 22:35
Divyang Mithaiwala26-Jul-06 22:35 
GeneralRe: Instant Messenger Pin
AB777126-Jul-06 22:39
AB777126-Jul-06 22:39 
GeneralRe: Instant Messenger Pin
Divyang Mithaiwala26-Jul-06 22:51
Divyang Mithaiwala26-Jul-06 22:51 
GeneralRe: Instant Messenger Pin
AB777126-Jul-06 22:54
AB777126-Jul-06 22:54 
Questionhow to use project of visual studtio 2005 in 2003 Pin
puneetaggarwal1626-Jul-06 20:47
puneetaggarwal1626-Jul-06 20:47 
AnswerRe: how to use project of visual studtio 2005 in 2003 Pin
krieg3826-Jul-06 21:03
krieg3826-Jul-06 21:03 
AnswerRe: how to use project of visual studtio 2005 in 2003 Pin
stancrm26-Jul-06 21:43
stancrm26-Jul-06 21:43 

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.