|
|
|
Сохранить данный.
|
|||
|---|---|---|---|
|
#18+
Народ нужна Ваша помощь. Command. ExecuteNonQuery()- Выдает ошибку: System error- что делать. Помогите Вот код: ' Insert the image into the database Dim myConnection As SqlConnection = New SqlConnection("server=(local);database=Chapter2;uid=sa;pwd=") Try myConnection.Open() Dim Command As SqlCommand Command = New SqlCommand("INSERT INTO tblGeneral (Img,Date_Reg,Name) VALUES (@Img,@Date_Reg,@Name)", myConnection) Command.Parameters.Add("@Img", mem.GetBuffer()) Command.Parameters.Add("@Date_Reg", TextBox2.Text) Command.Parameters.Add("@Name", TextBox1.Text) Command.ExecuteNonQuery() MessageBox.Show("Image is saved successfully.") Finally myConnection.Close() End Try ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 20.02.2007, 15:28 |
|
||
|
Сохранить данный.
|
|||
|---|---|---|---|
|
#18+
Приведи полный текст ошибки, может до execute и не доходит вовсе -- Wo siang nide fanvan li ty le tang!(кит.:Я плюнул вам в рис, теперь вы умрёте!) подпись сперта у перца с другого форума, но все равно красиво ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 21.02.2007, 12:36 |
|
||
|
|

start [/forum/topic.php?fid=17&fpage=99&tid=1352931]: |
0ms |
get settings: |
9ms |
get forum list: |
20ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
66ms |
get topic data: |
13ms |
get forum data: |
5ms |
get page messages: |
54ms |
get tp. blocked users: |
2ms |
| others: | 239ms |
| total: | 416ms |

| 0 / 0 |
