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.
Uhm - I'm doing that. That's my point. Maybe 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 ...
(in C#)
First, there are now classes for accessing data in the different data sources. Some examples are:
System.Data.Odbc: for creating DSNs through ODBC drivers
System.Data.OleDb: MSFT Access style
System.Data.SqlClient: SQL Server
System.Data.OracleClient: Oracle
... etc.
Your code...
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.
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.