picture inserting.please help me!
-
how can i insert the picture to the sqldatabase ?what datatype cani use ? how can i load the picture to the database?can you give me the code with c#.net to insert picture from the webform.asp to the sqldatabase?
-
how can i insert the picture to the sqldatabase ?what datatype cani use ? how can i load the picture to the database?can you give me the code with c#.net to insert picture from the webform.asp to the sqldatabase?
there is the "image" data type in the ms sql server. you can use it to store your images. cmdUpdate.Parameters.Add(New System.Data.SqlClient.SqlParameter("@ImageID", System.Data.SqlDbType.Int, 4)) cmdUpdate.Parameters.Add(New System.Data.SqlClient.SqlParameter("@Data", System.Data.SqlDbType.VarBinary, 2147483647))
-
there is the "image" data type in the ms sql server. you can use it to store your images. cmdUpdate.Parameters.Add(New System.Data.SqlClient.SqlParameter("@ImageID", System.Data.SqlDbType.Int, 4)) cmdUpdate.Parameters.Add(New System.Data.SqlClient.SqlParameter("@Data", System.Data.SqlDbType.VarBinary, 2147483647))
thank you The way you sho me is how to insert the picture to the bank.please help me to load the picture from the bank to the control. thank you!