p1tter_pattter
asked on
dataset or bindingSource? (C# / C Sharp)
Hi,
(first gotta tell ya, Im a total newbie)
Heres the progress so far, I have successfully got the data from a varchar thats called ex1 from the database into a textbox called ex1_textbox.
My dataset name is: settingsDataset1
my bindingsource name is: bindingSource1
my tableadaptername is _SettingsTableTableAdapter
How can i access the dataset via code?
For example:
MessageBox.Show("The dataset of EX1 is:" + <WHAT CODE COMES HERE?)
Then i want to do something like this:
(begin the edit)
ex1=ex1+"something";
(end the edit and update the database)
Thats it... am totally confused...
thanks in advance!
(first gotta tell ya, Im a total newbie)
Heres the progress so far, I have successfully got the data from a varchar thats called ex1 from the database into a textbox called ex1_textbox.
My dataset name is: settingsDataset1
my bindingsource name is: bindingSource1
my tableadaptername is _SettingsTableTableAdapter
How can i access the dataset via code?
For example:
MessageBox.Show("The dataset of EX1 is:" + <WHAT CODE COMES HERE?)
Then i want to do something like this:
(begin the edit)
ex1=ex1+"something";
(end the edit and update the database)
Thats it... am totally confused...
thanks in advance!
use a Grid View to bind your data set , and show the data, you can add ability to update and delete data too
these links will help you on this :
http://msdn.microsoft.com/en-us/library/33w255ac%28v=VS.80%29.aspx
http://www.akadia.com/services/dotnet_databinding.html
http://msdn.microsoft.com/en-us/library/33w255ac%28v=VS.80%29.aspx
http://www.akadia.com/services/dotnet_databinding.html
ASKER
Thanks!
I'll check them out...
I'll check them out...
ASKER
Just checked those links out, they seem a bit too advanced for me :(
This is my entire app (its small really)
http://ezee.se/xmas/SplashScreen.rar
and im just trying to save the edits made in the "settings" form which contains 2 checkboxes and 1 textbox..
can you have a look please?
This is my entire app (its small really)
http://ezee.se/xmas/SplashScreen.rar
and im just trying to save the edits made in the "settings" form which contains 2 checkboxes and 1 textbox..
can you have a look please?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thx