Question : update db

I can read and write data from a DB using linq. To do an update of a current record I am having trouble with. I am using vb.net and silverlight to update a sql server db using linq.

this adds a new record but to update a record what do I do.
I want to change the subject type of someone with a id (pk).
 

   Dim db As New sql.Web.DataClasses1DataContext
        Dim mys As two
        mys = New two

        mys.id2 = "qq"
        mys.subject2 = "ww"

        db.twos.InsertOnSubmit(mys)

        db.SubmitChanges()

Answer : update db

You need to make #tableNav a little wider.  I put it at 940px and it straightened up.  I think the padding and/or margins on ul/li may be slightly larger in IE.
Random Solutions  
 
programming4us programming4us