Click here to Skip to main content
15,888,255 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: access uniquetable Pin
Abhinav S6-Feb-12 19:12
Abhinav S6-Feb-12 19:12 
GeneralRe: access uniquetable Pin
C#Coudou6-Feb-12 20:40
C#Coudou6-Feb-12 20:40 
GeneralRe: access uniquetable Pin
Abhinav S6-Feb-12 21:34
Abhinav S6-Feb-12 21:34 
GeneralRe: access uniquetable Pin
C#Coudou6-Feb-12 22:07
C#Coudou6-Feb-12 22:07 
GeneralRe: access uniquetable Pin
Eddy Vluggen7-Feb-12 7:41
professionalEddy Vluggen7-Feb-12 7:41 
GeneralRe: access uniquetable Pin
C#Coudou7-Feb-12 13:41
C#Coudou7-Feb-12 13:41 
GeneralRe: access uniquetable Pin
Eddy Vluggen8-Feb-12 0:18
professionalEddy Vluggen8-Feb-12 0:18 
Questionupdate table programitaclly Pin
Member 32752635-Feb-12 20:40
Member 32752635-Feb-12 20:40 
hi,

i and updating my data gridview cell pragmatically.data is showing in the cell. but not updating but if i typed same value in that cell it is updating.

my code is

Dim conn As SqlClient.SqlConnection = New SqlClient.SqlConnection("Data Source=SQG-133;User Id=" & My.Forms.LoginForm.UsernameTextBox.Text & ";Password=" & My.Forms.LoginForm.PasswordTextBox.Text & ";Initial Catalog=" & My.Forms.LoginForm.tb_database.Text & "")

'update statement----
conn = da_inv.SelectCommand.Connection

da_inv.UpdateCommand = New SqlCommand()

da_inv.UpdateCommand.Connection = conn

da_inv.UpdateCommand.CommandText = "UPDATE dbo.dt_finnance_value_adition SET bank_doc_ref_no=@bank_doc_ref_no WHERE fund_id = @fund_id"

With da_inv.UpdateCommand.Parameters
.Add("@fund_id", SqlDbType.Int, 0, "fund_id")
.Add("@bank_doc_ref_no", SqlDbType.NChar, 10, "bank_doc_ref_no")
End With

'update statement end
da_inv.Update(ds_inv, "inv_table")
AnswerRe: update table programitaclly Pin
Mycroft Holmes5-Feb-12 22:14
professionalMycroft Holmes5-Feb-12 22:14 
QuestionGraphic in DataGridView problem Pin
Mangore755-Feb-12 14:10
Mangore755-Feb-12 14:10 
AnswerRe: Graphic in DataGridView problem Pin
Richard MacCutchan5-Feb-12 23:29
mveRichard MacCutchan5-Feb-12 23:29 
GeneralRe: Graphic in DataGridView problem Pin
Mangore756-Feb-12 6:24
Mangore756-Feb-12 6:24 
GeneralRe: Graphic in DataGridView problem Pin
Richard MacCutchan6-Feb-12 6:33
mveRichard MacCutchan6-Feb-12 6:33 
GeneralRe: Graphic in DataGridView problem Pin
Mangore756-Feb-12 8:26
Mangore756-Feb-12 8:26 
GeneralRe: Graphic in DataGridView problem Pin
Richard MacCutchan6-Feb-12 9:30
mveRichard MacCutchan6-Feb-12 9:30 
AnswerRe: Graphic in DataGridView problem Pin
Luc Pattyn6-Feb-12 0:23
sitebuilderLuc Pattyn6-Feb-12 0:23 
GeneralRe: Graphic in DataGridView problem Pin
Mangore756-Feb-12 6:22
Mangore756-Feb-12 6:22 
AnswerRe: Graphic in DataGridView problem Pin
Luc Pattyn6-Feb-12 6:33
sitebuilderLuc Pattyn6-Feb-12 6:33 
QuestionGetting a table Pin
Dalek Dave5-Feb-12 8:50
professionalDalek Dave5-Feb-12 8:50 
AnswerRe: Getting a table Pin
ChandraRam5-Feb-12 22:07
ChandraRam5-Feb-12 22:07 
GeneralRe: Getting a table Pin
Dalek Dave6-Feb-12 1:49
professionalDalek Dave6-Feb-12 1:49 
QuestionCrystal report problem Pin
Pasan1485-Feb-12 4:25
Pasan1485-Feb-12 4:25 
AnswerRe: Crystal report problem Pin
Dave Kreskowiak5-Feb-12 7:38
mveDave Kreskowiak5-Feb-12 7:38 
QuestionCreate Pdf Viewer disable SaveAs option Pin
Arul Suman4-Feb-12 23:28
Arul Suman4-Feb-12 23:28 
AnswerRe: Create Pdf Viewer disable SaveAs option Pin
Abhinav S4-Feb-12 23:40
Abhinav S4-Feb-12 23:40 

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.