coder91 0 Junior Poster

hi

If you can use

Plus a = new Plus();

a.PlusID = Convert.ToInt32(dropdownPlus.SelectedValue);
a.PlusNum = 1;

to add a new object and assign a with variable vaules. How can you update this object? Basically I have a recording system and it allows users to use arrow buttons to add or take away a recording. Incrementing code is complete and now all I need is the code to decrement so I am updating the database just need this bit code changed. Any suggestions?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.