Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: chmilz
  • Order by date
  1. chmilz

    Deleting Records from an Access DB

    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...
  2. chmilz

    Deleting Records from an Access DB

    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...
  3. chmilz

    Deleting Records from an Access DB

    Sam, Checking up on me? Lol... thanks so much for the input, that is exactly what I was looking for! Thanks again :)
  4. chmilz

    Deleting Records from an Access DB

    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...
  5. chmilz

    Deleting Records from an Access DB

    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 =...
  6. chmilz

    Populating a listbox

    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) {...
  7. chmilz

    Populating a listbox

    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...
  8. chmilz

    Populating a listbox

    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...
  9. chmilz

    Populating a listbox

    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...
  10. chmilz

    Populating a listbox

    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...
  11. chmilz

    Populating a listbox

    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...
  12. chmilz

    Populating a listbox

    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...
  13. chmilz

    Populating a listbox

    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 :)
  14. chmilz

    Parsing a string Value

    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...
  15. chmilz

    Populating a listbox

    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...
  16. chmilz

    2000 Templates do not work in 2003

    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...
  17. chmilz

    Custom Forms In OWA 2003

    Hello all, Is it possible to allow someone to view Custom Forms through OWA 2003? If so, how could this be implemented? Cheers!
  18. chmilz

    Journaling Question

    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...
  19. chmilz

    IMC Journaling in Exchange 2003

    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...
  20. chmilz

    Unable to Catalog

    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...

Part and Inventory Search

Back
Top