Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

ASP.NET DataBase Driven WebSite with DataSet (part 2)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
9,621
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 20, 2010

learn how to make a button add vallues in the textboxes as a record in a table

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (ASPToday)

  • wen was that FirstName:= etc declared ?

    because my visual cant find my UserName:=

    pls help...

    and pls make an tutorial of register and tutorial pls

  • @Mutikira when creating a table adapter in the dataset xsd file, you should select all the fields you need with the query builder unless you're writing the query yourself. In your case your query should look something like this: "select UserName, anotherField from yourtable". If the intelisense doesn't show your field, just type it in manually like so: "UserName:=". What helps sometimes is to start typing the name of the field and then backspace one character and the intelisense kick in.

  • @ASPToday hmm wat i did is i remove the username:=. but i still put the txtusername.Text...and it works normally. is it fine to remove it?

    but i will try wat u've said to me^^tnx for the reply :]

  • @Mutikira soryy for the late reply, if you list asp controls in the insert statement in the same order as the sql statement in your xsd, it will insert properly even if you don't manually map them like: username:=txtUser.text.

    I just like to do it to make sure everything matches.

  • @rsmandudeguy unfortunately I don't program in c#.

see all

All Comments (16)

Sign In or Sign Up now to post a comment!
  • @ASPToday So basicly from the beginning allready we should create a new default page choosing .VB instead of C# ?

  • can you tell me why and what does not appear in my data source to configure anything on the part chosse your bussines object

  • Error 1 Handles clause requires a WithEvents variable defined in the containing type or one of its base types. C:\Users\magindexter\Documents­\Visual Studio 2008\WebSites\PracticeDatabase­\Default.aspx.vb 5 94 C:\...\PracticeDatabase\

    Someone please help me with this error???

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more