|
|
|
Сохранить данный.
|
|||
|---|---|---|---|
|
#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&msg=34349280&tid=1352931]: |
0ms |
get settings: |
10ms |
get forum list: |
15ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
74ms |
get topic data: |
11ms |
get forum data: |
3ms |
get page messages: |
47ms |
get tp. blocked users: |
2ms |
| others: | 230ms |
| total: | 400ms |

| 0 / 0 |
