- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
- Interests
- C# , XNA
6 Posted Topics
Re: U can use "AND" to search two Strings Select * from [table] where arg1="val" AND arg2="val2"; | |
Re: you can use : [CODE]Array.Sort(a); Array.Reverse(a);[/CODE] methods to Sort arrays | |
Re: you have to use streamWriter in this case example usage:(stream writer) [CODE] using System; using System.IO; class Test { public static void Main() { string path = @"c:\temp\MyTest.txt"; try { if (File.Exists(path)) { File.Delete(path); } using (StreamWriter sw = new StreamWriter(path)) { sw.WriteLine("This"); sw.WriteLine("is some text"); sw.WriteLine("to test"); sw.WriteLine("Reading"); } … | |
Re: [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.SqlClient; using System.Data; namespace SelectItems { class Program { internal static string ConnectionString = "Data Source=TROJANX;Initial Catalog=ENTERPRISE4;Integrated Security=True;Pooling=False"; static void Main(string[] args) { try { using (SqlConnection sco = new SqlConnection()) { sco.ConnectionString = ConnectionString; sco.Open(); using (SqlCommand sc = … |
The End.