Search Results

Showing results 1 to 40 of 275
Search took 0.02 seconds.
Search: Posts Made By: f1 fan
Forum: ASP.NET Sep 13th, 2009
Replies: 6
Views: 3,776
Posted By f1 fan
The message in your email has the wrong base address in it. Without knowing how and where you send the email from I cannot help too much. But to send a link via an email you have to put in the full...
Forum: C# Jul 11th, 2007
Replies: 1
Views: 2,098
Posted By f1 fan
yes you can pass an array such as
MyMethod(byte[] jpgstream)
{
}

parameters are passed by value as a default so no need to specify byval. If you want to pass by reference then specify ref...
Forum: C# Jul 10th, 2007
Replies: 1
Views: 1,163
Posted By f1 fan
I personally put them in seperate assembly for testing and not compile the assembly for deployment.
Forum: C# Jul 10th, 2007
Replies: 3
Views: 4,908
Posted By f1 fan
It seems you have copied (or used) a VS 2003 application in VS2005. There were some subtle changes when VS2005 was introduced which included Partial Classes.

Previously when creating a windows...
Forum: C# Jul 10th, 2007
Replies: 1
Views: 1,068
Posted By f1 fan
You have all your logic in a big tangled mess.

I suggest you start by writing in pseudo code what you want to do and then code. You have while loops that do nothing, while loops inside for loops...
Forum: C# Jul 10th, 2007
Replies: 3
Views: 1,781
Posted By f1 fan
For real simplicity just add a string to the items collection with dashes in it "-------" or underscores "________"

Not nice but simple.

Otherwise you will need to use the GDI tools and the...
Forum: ASP.NET Jul 10th, 2007
Replies: 2
Views: 3,790
Posted By f1 fan
The microsoft grid cannot do that. I use the infragistics grids for mulitple related tables.

For read only you could use the datarepeater and use the child rows under each main row in their own...
Forum: C# Jul 6th, 2007
Replies: 3
Views: 3,019
Posted By f1 fan
90% of what you do in C# (or any OO language for that matter) is in functions.

I am not sure exactly what you are asking though - I know you are new to C#. You ask if you can put some repetative...
Forum: ASP.NET Jul 5th, 2007
Replies: 2
Views: 2,475
Posted By f1 fan
Could be anywhere

Without code and which IE is giving you the problem we cant help
Forum: ASP.NET Jul 5th, 2007
Replies: 1
Views: 1,208
Posted By f1 fan
It is the data not your code. You are putting something in there that cant be converted at runtime. Probably a null value somewhere - you have no testing of the data before you manipulate it.
Forum: ASP.NET Jul 5th, 2007
Replies: 1
Views: 8,308
Posted By f1 fan
In a word - State

Remember asp.net is stateless. When you click the button click the page reloads first and so you lose the previously added column.

You need to turn on their viewstate
Forum: HTML and CSS Jul 5th, 2007
Replies: 7
Views: 4,426
Posted By f1 fan
The best way then is to go to a host that offers everything and copy your website there. Add the extras for the comments form and then on the old site get them to do url redirecting to the new site....
Forum: IT Professionals' Lounge Jul 5th, 2007
Replies: 18
Views: 3,460
Posted By f1 fan
I++

We use existing license software. Everything has to have a license. There are no automatic free trials. Free trials give people ways to abuse it, hack it or your competitors a chance to see...
Forum: ASP.NET Jul 5th, 2007
Replies: 13
Views: 1,701
Posted By f1 fan
We use both depending on the app. I have SQL for web apps, we also code for company sql databases and we use SQL express for some small desktop apps but mainly use SQL express so our users can work...
Forum: ASP.NET Jul 5th, 2007
Replies: 13
Views: 1,701
Posted By f1 fan
I forgot to mention that Northwind is not the best for SQL 2005 - they brought out adventureworks to show it off - you can get that at...
Forum: ASP.NET Jul 5th, 2007
Replies: 13
Views: 1,701
Posted By f1 fan
no they have it - it just isnt shipped anymore with it as not everyone wants it on their system.

They have it for download with other samples at ...
Forum: IT Professionals' Lounge Jul 5th, 2007
Replies: 18
Views: 3,460
Posted By f1 fan
Assuming you have fully tested it (and that means using qualified testers (more than 1) and automated tools) then you could use some online places firstly such as CNET downloads, windows marketplace,...
Forum: C# Jul 5th, 2007
Replies: 9
Views: 2,436
Posted By f1 fan
Hey guys

Dont reinvent the wheel :) the guys at Microsoft have developed a central data access layer and other useful stuff. It is in their applications blocks in Patterns and Practices and there...
Forum: C# Jul 5th, 2007
Replies: 1
Views: 5,426
Posted By f1 fan
the arguments are an array so you add the whole argument into the array.

eg. p1.arguments.insert("loginname=Admin",0);
p1.arguments.insert("loginpassword=true",1);
Forum: ASP.NET Jul 5th, 2007
Replies: 11
Views: 111,676
Posted By f1 fan
without going into too much argument over html vs asp.net controls etc (and I also use asp.net controls sparingly) I think you all missed the point of the original question :) haha

