27.06.2014 Views

INFORMATICA MEDICA

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Creazione di un comando (CS)<br />

• Importazione del Namespace corrispondente<br />

• Using System.Data.SqlClient;<br />

• Dichiarazione / Istanziazione esplicita<br />

• SqlCommand myCmd = New SqlCommand();<br />

• SqlConnection myConn = New SqlConnection();<br />

• myCmd.Connection = myConn;<br />

• Dichiarazione / Istanziazione implicita<br />

• SqlCommand myCmd = New SqlCommand();<br />

• SqlConnection myConn = New SqlConnection();<br />

• myCmd = myConn.CreateCommand();<br />

Inf. Med. - 6. Query - A.A. 2013/14

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!