Also consider using a querystring for your code. It'll require a postback, so you'll have to handle that as well.
______________________________________________
When told, "goto hell", a programmer finds the method, not the destination as harmful.
...I should explain better ...
1) put myCustomJavascript.js in the root of my project.
example: <script ... src="myCustomJavascript.js">
**** THIS WORKS
2) put myCustomJavascript.js in /any/ folder on my website
example: <script ...
Alright - here's my situation. I'm using ASP.NET 2.0 and some javascript. The jscript works just fine if I put the files in the root directory of the project, and works fine if I upload the .js file to my web server and fully qualify the name in the src attribute of the script tag (meaning...
thanks for the reply. Yeah, i'm using a static value as a parameter to the CryptHashData function.
I found this article on MSFT's site: http://support.microsoft.com/?kbid=841715 Apparently, the lovely giant has changed the way the API works from WinXP SP1 and beyond. There is a required call...
Is anyone here familiar with the CryptoAPI (functionality exposed through Win32 advapi32.dll)? I'm beating my head against the wall on this project, and can't seem to find anyone that has an answer.
Background to the problem: using VB6 (maint on legacy project + dumb constraints == vb6) to...
Curtis,
I don't have much time to work through this issue today, but the problem is a known issue with the DataGrid (actually, many controls that behave in this manner). What's happening is you're doing something that is firing the OnUpdateCommand event, and the update is happening which is...
Or you could do this ...
int counter=0; counter <= tempArray.GetUpperBound(0);counter++
Both answers provided are correct, the difference is the zero based index. If tempArray has 4 values, they're 0, 1, 2, and 3. tempArray.Length returns 4 - one greater than the index...
I think the problem you're experiencing is because you're trying to declare your variable and instantiate the object in the same line, and for some reason, the compiler is not creating the CV_SELECTED month object before it is executing the code to retreive the DaysInMonth.
I just created a...
actually, you can do that from a Command object. Are you using the System.Data.Odbc namespace? Do you have a System DSN set up to access the db?
If so ...
string sql = "DELETE ..."
OdbcConnection cn = new OdbcConnection(<your dsn params here>);
cn.Open();
OdbcCommand cmd = new...
nickmollberg,
OK, here's what you do (and in C# even!) ...
you've created your form with a multiline textbox, right? If so, you can loop through each line this way (on a button click event):
private void button1_Click(object sender, System.EventArgs e)
{
string[] lines =...
Emmanuel,
Hey - I've been looking around to see if I can answer this question for a day or so. Unfortunately, it appears that you're going in a direction that's not so Microsoft supported. I found this newsgroup article...
only 120 lines of code? You can do that in no time. ;-)
Best of luck to you.
______________________________________________
When told, "goto hell", a programmer finds the method, not the destination as harmful.
Hey there, if I may contribute something here (fresh off the C# exam and still remembering way too many Microsoft definitions) ...
I think your first example is demonstrating a property where, as Chip says, can consist of code to perform some validation, and the second is called a 'field' of a...
Awesome! Good job.
______________________________________________
When told, "goto hell", a programmer finds the method, not the destination as harmful.
chmilz -
Hey, definitely no worries! It's actually fun to help. And referring to you getting some books, I'm talking more about you learning than complaining about me helping. When I first made the plunge into C#, it was on a high-priority, fixed deadline project - I spent 3 months of 12+...
what happens when you do this ...
private void Page_Load(object sender, System.EventArgs e)
{
// Put user code to initialize the page here
AWBSL.FileSet FileSet = new AWBSL.FileSet();
DataTable dt = new DataTable();
FileSet.List(out dt)...
in sql plus, you might want to try ...
TRUNCATE TABLE log_file;
COMMIT;
You can also
DELETE FROM log_file;
COMMIT;
the big diff is that you can rollback a DELETE, and can not rollback a TRUNCATE - AND TRUNCATE is much faster (esp on big tables) because of the rollback with the DELETE...
to get your code to display like mine, click on the Process TGML link below the window you type your reply into. It will give you a help sheet for the TGML tags.
It should look like this when you're typing:
... <your code goes here> ...
Regarding the values still being there, did you...
Yeah, that's odd.
Are you sure you have the database name specified correctly? And the table?
______________________________________________
When told, "goto hell", a programmer finds the method, not the destination as harmful.
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.