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...
...= new _Equals();
//Use the following to instantiate your own copy
public _Equals() {}
#region Publicly Exposed Methods
//Public
/*
public bool MyTypesAreEqual( object val1, object val2 )
{
//Just in case
if ( !IsMyType(val1.GetType()) || !IsMyType(val2.GetType()) )...
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.
If it is actually compiled as a .dll, I don't think you will be able to debug the code in it, since it has already been compiled. I could be wrong, but I don't think so.
Good luck!
-Kevin
- "The truth hurts, maybe not as much as jumping on a bicycle with no seat, but it hurts.
I would consider using a javascript calendar, since the native .NET calendar is uber slow and requires a post. Find a control that allows you to set min/max dates b/c you don't want someone booking for 3 days ago, and you may not want someone booking 3 years in advance (though you may).
Just a...
Hey airprox,
There are libraries (and it may actually be native) out there that allow you to connect to an excel workbook like it is a database, where the connection string is the file name, the tablename is the name of the sheet, and the columns (obviously) are the columns on the sheet. In...
Gladys,
Unfortunately any changes you want to make to the back-end functionality (c# code-behind) will required being recompiled and deployed. Also, it would depend on the types of changes that you want to make...as to what is going to be required.
There is, however a way that you can make it...
What is the code in your main entry point, if I may ask? A lot of times when enabling visual styles, you do so in main. Also, I would check the properties on the tree view (if you're using a custom tree view and as such are inheriting from the supplied tree, check the base properties).
Good...
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.