Search Results

Showing results 1 to 40 of 139
Search took 0.02 seconds.
Search: Posts Made By: f1 fan ; Forum: ASP.NET and child forums
Forum: ASP.NET Sep 13th, 2009
Replies: 6
Views: 3,879
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: ASP.NET Jul 10th, 2007
Replies: 2
Views: 3,961
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: ASP.NET Jul 5th, 2007
Replies: 2
Views: 2,582
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,246
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,658
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: ASP.NET Jul 5th, 2007
Replies: 13
Views: 1,758
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,758
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,758
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: ASP.NET Jul 5th, 2007
Replies: 11
Views: 115,954
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: 2,081
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,199
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,966
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,758
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: 990
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: 5,241
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,425
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: 656
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: 905
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,688
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,228
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: 849
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,056
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: 3,030
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,684
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,270
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,430
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: 11,346
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,722
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,407
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.
Forum: ASP.NET Mar 27th, 2007
Replies: 1
Views: 2,289
Posted By f1 fan
my vb and my VS2003 are very rusty so there may be a better way than this.

You just get the record from the dataset/datatable and set the textbox.text or label.text = to the rows cell for the...
Forum: ASP.NET Mar 27th, 2007
Replies: 1
Views: 1,694
Posted By f1 fan
It doesnt by default for a website in VS2005. you would just upload your aspx files to your webserver.

You can get it to compile to a dll and upload the dll if you want. It is more secure on the...
Forum: ASP.NET Mar 26th, 2007
Replies: 3
Views: 2,013
Posted By f1 fan
dont you use the built in memebership providers? all the information is done for you. When a user is logged in and you need to know their information at any time just call Membership.GetUser() and...
Forum: ASP.NET Mar 26th, 2007
Replies: 8
Views: 2,467
Posted By f1 fan
Atlas was microsofts name for Ajax.net when it was in beta. At the last minute (RTM 1.0 is out now) they changed it to ajax.net
There is a great sample website with ajax.net control toolkit with a...
Forum: ASP.NET Mar 26th, 2007
Replies: 4
Views: 20,133
Posted By f1 fan
in answer the original question your page references were incorrect. you have to get a reference to the calling page from the Server.Request object. Cast that to a Page object then findcontrol for...
Forum: ASP.NET Mar 26th, 2007
Replies: 1
Views: 1,254
Posted By f1 fan
the error is in your dbmig dll. The reason you see the error is you dont have debugging on that dll (probably because you have just the dll and not the source code there).

In the code in the dll...
Forum: ASP.NET Mar 26th, 2007
Replies: 2
Views: 9,545
Posted By f1 fan
The easiest way is to write a query to select the data from all 3 tables and put them into a dataset with relationships.
Then you just have to iterate through the first table one row at a time and...
Forum: ASP.NET Mar 26th, 2007
Replies: 9
Views: 2,840
Posted By f1 fan
Ok i will try again.
In SQL Server there is a system database called Master. This is the heart of SQL Server. Whenever you add an object to SQL Server such as a database, a user, a stored proc, a...
Forum: ASP.NET Mar 23rd, 2007
Replies: 8
Views: 2,467
Posted By f1 fan
If you want to see some of the AJAX power then go the http://www.cloisonneheirlooms.com and look at the homepage there. It is a new wholesale site i am building for a customer and only the front...
Forum: ASP.NET Mar 23rd, 2007
Replies: 5
Views: 3,518
Posted By f1 fan
OK
You can get webdeveloper express which is free and makes it a lot easier.
the code below has a grid view which lets me list, edit and delete items in the grid (it could select too but i have no...
Forum: ASP.NET Mar 23rd, 2007
Replies: 3
Views: 5,715
Posted By f1 fan
firstly i would use the membership provider given with .net framework2 and VS2005.
Then you can create the tables and everything needed in the database using the aspnet_regsql program that comes...
Showing results 1 to 40 of 139

 


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

©2003 - 2009 DaniWeb® LLC