No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
hi i wana save the radioo button which user cheched to a file i wrote this code but it dosnt work... can anyone help to found the problem: [CODE] private void button1_Click(object sender, EventArgs e) { FileStream fs = new FileStream(Path1,FileMode.Append,FileAccess.Write); fs.Close(); StreamWriter Wr = new StreamWriter(Path1); if (radioButton1.Checked) { … |
|
hi im working in a project contain more than 10 forms .. the prob is: the project dose'nt save the new format or forms and when debug its give me this error...[COLOR="Red"]Error 1 Could not write to output file 'C:\Documents and Settings\user.USER-AF73D3F8E1\My Documents\Visual Studio 2005\Projects\WindowsApplication8\WindowsApplication8\obj\Debug\WindowsApplication8.exe' -- 'The process cannot access … |
|
[code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using uDate; namespace DateDiff_timeDiff { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void timer1_Tick(object sender, EventArgs e) { string s = DateTime.Now.ToLongTimeString(); label1.Text ="London : " + s; DateTime … |
|
hi im bigginer at c# & i have some simple questions.. 1-Console.WriteLine("Result is[COLOR="Red"] {0}[/COLOR]",div); for what we use {0} here?? the bult in method Tostring() used for what & when?? |