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 bkrike 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: KDavie
  • Content: Threads
  • Order by date
  1. KDavie

    SubType attribute of File element is csproj

    In an application I am currently working on I have the need to programmatically add files to the csproj file. The task of doing this, in and of itself, is pretty straight forward. However, I'm having trouble finding any useful (and complete) documentation on the csproj file schema...
  2. KDavie

    XmlSerialization - Serialize collection contents only

    I have some objects that I am serializing that contain collections. The collections are of List type (though I am not opposed to using a different type if it will help me accomplish my goal). When the objects are serialized I would like to serialize the contents of the collection without...
  3. KDavie

    Fire element mouseover from another element

    Hello, I have a div which contains an input button and an image. The image is centered over the button inside of the div. <div> <input id="btnHistory" type="button" value="" onclick="DoSomething(this);" /> <img id="imgArrowDown" src="Images/DropDownArrow.gif"...
  4. KDavie

    Sum of cumlative measure

    Can somebody provide me with an example of how to calculate the sum of a cumlative measure? Any help would be greatly appreciated.
  5. KDavie

    Subscribe to event in user control

    Although this questions pertains to a web project, it is c# specific..... There is an event I need to subscribe to on a user control I'm working with. The user control has several of its own controls, one of which is a third-party treeview. I need to subscribe to the treeview's NodeClick...
  6. KDavie

    TreeView TreeNodeExpanded

    I am using a TreeView control to display some hierarchical data. I want the TreeView to populate its nodes dynamically. I was hoping to achieve this using the TreeNodeExpanded event. Basically, when a node is expanded, the system will fetch the child rows, add them to the hierarchical...
  7. KDavie

    Problems with ASPNET user

    I've created a simple Subversion command-line wrapper which I intended to use in a ASP.NET application. The wrapper uses System.diagnostics.Process to start cmd.exe and process the SVN commands. When I originally created the library I tested it with a console application; everything worked...
  8. KDavie

    @@fetch_status always equals -1

    I have a cursor that I am creating to update data in a table. Even though I am certain there are records being returned in the cursor select statement (I know this because when I run the select along, it returns 3600 rows), the @@fetch_status is always -1. Can anyone tell me why this would be...
  9. KDavie

    Update Inner Join

    I apologize for asking a question that has been presented all too many times. However, after reading several threads and google hits, I can't figure out what I am doing wrong. I have two tables, a customer table and an inquiry table. I need to update customer records based on a value in the...
  10. KDavie

    RSACryptoServiceProvider

    Hello, I'm trying to work through the following example: http://www.eggheadcafe.com/articles/20020630.asp Here is what my Cryptography class looks like: using System; using System.Collections.Generic; using System.Text; using System.Security.Cryptography; namespace Rijndael { class...
  11. KDavie

    DataGridView Selected Row Indicator

    This is driving me crazy... I've put way too much time into something that should be a relatively simple task... I am programmatically changing the selected row on a datagridview. For the most part everything works as expected, however, the selected row indicator (the little arrow in the left...
  12. KDavie

    dg ItemCommand not firing w/ ButtonColumn

    This is driving me crazy!!! I have a datagrid which uses the ItemCommand to run some code... When I try to use a ButtonColumn in the dg to fire the ItemCommand it doesn't work... However, when I use a template column and add a LinkButton to it the event fires fine... I want a PressButton...
  13. KDavie

    Send CTRL-ALT-Home through DDE

    I am tring to send CTRL-ALT-Home through a DDE but can't seem to figure out how to get the "Home" in there. Here is my code: keystringsend.LinkTopic = "LCW|Info" keystringsend.LinkItem = "Keystring" keystringsend.LinkMode = 2 keystringsend = "^+{HOME}" keystringsend.LinkPoke I am using this...
  14. KDavie

    Can this be done using DTS?

    I have a SQL Server 2000 db as a backend to an ASP.Net application that I am working on. The db contains a table named RecordLocks which is part of a custom record locking scheme. Basically, when a user selects a record in the app it checks the table to make sure someone else isn't already...
  15. KDavie

    Remoting multiple classes w/ config files

    Hello, I am trying to implement remoting in an Web App that I am working on. The problem is that the business layer has multiple classes and I can't seem to figure out how to make it work. The remoting portion of my host config file looks like this: <system.runtime.remoting> <application>...
  16. KDavie

    Change color of checkbox

    I am trying to figure out if there is anyway to change the color of a checkbox. I want to change the checkbox itself, not the border around it. I've read and read and can't seem to find an answer. Currently I have a checkboxlist and I would like the colors of each checkbox in the list to be...
  17. KDavie

    Undesirable behavior w/ linkbutton

    I have a linkbutton which is used to simply refresh summary data. The problem is that the button is on a parent form which contains an iFrame. When the button is clicked it updates the summary info on the parent form, as is should, but it also redirects the child frame back to its src page...
  18. KDavie

    Stop datagrid from trimming leading spaces

    I have a datagrid which contains a column that has records with intentional leading spaces. For some reason the datagrid is automatically trimming these spaces when the data is bound to the grid. Is there anyway to stop this behavior? I want the leading spaces!!!! Any help is appreciated...
  19. KDavie

    Object reference not set to an instance of an object

    I have a datagrid with a checkbox in it. I am trying to loop through the grid so I can check if the checkbox is checked. My Code: Dim dgItem As DataGridItem Dim chkSelected As CheckBox Dim intCorrespondenceID As Integer For Each dgItem In dgReadyForLetter.Items chkSelected =...
  20. KDavie

    global.asax application_end

    Can anyone tell me when this event actually fires? I thought that whenever a user either closes the browser by pressing 'X' or when the user types in a new URL this event would fire, however that doesn't seem to be working that way when I try to run the app. I've noticed that the event does...

Part and Inventory Search

Back
Top