- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
6 Posted Topics
Re: Pls i am new to vb.net. Can this code help me as a beginner to save data in a datagrid in sql server unsing vs2008 and vb.net language. Thanks dapsin | |
I'm getting GDI+ error when saving picturebox image to the database. My database is sql server with image datatype. Ideally when I browse image file to the picturebox then save using following code [CODE=vb.net] MemoryStream ms = new MemoryStream(); picMenu.Image.Save(ms, picMenu.Image.RawFormat); Dim arrImage() As Byte = ms.GetBuffer ms.Close(); [/CODE] then … | |
Re: Can anybody please help me with this code:[CODE]Private Sub SavePicture() Dim PictureId() As String = Split(txtPic.Text, "\") Array.Reverse(PictureId) Dim ms1 As New MemoryStream() [B]PicBox.Image.Save(ms1, PicBox.Image.RawFormat)[/B] Dim Picture() As Byte = ms1.GetBuffer ms1.Close() Dim SignatureId() As String = Split(txtSign.Text, "\") Array.Reverse(SignatureId) Dim ms2 As New MemoryStream() [B] SignBox.Image.Save(ms2, SignBox.Image.RawFormat)[/B] Dim Signature() … | |
Re: Hi, Pls am new on vb.net and sql server. Pls can you send me the sample code to convert a picture in byte and store in the database. I mean the in conversion code, insert statement and the select statement to retrieve the picture. Thanks. Dapsin | |
Hii, i am working in Vb.net 2008 And Sql 2005. My problem is dat i have four columns. For eg: Name, Department, Address and Phone no. In DGV first column , name is dispalyed in DataGridViewTextBoxColumn second columns is , Department which is displayed in DataGridViewComboBoxColumn. which i have to … | |
The End.