I even do more
I thought that off line copy of date should be awared that previous insrets went trhough so retrieve to dataset latest changes from database. But it still does not work.
Below code of whole method
private void saveToolStripMenuItem_Click(object sender, EventArgs e)
{...
Hi all
I have form and three DataGridView on it. They are binded to DataTable's which has relation as Parent-Children-Grandchildren, tables on MSQ SQl server has same relations.
To save changes which user makes in that objects I use method Update() of respective tableadapters. I call methods in...
After number of experiments and researches
Problem is that if method called from toolbar it requires validation of form and in same time simple buttton on form does not require it. Any thoughts why?
Anyway this is piece of working code
private void Save()
{
try
{
this.Validate()...
That is the Point. NO exception. Code runs smoothly with one weird thing: line
this.tbAccountTableAdapter.Update(this.dsInvestorAccount.tbAccount);
simply does not work, does not affect anything, like it is not there.
Hi All
I am trying add to standart binding navigator some button. I add "Save" button. In event click it call method Save() of form
private void Save()
{
try
{
AppStart.setarithabort(this.tbAccountTableAdapter.Connection)...
In other word there is no safe "normal" way to freely change design of the form. That's sad.
M$ noobs should understand that there is (almost) no such thing as unchangble forms
I have a lot work to do thus :(
2 JurkMonkey:
I meant a little bit different issue
Make this experiment
1. Create form
2. Put on it GroupBox and dock it is as Fill
3. Create MenuStrip and try to put it in usual space on top of window.
You will see that Groupbox will not allow you do that. My question how I can get it over...
In my experience besides of Anchor and Dock look for object as Panel, GroupBox, SplitContainer.
One trick which I can not understand still. To construct form which properly reacts on resize - I mean DataGridView's follow resizing, Navigatorbinding and MenuStreep sit on their places and not...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.