Click here to Skip to main content
15,915,336 members
Home / Discussions / C#
   

C#

 
GeneralRe: Binding Dataset to DataGridView Pin
rudy.net10-May-05 3:06
rudy.net10-May-05 3:06 
GeneralRe: Binding Dataset to DataGridView Pin
Mikan2310-May-05 7:41
Mikan2310-May-05 7:41 
GeneralDataGrid and Combobox Pin
vuthaianh8-May-05 22:09
vuthaianh8-May-05 22:09 
GeneralRe: DataGrid and Combobox Pin
pubududilena9-May-05 0:18
pubududilena9-May-05 0:18 
QuestionHow can i play midi files Pin
Anthony Mushrow8-May-05 21:22
professionalAnthony Mushrow8-May-05 21:22 
AnswerRe: How can i play midi files Pin
Corinna John9-May-05 1:12
Corinna John9-May-05 1:12 
AnswerRe: How can i play midi files Pin
Polis Pilavas9-May-05 1:49
Polis Pilavas9-May-05 1:49 
GeneralSending Xml file using TcpClient Pin
Yeast278-May-05 21:12
Yeast278-May-05 21:12 
I tried to use TcpClient to send xml file to server...
But somehow my data get mess up, why is this so?
The resulting data is not in the same format that the data is sent

<sending side="">
TextReader infoReader = new StreamReader("SystemInfo.xml");
string info = infoReader.ReadToEnd();
Byte[] data = System.Text.Encoding.ASCII.GetBytes(info);
ns.Write(data, 0, info.Length);

<receiving side="">
using (StreamWriter sw = File.AppendText("clientInf.xml"))
{
string str = "";
byte[ ] buffer = new byte[1024] ;
while(ns.DataAvailable)
{
ns.Read ( buffer, 0, buffer.Length ) ;
str += Encoding.ASCII.GetString ( buffer ) ;
}
sw.WriteLine(str);
sw.Close();
}
GeneralRe: Sending Xml file using TcpClient Pin
S. Senthil Kumar9-May-05 0:59
S. Senthil Kumar9-May-05 0:59 
GeneralRe: Sending Xml file using TcpClient Pin
Yeast279-May-05 3:00
Yeast279-May-05 3:00 
GeneralRe: Sending Xml file using TcpClient Pin
S. Senthil Kumar9-May-05 4:19
S. Senthil Kumar9-May-05 4:19 
GeneralRe: Sending Xml file using TcpClient Pin
Yeast279-May-05 7:05
Yeast279-May-05 7:05 
GeneralRe: Sending Xml file using TcpClient Pin
Yeast279-May-05 16:39
Yeast279-May-05 16:39 
Questionhow to install stdole.dll except for VS.NET and .NET SDK Pin
yu-yu8-May-05 20:58
yu-yu8-May-05 20:58 
Questionhow to know how many resources in a namespace Pin
singleman8-May-05 20:28
singleman8-May-05 20:28 
AnswerRe: how to know how many resources in a namespace Pin
leppie8-May-05 23:14
leppie8-May-05 23:14 
QuestionAutoscroll in RichTextBox? Pin
methodincharge8-May-05 18:31
methodincharge8-May-05 18:31 
AnswerRe: Autoscroll in RichTextBox? Pin
S. Senthil Kumar8-May-05 21:07
S. Senthil Kumar8-May-05 21:07 
AnswerRe: Autoscroll in RichTextBox? Pin
Dave Kreskowiak9-May-05 4:20
mveDave Kreskowiak9-May-05 4:20 
GeneralExtracting Video Scene from movie in C# Pin
rajshukla1238-May-05 18:00
rajshukla1238-May-05 18:00 
QuestionHow to user Name and password to Windows 2000 Login Dialog using C#? Pin
pubududilena8-May-05 17:55
pubududilena8-May-05 17:55 
AnswerRe: How to user Name and password to Windows 2000 Login Dialog using C#? Pin
Christian Graus8-May-05 18:24
protectorChristian Graus8-May-05 18:24 
GeneralRe: How to user Name and password to Windows 2000 Login Dialog using C#? Pin
pubududilena8-May-05 20:20
pubududilena8-May-05 20:20 
GeneralRe: How to user Name and password to Windows 2000 Login Dialog using C#? Pin
Dave Kreskowiak9-May-05 1:15
mveDave Kreskowiak9-May-05 1:15 
GeneralRe: How to user Name and password to Windows 2000 Login Dialog using C#? Pin
pubududilena12-May-05 16:39
pubududilena12-May-05 16:39 

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.