By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,335 Members | 1,310 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,335 IT Pros & Developers. It's quick & easy.

How to add rows ?

P: n/a
Hey
I have very simple Access database. I added it as a source to my windows
app, and typed dataset was created. Let's say it's moviesDataSet. I added
bindingSource and used detailed view. So in my interface now is the
navigator on the top and add and delete button. I added also Save button,
because add button creates a new row but only in interface. What's the
easiest way to save it. I can set values in the moviesDataSet by adding new
row. But it forces me to read this values from interface manualy. Is there a
way to just have it read and set with no additional work ?
Jarod

May 10 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
> Is there a way to just have it read and set with no additional work ?

Sure, pay someone to write the code for you. Of course, you'll have to work
to make the money to pay for it, so, perhaps I should have said "no."

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Hard work is a medication for which
there is no placebo.

"Jarod" <bl*****@NOSPAM.gazeta.pl> wrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
Hey
I have very simple Access database. I added it as a source to my windows
app, and typed dataset was created. Let's say it's moviesDataSet. I added
bindingSource and used detailed view. So in my interface now is the
navigator on the top and add and delete button. I added also Save button,
because add button creates a new row but only in interface. What's the
easiest way to save it. I can set values in the moviesDataSet by adding
new row. But it forces me to read this values from interface manualy. Is
there a way to just have it read and set with no additional work ?
Jarod

May 10 '06 #2

P: n/a
>> Is there a way to just have it read and set with no additional work ?

Sure, pay someone to write the code for you. Of course, you'll have to
work to make the money to pay for it, so, perhaps I should have said "no."


You know what I meant ;) Because binding data in one way is done without
writing a line of code so I thought maybe there is a way to save data back
without too many lines of code ;) Or what is the simplest way to do it in
this case ?
Jarod

May 11 '06 #3

P: n/a
> You know what I meant ;) Because binding data in one way is done without
writing a line of code so I thought maybe there is a way to save data back
without too many lines of code ;) Or what is the simplest way to do it in
this case ?


There is a certain amount of code that Visual Studio will write for you.
This is for the purpose of productivity. It reduces the amount of time you
spend writing boiler-plate code for yourself. This boiler-plate code is an
approximation of common tasks, which is not intended to replace the process
of writing your code, but to enhance it by doing some of the grunt work for
you.

Every application has different requirements, which means that every
application must have custom code to perform the work of the specific
requirements. It is not logical to expect Visual Studio to write all of your
code for you. It can give you a start, and you're on your own from there. If
it was possible for Visual Studio to do this, there would be no need for
programmers. Any AOL user could type in a set of requirements, and Visual
Studio would write their application for them.

So, yes, I knew what you meant. But I'm not sure you know what I mean!

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Hard work is a medication for which
there is no placebo.

"Jarod" <bl*****@NOSPAM.gazeta.pl> wrote in message
news:OQ****************@TK2MSFTNGP04.phx.gbl...
Is there a way to just have it read and set with no additional work ?


Sure, pay someone to write the code for you. Of course, you'll have to
work to make the money to pay for it, so, perhaps I should have said
"no."


You know what I meant ;) Because binding data in one way is done without
writing a line of code so I thought maybe there is a way to save data back
without too many lines of code ;) Or what is the simplest way to do it in
this case ?
Jarod

May 11 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.