C# TIMEZONE 쓸모 없을것 같음

결과

SqlDataAdapter StoredProcedure


class DBData
{
static string connectionString = "server= 111.222.333.444;uid=id;pwd=pppp;database=UEUE";

public static string QueueHTML(string SID)
{
SqlConnection conn = new SqlConnection(connectionString);
SqlDataAdapter da = new SqlDataAdapter();
DataSet QUEUE = new DataSet();

try {
conn.Open();

SqlCommand cmd = conn.CreateCommand();
cmd.CommandType = CommandType.StoredProcedure;
cmd.CommandText = "QueueList";

SqlParameter paramSID = cmd.Parameters.Add("@SID", SqlDbType.Char, 3);
paramSID.Direction = ParameterDirection.Input;
paramSID.Value = SID;

da.SelectCommand = cmd;
da.Fill(QUEUE, "QUEUE");

XslCompiledTransform xslt = new XslCompiledTransform();
StringWriter stringWriter = new StringWriter();

xslt.Load("Queue.xsl");

XsltArgumentList args = new XsltArgumentList();

XmlDocument xml = new XmlDocument();

string dbXML = QUEUE.GetXml();
xml.LoadXml(dbXML);

xslt.Transform(xml, args, stringWriter);

string Content = stringWriter.ToString();

return Content;
}
catch (Exception ex)
{
//클라이언트에게 예외를 던진다.
//throw ex;
string Err = ex.ToString();
return "";
}

finally
{

}

}
}

C# MySqlConnection

오목 게임 소스

Omok

vs2010 기준
다운로드 : Omk02

Java Programming Tutorial – 15 – Use Methods with Parameters

Java Programming Tutorial – 14 – Using Multiple Classes

Java Programming Tutorial – 13 – While Loop


package apples;

public class apples {

    public static void main(String[] args) {
		int counter = 0;
		while (counter < 10){
			System.out.println(counter);
			counter++;
			
		}
	}

}

사이트

https://nodejs.org/en/

싱글톤 패턴 Singleton

snake.py

snake