Exploring the Data Source Window
- Posted: Aug 25, 2005 at 6:07 PM
- 7,620 Views
- 2 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
VS2005 Express Edition. I found three lines of code there but all I get is an exception error if I don't use the try catch methods.
Me.Validate() "is ok"
Me.MytableBindingSource.EndEdit() "is ok"
Me.MytableTableAdapter.Update(Me.Mytable_TableDataSet.Mytable)
the last one throws the exception.
I appears there is no easy way to get a grid view to update.
This has been my problem for most data applications. Most folks lead us to believe that is so easy to work. Sure I can make my own tables and get them bound as my data source. And I can go look at these sweet examples all day. But when it comes to doing something usefull like saving my own data it gets very grey.
So! What I am asking is a short and sweet way to make updates using queries for a database. Perhaps I should get into a book on T-SQL.
Update: Okay! Now I find it will work if I am sure to use a numeric key.
Wow, pretty cool. I built a grid view for my friend to put his class schedule in and whatever else he would like to such as teachers contact info and due dates. The first header is Day and all the rest are Period numbers.
Remove this comment
Remove this thread
close