Im new

Page 1 of 1

6 Replies - 1128 Views - Last Post: 28 February 2012 - 07:36 AM

#1 kreyonlee09  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 25-February 12

Im new

Posted 28 February 2012 - 06:41 AM

why i cant see the attachmens?? can anyone know why??
Is This A Good Question/Topic? 0
  • +

Replies To: Im new

#2 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10396
  • View blog
  • Posts: 38,464
  • Joined: 27-December 08

Re: Im new

Posted 28 February 2012 - 06:43 AM

Moved to Site Questions and Support.

What attachments are you talking about?
Was This Post Helpful? 0
  • +
  • -

#3 kreyonlee09  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 25-February 12

Re: Im new

Posted 28 February 2012 - 06:57 AM

Thnx man, atachments like sample program, i can download some attacment from other user but this one is my problem,, http://www.dreaminco...ew-with-access/ i cant view attacment in this post.
Was This Post Helpful? 0
  • +
  • -

#4 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10396
  • View blog
  • Posts: 38,464
  • Joined: 27-December 08

Re: Im new

Posted 28 February 2012 - 07:00 AM

It looks like there isn't an associated attachment with the thread, or it was possibly removed. If you want the ZIP file, you may consider PMing Sethro117.
Was This Post Helpful? 0
  • +
  • -

#5 kreyonlee09  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 25-February 12

Re: Im new

Posted 28 February 2012 - 07:12 AM

thank you very much, uhhm can i have some favor,, do you know what coz this king of error? i try to seach it on web, and find nothing, can you please help me wiht this error (The type initializer for 'MyFairytest.Module1' threw an exception.)

heres my code:

Private Sub btnUpdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnUpdate.Click
        Dim sqlUpdate As String

        sqlUpdate = "UPDATE Imbentaryo SET ItemName=@ItemName, Category=@Category," & _
        "ItemCode=@ItemCode, ItemPrice=@ItemPrice, Quantity= @Quantity, Total = @Total WHERE DateIn= '" & txtDateIn.Text & "'"

        Dim cmd As New OleDbCommand(sqlUpdate, con1)

        cmd.Parameters.Add(New OleDbParameter("@ItemName", txtItemName.Text))
        cmd.Parameters.Add(New OleDbParameter("@Category", txtCategory.Text))
        cmd.Parameters.Add(New OleDbParameter("@ItemCode", TxtItemCode.Text))
        cmd.Parameters.Add(New OleDbParameter("@ItemPrice", txtItemPrice.Text))
        cmd.Parameters.Add(New OleDbParameter("@Quantity", txtQuantity.Text))
        cmd.Parameters.Add(New OleDbParameter("@Total", txtTotal.Text))


        con1.Open()
        cmd.ExecuteNonQuery()
        con1.Close()

        ClearTextBox(Me)<---------< i got error on this part (The type initializer for 'MyFairytest.Module1' threw an exception.)
        Me.Close()
        RefreshDataGridvew1()
    End Sub
End Class

This post has been edited by JackOfAllTrades: 28 February 2012 - 10:40 AM
Reason for edit:: Added code tags

Was This Post Helpful? 0
  • +
  • -

#6 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10396
  • View blog
  • Posts: 38,464
  • Joined: 27-December 08

Re: Im new

Posted 28 February 2012 - 07:28 AM

I'm not familiar with VB.NET. If this is a question related to the code you ran from the tutorial, that's the place to post the question. If it is due to code you expanded upon, please post it in the VB.NET forum. Remember to use code tags: :code:.
Was This Post Helpful? 1
  • +
  • -

#7 kreyonlee09  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 25-February 12

Re: Im new

Posted 28 February 2012 - 07:36 AM

thank you for the information sir, sorry about my mistake, i will move to the topic right away
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1