I took it as he...
Forum: ASP.NET Jul 5th, 2007
Replies: 1
Views: 1,956
Posted By f1 fan
use the javascript timer function and set its interval to be the time entered.

using your example
setTimeout("alert('Some Message!')",5400000);


the 5400000 is the number of milliseconds...
Forum: ASP.NET Jul 5th, 2007
Replies: 2
Views: 1,173
Posted By f1 fan
Be careful you dont write your vb6 code on the intranet as you will see big performance losses. You not only have to port it to a web based application but also to .net and asp.net (along with ajax,...
Forum: ASP.NET Jul 5th, 2007
Replies: 2
Views: 1,871
Posted By f1 fan
I assume this is some homework?

It can be done using a grid or table. You can then react to cell events if you wish. To save it in a database you have to run through each cell (ie every column...
Forum: ASP.NET Jul 5th, 2007
Replies: 13
Views: 1,701
Posted By f1 fan
Thats why microsoft give you a built in database (northwind) so you dont have to get one to start off.
Forum: ASP.NET May 4th, 2007
Replies: 1
Views: 951
Posted By f1 fan
Firstly you need to install SQL Server Express on the web server as it may not be installed. Then you need to copy your database to the correct place (as it says the database is not there). then...
Forum: ASP.NET May 3rd, 2007
Replies: 4
Views: 4,984
Posted By f1 fan
To use a remote SQL Server you need to add the settings to your web config. At the top you need to add the connection string

<connectionStrings>
<add name="MyConnectionString"...
Forum: ASP.NET May 3rd, 2007
Replies: 1
Views: 1,390
Posted By f1 fan
that is extremely dangerous for a number of reasons. Firstly does the end user know you are taking their files? What is to stop you taking other files such as their password etc.
Secondly how do...
Forum: ASP.NET May 2nd, 2007
Replies: 1
Views: 638
Posted By f1 fan
single row = executereader
single value = excutescalar. This will return the first column of the first row only so will not be any use for a single row that has more than one column.
Forum: ASP.NET May 2nd, 2007
Replies: 1
Views: 844
Posted By f1 fan
no easy way sorry.
You have to get an array of datarows where the surveyid = the surveyid of the row you deleted (140 in your example) and sorted on the question number column. Then run through...
Forum: ASP.NET May 2nd, 2007
Replies: 2
Views: 6,327
Posted By f1 fan
use a string builder if you want to make it yourself.


stringbuilder sb = new stringbuilder;
sb.appendline("<table>");
for (int i=0; i<=arraycount; i+=2) //for vb people it is For I = 0 to...
Forum: ASP.NET May 2nd, 2007
Replies: 5
Views: 1,194
Posted By f1 fan
you need the very simple String.Split() method.
your string will be the textbox.text field and the delimiter will be a space. This returns an array of strings.
This is C# but VB is 95% identical
...
Forum: ASP.NET May 2nd, 2007
Replies: 2
Asp
Views: 836
Posted By f1 fan
We need more information... post the line or two of code that throws the error.
Forum: ASP.NET May 2nd, 2007
Replies: 2
Views: 1,027
Posted By f1 fan
ahhhhhhh the oldest mistake with webpages that everyone forgets about.

This is web pages NOT windows forms so you have to remember the difference it is VITAL!

See your event handler at the top?...
Forum: ASP.NET Apr 26th, 2007
Replies: 2
Views: 2,877
Posted By f1 fan
I dont know Visual Web Developer but if you are using .net 2 framework then everything is built in for you. Use the membership class. Even if you dont use it and roll your own you should have one...
Forum: ASP.NET Apr 26th, 2007
Replies: 1
Views: 4,496
Posted By f1 fan
you would have to write javascript so that on each keypress you would check the script against the array and return the next item in the array.

If you wanted to do it server side you can do the...
Forum: ASP.NET Apr 26th, 2007
Replies: 1
Views: 3,113
Posted By f1 fan
in your html code you need

<input type="button" value="Print" onclick="javascript:window.print();" />
Forum: ASP.NET Mar 29th, 2007
Replies: 9
Views: 6,203
Posted By f1 fan
my mistake for not concentrating while writing the post

try

.tablecellhyperlinks td
Forum: ASP.NET Mar 28th, 2007
Replies: 3
Views: 10,958
Posted By f1 fan
if you have bound the datagrid to the datasource and have insert, update and delete commands in your data source just set allowedit and allowdelete = true for the gridview and it will take care of...
Forum: ASP.NET Mar 27th, 2007
Replies: 2
Views: 4,569
Posted By f1 fan
do you have a mail server on your local machine? you are calling the smtp server on localhost but i suspect the service isnt installed and running. use a known smtp server. then add .net...
Forum: ASP.NET Mar 27th, 2007
Replies: 1
Views: 1,352
Posted By f1 fan
document.all doesnt work in all browsers as far as i know. use the more robust document.getElementById("myRTF")

That doesnt always work either especially with older browsers.
Showing results 1 to 40 of 275

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC