Click here to Skip to main content
15,921,959 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Convert textbox value to Null if no entry in the TextBox vb.net [modified] Pin
Vimalsoft(Pty) Ltd2-Jul-07 4:44
professionalVimalsoft(Pty) Ltd2-Jul-07 4:44 
GeneralRe: Convert textbox value to Null if no entry in the TextBox vb.net Pin
Nick Rioux2-Jul-07 4:51
Nick Rioux2-Jul-07 4:51 
GeneralRe: Convert textbox value to Null if no entry in the TextBox vb.net Pin
Vimalsoft(Pty) Ltd2-Jul-07 5:04
professionalVimalsoft(Pty) Ltd2-Jul-07 5:04 
GeneralRe: Convert textbox value to Null if no entry in the TextBox vb.net [modified] Pin
Nick Rioux2-Jul-07 5:09
Nick Rioux2-Jul-07 5:09 
GeneralRe: Convert textbox value to Null if no entry in the TextBox vb.net Pin
Dave Kreskowiak2-Jul-07 5:21
mveDave Kreskowiak2-Jul-07 5:21 
GeneralRe: Convert textbox value to Null if no entry in the TextBox vb.net [modified] Pin
Vimalsoft(Pty) Ltd2-Jul-07 5:48
professionalVimalsoft(Pty) Ltd2-Jul-07 5:48 
GeneralRe: Convert textbox value to Null if no entry in the TextBox vb.net Pin
Dave Kreskowiak2-Jul-07 12:42
mveDave Kreskowiak2-Jul-07 12:42 
GeneralRe: Convert textbox value to Null if no entry in the TextBox vb.net Pin
Vimalsoft(Pty) Ltd2-Jul-07 19:40
professionalVimalsoft(Pty) Ltd2-Jul-07 19:40 
Thanks Dave for your time.
yes i know that the Table "Property" named i used is very Bad, but its the name of the table, sometimes to find my way around in my code i had to prefix it with an underscore, because Property is a keyword in VB. i have redefined the Dataset11 and it does not give an error anymore, but still the data does not reflect in my table.
<br />
      Dim strErrorMsg As String<br />
        Dim strerror As System.Data.SqlClient.SqlError<br />
        'save the datasource Changes<br />
        If mblnIsDirty Then<br />
            If MessageBox.Show("Do you want to Save the Changes?", "Property", _<br />
         MessageBoxButtons.YesNo, MessageBoxIcon.Question) = DialogResult.Yes Then<br />
                '    Checking for Error in the dataset<br />
                Try<br />
<br />
                    SqlDataAdapter1.Update(DataSet11, "Property")<br />
                Catch ExSQL As System.Data.SqlClient.SqlException<br />
                    MessageBox.Show(strErrorMsg, "SQL Server Error: " & strerror.Number, MessageBoxButtons.OK, MessageBoxIcon.Error)<br />
                End Try<br />
            End If<br />
        End If<br />

let me find a way out of this, if i dont i will shout



Vuyiswa

GeneralRe: Convert textbox value to Null if no entry in the TextBox vb.net Pin
Dave Kreskowiak3-Jul-07 2:11
mveDave Kreskowiak3-Jul-07 2:11 
GeneralRe: Convert textbox value to Null if no entry in the TextBox vb.net Pin
Vimalsoft(Pty) Ltd3-Jul-07 2:33
professionalVimalsoft(Pty) Ltd3-Jul-07 2:33 
GeneralRe: Convert textbox value to Null if no entry in the TextBox vb.net Pin
Vimalsoft(Pty) Ltd2-Jul-07 5:27
professionalVimalsoft(Pty) Ltd2-Jul-07 5:27 
GeneralRe: Convert textbox value to Null if no entry in the TextBox vb.net Pin
Dave Kreskowiak2-Jul-07 5:31
mveDave Kreskowiak2-Jul-07 5:31 
GeneralRe: Convert textbox value to Null if no entry in the TextBox vb.net Pin
Nick Rioux2-Jul-07 5:33
Nick Rioux2-Jul-07 5:33 
QuestionProblem with VB.NET and MS Access Pin
Nilesh Hapse2-Jul-07 3:18
Nilesh Hapse2-Jul-07 3:18 
AnswerRe: Problem with VB.NET and MS Access Pin
cutequencher2-Jul-07 6:28
cutequencher2-Jul-07 6:28 
GeneralRe: Problem with VB.NET and MS Access Pin
Nilesh Hapse2-Jul-07 19:29
Nilesh Hapse2-Jul-07 19:29 
QuestionVB.net user controls in Access 2007 Pin
Tom Deketelaere2-Jul-07 3:00
professionalTom Deketelaere2-Jul-07 3:00 
AnswerRe: VB.net user controls in Access 2007 Pin
Nick Rioux2-Jul-07 4:30
Nick Rioux2-Jul-07 4:30 
QuestionSee which virusscanner and firewall is installed Pin
Zaegra2-Jul-07 2:24
Zaegra2-Jul-07 2:24 
AnswerRe: See which virusscanner and firewall is installed Pin
Tom Deketelaere2-Jul-07 3:17
professionalTom Deketelaere2-Jul-07 3:17 
AnswerRe: See which virusscanner and firewall is installed Pin
Nick Rioux2-Jul-07 4:39
Nick Rioux2-Jul-07 4:39 
AnswerRe: See which virusscanner and firewall is installed Pin
Dave Kreskowiak2-Jul-07 5:17
mveDave Kreskowiak2-Jul-07 5:17 
QuestionPrinting a form Pin
Zaegra2-Jul-07 2:03
Zaegra2-Jul-07 2:03 
AnswerRe: Printing a form [modified] Pin
Tom Deketelaere2-Jul-07 2:57
professionalTom Deketelaere2-Jul-07 2:57 
QuestionModify entire line Pin
sridhar kiran2-Jul-07 1:50
sridhar kiran2-Jul-07 1:50 

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.