Click here to Skip to main content
15,905,614 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: updating database in vb.net [modified] Pin
Vimalsoft(Pty) Ltd24-Feb-09 0:56
professionalVimalsoft(Pty) Ltd24-Feb-09 0:56 
GeneralRe: updating database in vb.net Pin
parkash_C24-Feb-09 10:13
parkash_C24-Feb-09 10:13 
GeneralRe: updating database in vb.net Pin
Vimalsoft(Pty) Ltd24-Feb-09 19:04
professionalVimalsoft(Pty) Ltd24-Feb-09 19:04 
GeneralRe: updating database in vb.net Pin
parkash_C24-Feb-09 10:21
parkash_C24-Feb-09 10:21 
GeneralRe: updating database in vb.net Pin
Vimalsoft(Pty) Ltd24-Feb-09 19:05
professionalVimalsoft(Pty) Ltd24-Feb-09 19:05 
GeneralRe: updating database in vb.net Pin
parkash_C26-Feb-09 23:50
parkash_C26-Feb-09 23:50 
GeneralRe: updating database in vb.net Pin
Vimalsoft(Pty) Ltd27-Feb-09 0:04
professionalVimalsoft(Pty) Ltd27-Feb-09 0:04 
GeneralRe: updating database in vb.net Pin
parkash_C27-Feb-09 0:44
parkash_C27-Feb-09 0:44 
ya it cnverted it
bt chek dis one out

Try
Dim i As Integer

Dim a10, a11 As OleDbParameter

Dim cmd2 As New OleDbCommand("update table1 set stream= @a11 where stdid= @a10", con)
a10 = cmd2.Parameters.Add("@a10", OleDbType.Integer, 32)
a10.Value = Convert.ToInt32(t5.Text)
a11 = cmd2.Parameters.Add("@a11", OleDbType.VarChar, 255, "stream")
a11.Value = t6.Text

con.Open()
i = cmd2.ExecuteNonQuery()
con.Close()
Label8.Text = i

Catch ex As Exception
Label1.Text = ex.Message.ToString()
End Try

if i take stream value from textbox then it wrks....so no prob with the key firld
bt @a11 with stream is not wrking...
i think sm think is wrong the way i took oledb parameters
plz chek it
GeneralRe: updating database in vb.net Pin
Vimalsoft(Pty) Ltd27-Feb-09 0:51
professionalVimalsoft(Pty) Ltd27-Feb-09 0:51 
Question[Message Deleted] Pin
computer_WHIZ17-Feb-09 23:21
computer_WHIZ17-Feb-09 23:21 
AnswerRe: what is the code in making a 3 x 3 picture puzzle? Pin
Steven J Jowett17-Feb-09 23:34
Steven J Jowett17-Feb-09 23:34 
GeneralRe: what is the code in making a 3 x 3 picture puzzle? Pin
computer_WHIZ17-Feb-09 23:59
computer_WHIZ17-Feb-09 23:59 
AnswerRe: what is the code in making a 3 x 3 picture puzzle? Pin
Ashfield18-Feb-09 1:32
Ashfield18-Feb-09 1:32 
AnswerRe: what is the code in making a 3 x 3 picture puzzle? Pin
Dave Kreskowiak18-Feb-09 2:17
mveDave Kreskowiak18-Feb-09 2:17 
Questionmove reports form a datagridview to another Pin
lordgara17-Feb-09 23:05
lordgara17-Feb-09 23:05 
AnswerRe: move reports form a datagridview to another Pin
Dave Kreskowiak18-Feb-09 4:43
mveDave Kreskowiak18-Feb-09 4:43 
GeneralRe: move reports form a datagridview to another Pin
lordgara18-Feb-09 5:21
lordgara18-Feb-09 5:21 
QuestionVB.NET Pin
Umesh_8617-Feb-09 20:22
Umesh_8617-Feb-09 20:22 
AnswerRe: VB.NET Pin
Vimalsoft(Pty) Ltd17-Feb-09 21:51
professionalVimalsoft(Pty) Ltd17-Feb-09 21:51 
QuestionNeed Autocomplete Textbox With Text and Value Property Pin
Jagz W17-Feb-09 19:17
professionalJagz W17-Feb-09 19:17 
AnswerRe: Need Autocomplete Textbox With Text and Value Property Pin
dan!sh 17-Feb-09 20:17
professional dan!sh 17-Feb-09 20:17 
QuestionGet Pen Drive Serial No. Not Drive No Pin
Vikash Yadav17-Feb-09 18:56
Vikash Yadav17-Feb-09 18:56 
Questionvb2008 doesn't call a sub in a form Called through assembly Pin
Aiman Farouk Mohamed17-Feb-09 18:46
Aiman Farouk Mohamed17-Feb-09 18:46 
AnswerRe: vb2008 doesn't call a sub in a form Called through assembly Pin
kvelu.d17-Feb-09 19:22
kvelu.d17-Feb-09 19:22 
GeneralRe: vb2008 doesn't call a sub in a form Called through assembly Pin
Aiman Farouk Mohamed18-Feb-09 0:30
Aiman Farouk Mohamed18-Feb-09 0:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.