Click here to Skip to main content
15,915,724 members
Home / Discussions / Database
   

Database

 
GeneralRe: Big problem Pin
vtalau21-Sep-05 0:29
vtalau21-Sep-05 0:29 
GeneralRe: Big problem Pin
sreejith ss nair21-Sep-05 0:36
sreejith ss nair21-Sep-05 0:36 
Questionconnection pooling Pin
minkinin19-Sep-05 22:28
minkinin19-Sep-05 22:28 
AnswerRe: connection pooling Pin
enjoycrack19-Sep-05 23:39
enjoycrack19-Sep-05 23:39 
GeneralRe: connection pooling Pin
Anonymous20-Sep-05 20:38
Anonymous20-Sep-05 20:38 
AnswerRe: connection pooling Pin
sreejith ss nair20-Sep-05 1:20
sreejith ss nair20-Sep-05 1:20 
QuestionDebug Sp Pin
sreejith ss nair19-Sep-05 19:31
sreejith ss nair19-Sep-05 19:31 
AnswerRe: Debug Sp Pin
Frank Kerrigan20-Sep-05 0:51
Frank Kerrigan20-Sep-05 0:51 
GeneralRe: Debug Sp Pin
sreejith ss nair20-Sep-05 1:06
sreejith ss nair20-Sep-05 1:06 
QuestionStroing Word Document in the Database Pin
Ahsan Askare19-Sep-05 18:57
Ahsan Askare19-Sep-05 18:57 
AnswerRe: Stroing Word Document in the Database Pin
turbochimp19-Sep-05 19:42
turbochimp19-Sep-05 19:42 
AnswerRe: Stroing Word Document in the Database Pin
enjoycrack19-Sep-05 19:43
enjoycrack19-Sep-05 19:43 
GeneralRe: Stroing Word Document in the Database Pin
Ahsan Askare19-Sep-05 21:06
Ahsan Askare19-Sep-05 21:06 
AnswerRe: Stroing Word Document in the Database Pin
Michael P Butler20-Sep-05 2:34
Michael P Butler20-Sep-05 2:34 
QuestionNewbish Problem Pin
tatchung19-Sep-05 18:30
tatchung19-Sep-05 18:30 
AnswerRe: Newbish Problem Pin
Edbert P19-Sep-05 19:34
Edbert P19-Sep-05 19:34 
GeneralRe: Newbish Problem Pin
tatchung19-Sep-05 20:08
tatchung19-Sep-05 20:08 
GeneralRe: Newbish Problem Pin
Edbert P19-Sep-05 20:39
Edbert P19-Sep-05 20:39 
GeneralRe: Newbish Problem Pin
tatchung19-Sep-05 21:09
tatchung19-Sep-05 21:09 
GeneralRe: Newbish Problem Pin
Edbert P20-Sep-05 13:44
Edbert P20-Sep-05 13:44 
QuestionUpdate Command Failing Pin
japel19-Sep-05 0:42
japel19-Sep-05 0:42 
I can fill the DataGrid from a data source SQL but the update fails...

New to Programming and working on SQL DB any help would be great...

Dim SQLConnection1 As SqlClient.SqlConnection
Dim SQLCommand1 As SqlClient.SqlCommand
Dim SQLAdapter1 As SqlDataAdapter = New SqlDataAdapter
Dim myDataSet As New DataSet

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
SQLConnection1 = New System.Data.SqlClient.SqlConnection
SQLCommand1 = New System.Data.SqlClient.SqlCommand
SQLCommand1.Connection = SQLConnection1
SQLConnection1.ConnectionString = "Data Source=JAPEL-XP;Initial Catalog=CanonDB;User Id=sa;Password=;"
'SQLConnection1.Open()
End Sub
Private Sub FillData()
Dim Command1 As SqlCommand = New SqlCommand("SELECT Username , [Password] FROM WebSiteList")
Command1.CommandType = CommandType.Text
SQLConnection1.Open()
Command1.Connection = SQLConnection1

myDataSet = New DataSet("myDataSet")

SQLAdapter1.SelectCommand = Command1
SQLAdapter1.Fill(myDataSet, "WebSiteList")

DataGrid1.SetDataBinding(myDataSet, "WebSiteList")

SQLConnection1.Close()
End Sub

' This is the Code that fails..................

Private Sub UpdateData()
SQLAdapter1.Update(myDataSet, "WebSiteList")
End Sub


When people make you see red, be thankful your not colour blind.
AnswerRe: Update Command Failing Pin
enjoycrack19-Sep-05 0:54
enjoycrack19-Sep-05 0:54 
AnswerRe: Update Command Failing Pin
Luis Alonso Ramos19-Sep-05 8:19
Luis Alonso Ramos19-Sep-05 8:19 
GeneralRe: Update Command Failing Pin
japel19-Sep-05 10:36
japel19-Sep-05 10:36 
AnswerRe: Update Command Failing Pin
Luis Alonso Ramos20-Sep-05 19:49
Luis Alonso Ramos20-Sep-05 19:49 

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.