Error with sql views

asp.net United States
  • 18 years ago

    I try to add or update a record with vb.net to a sql view and it's impposible. Only some tables of the database accept the changes. The aplication doesn't send an error.  
    This is the code:


           Dim row As DataRow
           row = DataSetWiaSer1.Tables("qryCaso").NewRow
           row("Id") = "00106200221"
           row("Date") = Now
           DataSetWiaSer1.Tables("qryCaso").Rows.Add(row)
           SqlDataAdapter1.Update(DataSetWiaSer1)

  • 18 years ago

    Ohh my

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“God could create the world in six days because he didn't have to make it compatible with the previous version.”