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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by kmfna

  1. kmfna

    Cross database query security

    Hello all, I have been looking, but can't find any relevant information about the security of joining tables across databases. I personally can't see an issue at first glance, but one of my colleagues quite condescendingly said there is a security issue and I should "just google it" and...
  2. kmfna

    non null terminated string help

    Hello all, thank you for your responses, I will work on getting the code snippet from my colleague who is directly dealing with this issue. My understanding is that the .dll is actually a C language file, which doesn't actually have the string class, but they apparently created some kind of...
  3. kmfna

    non null terminated string help

    Hello all, My company has recently started working with a 3rd party that has provided us with a .dll which returns a non null-terminated string. I'm not sure exactly what their rationale is behind that, as opposed to a byte array (since we are retrieving an image), but we are looking for a...
  4. kmfna

    VS 2005 question

    Thank you both for your super fast responses....for clarification, it was definitely an issue with the images folders, but it was a permissions thing, so if anyone else encounters this problem, the following needs to be added to the web.config: <location path="Images"> <system.web>...
  5. kmfna

    VS 2005 question

    Hello all, Its been a little while since I've been on tek-tips, so thought I'd say "Hi" before beginning my question. Anyway, my company just recently upgraded our .net 1.1 projects to .net 2.0. We upgraded everything as web applications, as opposed to web sites, because of the crazy amount...
  6. kmfna

    Call a native dll from my managed dll

    d00ape, If I'm not mistaken (though I could be), you cannot have any kind of pointer reference in managed code...maybe you should have just an unmanaged method in your code that references it and converts it to a char[] or a string. Make the method private, and have a managed public method...
  7. kmfna

    VB &amp; C#

    vbGuy, Where I work, we always develop using a 3-tier (MVC) architecture. Whether your controls are bound to data or not, a 3-tiered application will have User Interface Logic, Business Logic, and Database Manipulation logic. The UI Layer should really only Accept user input, display data...
  8. kmfna

    IN versus OR

    hmm...good idea, if possible I'll try that, but since all of our lists are dynamically created, that could be a little tricky. Thanks for your input Alex!! Anyone else have any thoughts on this? -Kevin - "The truth hurts, maybe not as much as jumping on a bicycle with no seat, but it hurts.
  9. kmfna

    IN versus OR

    Hello all, I was curious if someone could tell me when you should use an "IN" statement versus "OR" statements in your where clause, if you just have a list of values (not an "in (select.. from..). So really I guess the main question is where, roughly, is the performance cutoff? 2 values...
  10. kmfna

    putting a string in NameValueCollection

    You may also consider a Dictionary, since it could be strongly typed to strings, you wouldn't have to worry about conversion. 2.0 should have this as a native type. (Templated Dictionary, I think) Good luck -Kevin - "The truth hurts, maybe not as much as jumping on a bicycle with no seat, but...
  11. kmfna

    Online reservation system

    Is this a repost?? As far as suggestions go, 1.1 has pretty nice support for your database connections...if this is only a proof of concept, I would just do something simple with, maybe, an access database...you may also consider using an XML file, since there is nice functionality built...
  12. kmfna

    Re-Query Combo Box

    How's it going? I think what you want to do is add a selectedindexchanged event on your combo box. so you may have something like this (not in front of an ide, so bear with syntactical errors): ComboBox cmb1 = new ComboBox; ComboBox cmb2 = new ComboBox; ComboBox cmb3 = new ComboBox...
  13. kmfna

    Just a starting point for comparing

    Hello all, I just thought that I would drop in and leave a simple starting point for people, if they wanted to try to perform some equal operations. This isn't a fully fleshed out class, but I wanted to give a decent starting point for people that needed something generic, but never had the...
  14. kmfna

    Getting Date, time and day from string

    I may be wrong but I think you could use the string.format functionality to accomplish this. However, if you can't find something to use that way, you could split the string by "-" and use the individual tokens as your value: ie: string sqlServerDateString = "2006-11-12 13:00:00.0000"...
  15. kmfna

    How do I split a string with unusual characters?

    Just as an alternative (though B00gyMan is right as well) is to use the regular expression split, which actually takes a string instead of a character array. Enjoy! -Kevin - "The truth hurts, maybe not as much as jumping on a bicycle with no seat, but it hurts.

Part and Inventory Search

Back
Top