Actually I got it! Sorry to bother ya!
The problem was that in my code I had declared the "On..." commands but in the "Design View" they were specified there as well.
As soon as I removed the entries from the Design View and was left with only the declarations in the code, everything worked...
Since I have you here sacheson,
I have one other small problem that I can't really figure out.
The ExecuteNonQuery() works great on my updates and deletes but for some reason when I click the Update button on the datagrid it loops through the "OnUpdateCommand" method twice??? Is there a...
I figured that much...
But I want to delete a value from my database... the Update Method wants to take in a dataset.
I don't have a dataset anywhere... the user selects a product to delete from the table and the delete method gets passed the product id for the SelectedIndex of the DataGrid...
Hello all,
I am writing an application in ASP.NET that uses a DataGrid to display product information. I am having trouble with passing the delete funtion on to the Access Database and was wondering if someone could help as I am fairly new at this...
Here is the code I have so far:
query =...
Hi Sacheson!!
Good news!! I figured it out!!! Here is what I ended up doing:
private void LoadList()
{
lstFiles.Items.Clear();
AWBSL.FileSet FileSet = new AWBSL.FileSet();
DataTable dt = new DataTable();
FileSet.List(out dt);
foreach(DataRow row in dt.Rows)
{...
Hey Sacheson,
thanks so much for your help! I definitely never wanted to do it all for me but I really appreciate your assistance.
I have a book on order already that hopefully will help me get to where I need to be. I did a lot of C++ programming in school but it has been 3 1/2 years since...
Bleh,
To add to everything I just found out that I will have to get the values from a Datatable (its the way my project manager wants it done :p). So... basically, I have a user control that allows a user to "attach" (insert) files into our oracle data base using a User Control on a webpage...
Hello,
no I don't think I did.... I basically connected to the Database with SQLPlus and manually deleted everything from the log_file table (The table where the data I want to populate resides)..
here is the code
private void Page_Load(object sender, System.EventArgs e)
{
// Put user...
yup Positive....
I managed to get the list box to clear by commenting out everything except the Clear(), running it, then un-commenting the rest of the code.
After that, I added a file (added just fine) but when I hit the refresh button it keeps adding another value to the box.
How do I post...
hey hey,
hmmm... there must be something else going on. Even with the Items.Clear(), I still get values popping up in the list box when the page loads. If I comment out all the code however, the list box appears empty.
I am inclined to think that it is something wrong with the database but...
nevermind,
PICNIC!!!(Problem in Chair not in computer)
I spelled the table name wrong in my select statement (DUH!!)
however, it worked great the first time, now I keep seeing duplicate values whenever I add something to the Database.
I have even tried deleting every row in that table and...
Thanks for the help Sacheson,
I have copied all of the code into Oracle format and the only problem is when I run the file I get an error at the
"OracleDataReader dr = cmd.ExecuteReader()"
the error says that the column or view doesn't exist... any thoughts?
Cheers :)
Hello all,
Another question (I am full of them today!!).
What I want to do is parse a string that holds a file name down to the file name itself....
For example, if I took the value of a "File Upload" textbox, say something like: "C:\Documents\filename.txt",
how could I parse the string into...
Hi All,
I was wondering if someone could help me with populating a listbox with values from a Database.
I am fairly new to C# and programming in general.
Basically, I have a table of values stored in an oracle database that I would like a listbox on my page to reflect.
I am assuming that I...
Hello all,
We recently upgraded to 2003 from 2000 (Office). It's been great but for a small problem.
All of our templates from Word 2000 (Binder covers and spines, CD-labels etc etc) don't pring properly in Word 2003. The images in the template either don't show up at all or the printer...
Hi all!
I have enabled Mail Journaling on our Malibox Store in 2003 and there is one thing that I would like to know if it is possible.
In Exchange 5.5 we had the journaling setup to journal ONLY email that was sent to external clients and ONLY email coming in from an external source...
Hello all,
We recently upgraded from Exchange 5.5 to Exchange 2003.
I have a small problem that I am trying to sort out. Hopefully someone can help me....
--------------------------------------------------------
In Exchange 5.5:
We had IMC Journaling configured to send a copy of ALL outgoing...
Hi all!
I have a rather perplexing problem on my hands.
This just started happening a few days ago. I am using Veritas Backup Exec 8.6 for Windows Servers. When I attempt to catalog a tape, Veritas just loads it into a drive, then unloads it, then loads it again... over and over... in the...
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.