Click here to Skip to main content
15,920,508 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Help with "OutOfMemoryException" Pin
Juan Patrick30-Apr-08 13:22
Juan Patrick30-Apr-08 13:22 
GeneralRe: Help with "OutOfMemoryException" Pin
Christian Graus30-Apr-08 13:36
protectorChristian Graus30-Apr-08 13:36 
QuestionWindows Service not working Pin
svanwass29-Apr-08 15:54
svanwass29-Apr-08 15:54 
QuestionSQL help [modified] Pin
bapu288929-Apr-08 9:41
bapu288929-Apr-08 9:41 
AnswerRe: SQL help Pin
Ray Cassick29-Apr-08 11:54
Ray Cassick29-Apr-08 11:54 
QuestionRe: SQL help Pin
bapu288930-Apr-08 8:03
bapu288930-Apr-08 8:03 
AnswerRe: SQL help Pin
Ray Cassick30-Apr-08 8:37
Ray Cassick30-Apr-08 8:37 
QuestionRe: SQL help Pin
bapu28891-May-08 8:32
bapu28891-May-08 8:32 
hello sir

thanks for your rep.

i have tried few things but still i am no way near

this is what i have done

 Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click<br />
        Dim SQL As String = Nothing<br />
        SQL = "DELETE FROM Student WHERE StudentID = " & TextBox3.Text<br />
        If MessageBox.Show("Are you sure you want to delete", "Delete", MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation) = MsgBoxResult.Yes Then<br />
            conStudent = New Data.SqlClient.SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Documents and Settings\bablu\My Documents\Visual Studio 2005\Projects\SQL DataApplication\SQL DataApplication\Student.mdf;Integrated Security=True;User Instance=True")<br />
<br />
            conStudent.Open()<br />
            Try<br />
                commStudent = New SqlClient.SqlCommand(SQL, conStudent)<br />
                commStudent.ExecuteNonQuery()<br />
                dsStudent.Clear()   :confused:<br />
<br />
                daStudent.Fill(dsStudent)    :confused:<br />
<br />
                MsgBox("Itemdeleted successfully", MsgBoxStyle.Information)<br />
            Catch ex As Exception<br />
                MsgBox(ex.Message)<br />
            End Try<br />
            conStudent.Close()<br />
        Else<br />
            Exit Sub<br />
        End If<br />
    End Sub


and i have also read tool tip when i select from IDE but now i dont know what to do

waiting for your kind help

have a good day sir

thanks
AnswerRe: SQL help Pin
Ray Cassick1-May-08 11:02
Ray Cassick1-May-08 11:02 
AnswerRe: SQL help Pin
bapu28892-May-08 9:29
bapu28892-May-08 9:29 
GeneralRe: SQL help Pin
Ray Cassick2-May-08 9:37
Ray Cassick2-May-08 9:37 
GeneralSending text to the printer Pin
MikeMarq29-Apr-08 8:40
MikeMarq29-Apr-08 8:40 
AnswerRe: Sending text to the printer Pin
Smithers-Jones29-Apr-08 8:53
Smithers-Jones29-Apr-08 8:53 
GeneralRe: Sending text to the printer Pin
MikeMarq29-Apr-08 15:40
MikeMarq29-Apr-08 15:40 
AnswerRe: Sending text to the printer Pin
Smithers-Jones29-Apr-08 21:33
Smithers-Jones29-Apr-08 21:33 
GeneralRe: Sending text to the printer Pin
MikeMarq30-Apr-08 2:10
MikeMarq30-Apr-08 2:10 
AnswerRe: Sending text to the printer Pin
Smithers-Jones30-Apr-08 3:04
Smithers-Jones30-Apr-08 3:04 
QuestionHow to write a help-assistant like office Assistant? Pin
MaWeRic29-Apr-08 4:59
MaWeRic29-Apr-08 4:59 
AnswerRe: How to write a help-assistant like office Assistant? Pin
Zaegra29-Apr-08 8:41
Zaegra29-Apr-08 8:41 
GeneralRe: How to write a help-assistant like office Assistant? Pin
MaWeRic4-May-08 22:47
MaWeRic4-May-08 22:47 
Questionreceive file names sent to your application Pin
Member 467598629-Apr-08 2:29
Member 467598629-Apr-08 2:29 
GeneralCP MEMBERS: IGNORE QUESTION Pin
leckey29-Apr-08 6:51
leckey29-Apr-08 6:51 
GeneralServer was unable to process request. ---&gt; System.InvalidCastException Pin
Nitin198129-Apr-08 0:48
Nitin198129-Apr-08 0:48 
GeneralRe: Server was unable to process request. ---&gt; System.InvalidCastException Pin
Mycroft Holmes29-Apr-08 1:41
professionalMycroft Holmes29-Apr-08 1:41 
Generalgetting reports from your app (best practises are there any how do you do it?) Pin
GDMFSOB29-Apr-08 0:35
GDMFSOB29-Apr-08 0:35 

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.