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