Forum: ASP.NET Mar 5th, 2009 |
| Replies: 4 Views: 973 well lets start with this
what is the connection string? |
Forum: ASP.NET Dec 2nd, 2008 |
| Replies: 14 Views: 2,644 what?
are you saying you are modifying the web config file in microsoft.net/framework/v2.0.50727/config ?
it needs to be the web config file in the directory for iis |
Forum: ASP.NET Dec 2nd, 2008 |
| Replies: 14 Views: 2,644 and that folder is a web application? |
Forum: ASP.NET Dec 2nd, 2008 |
| Replies: 14 Views: 2,644 maybe this is a configuration issue, for sure this folder that the web.config resides as a webapplication? |
Forum: ASP.NET Dec 2nd, 2008 |
| Replies: 14 Views: 2,644 try moving the customerrors to directly below <system.web>
are you able to view the error on localhost, vs remote? |
Forum: ASP.NET Dec 2nd, 2008 |
| Replies: 14 Views: 2,644 post your webconfig from the server, and i'll take a look |
Forum: ASP.NET Dec 2nd, 2008 |
| Replies: 14 Views: 2,644 you just need to change what it tells you
open up the webconfig, search for customErrors and set mode to off and restart the web app, just to be safe
this setting basically just allows you to... |
Forum: ASP.NET Nov 28th, 2008 |
| Replies: 1 Views: 903 you did not post the error |
Forum: ASP.NET Nov 24th, 2008 |
| Replies: 5 Views: 621 not sure why they changed it
you don't see related features on the right? with aspnet code snippets? |
Forum: ASP.NET Nov 24th, 2008 |
| Replies: 5 Views: 621 they are on the right hand top side, much different layout though, not sure if i am up for it
here's a link as well
http://www.daniweb.com/code/ |
Forum: ASP.NET Nov 10th, 2008 |
| Replies: 2 Views: 380 its not about the mac, its about the browser, safari i assume
try to set this on the table style and see if it corrects it
empty-cells:hide; |
Forum: ASP.NET Nov 4th, 2008 |
| Replies: 2 Views: 1,683 after insertion do this
Response.Redirect("../Prototype/AddConfirm.aspx");
normally postback will occur to your same page, but postbackurl changes to the other page, thats why your insert... |
Forum: ASP.NET Nov 2nd, 2008 |
| Replies: 2 Views: 815 manipulate the filename before creating the saveFile
string newFile = FileUpload1.FileName;
newFile = "myfilename_" + newFile;
saveFile = Path.Combine(savePath, newFile); |
Forum: ASP.NET Oct 28th, 2008 |
| Replies: 4 Views: 1,215 also, just as a formatting rule, try to keep your control names consistent
i.e. tbFirstName
otherwise, it could get a little messy trying to find all your textboxes on a page |
Forum: ASP.NET Oct 27th, 2008 |
| Replies: 4 Views: 520 Lol a professor wants you to make it more complex. One of the objectives in programming, is to make a complex task into manageable and logical separated parts, but maybe he just wants to see a... |
Forum: ASP.NET Oct 23rd, 2008 |
| Replies: 5 Views: 3,702 aspx is not straight html code, it must be compiled, whether thats at runtime or precompiled
you can right click on your file in visual studio and click view in browser, this will launch the vs... |
Forum: ASP.NET Sep 11th, 2008 |
| Replies: 2 Views: 1,549 |
Forum: ASP.NET Sep 7th, 2008 |
| Replies: 2 Views: 611 I use both business and enterprise, i think business is more than sufficient. |
Forum: ASP.NET Sep 2nd, 2008 |
| Replies: 4 Views: 677 what about this
<td>
<img src="<%=j%>" /> |
Forum: ASP.NET Sep 2nd, 2008 |
| Replies: 4 Views: 677 That should work.
You might need to use
out.print(j); |
Forum: ASP.NET Aug 29th, 2008 |
| Replies: 2 Views: 617 If they are only supporting index.htm, they might not be supporting asp.net pages. Normally, you can set through cpanel or whatever you have, a startup page or set the order on default.aspx,... |
Forum: ASP.NET Aug 21st, 2008 |
| Replies: 4 Views: 3,294 Easiest to just make it an aspx page and add the javascript to that. If you just need javascript here's a couple links on parsing the query string through javascript.
... |
Forum: ASP.NET Aug 21st, 2008 |
| Replies: 4 Views: 3,294 For this you can use a query string or session, query string might be easiest.
connect.aspx.cs
protected void picUpload_Click(object sender, EventArgs e)
{
int year = 1870;... |
Forum: ASP.NET Aug 21st, 2008 |
| Replies: 8 Views: 4,265 Where are you calling countfile from?
Also ensure you have proper access on the c:\pictures\ directory, remember IIS is most likely using the asp.net service account to read the directory. You... |
Forum: ASP.NET Aug 20th, 2008 |
| Replies: 8 Views: 4,265 |
Forum: ASP.NET Aug 20th, 2008 |
| Replies: 8 Views: 4,265 to get the files use
string dir = @"C:\images\";
string[] files;
int numFiles;
files = Directory.GetFiles(dir);
numFiles = files.Length;
string nextFileName = (numFiles + 1).ToString() +... |
Forum: ASP.NET Aug 20th, 2008 |
| Replies: 2 Views: 2,371 Are you searching the correct container?
ie if you add it to a panel. Use panelId.FindControl |