blah blah blah is here! blah blah » Close

0
votes
0 answers

iterate through methods...

I need to download 3 text files but they all contain different data so I'm attempting to cycle through each method. I am not quite sure how to do this. Here is what I have... [code] protected void ttlGenerator(object sender, Event ...

0
votes
1 answers

Memory Stream keeps adding a space after each character...

The downloaded text file always ends up doing this... "a s d f a"... I need "asdfa"... Any thoughts? [code] MemoryStream WriteToStream() { int count; byte[] byteArr ...

1
votes
0 answers

create a google docs style drop down file menu - web based

I'm just wondering if anyone has advice on the best way to approach this. So far the closest thing I have is using a drop down menu, but I haven't had much luck finding out how to do a web based file drop down.

0
votes
1 answers

1 of many functions is not firing inside SelectedIndexChanged of a dropdownlist inside of a gridview I have...

So I went into the debugger and even checked to see if the method was even being called...it appears to be skipping right over it...but everything else is working...the method being skipped everytime is update. [code] protected ...

0
votes
1 answers

scroll pauses during partial postback inside of gridview...

I'm trying to make it so that when a user is scrolling during a partial postback (which happens every 2 seconds...) inside this gridview...it doesn't pause or feel like it's glitching out. What is the best way to do this?

0
votes
1 answers

how do you strip a " out of a string?

Okay so I've stripped all kinds of things but a double quote isn't one of them. Any advice on how to do this...? It's basically causing a failing update statement on an sql statement being built when users type in data. [code] p ...

0
votes
1 answers

adding rows to data table seems slow

This is the snippet of code that seems to be on the slow side...It's not just slow though...the browser will say that the script is unresponsive and act like it's going to close, but usually end up working. [code] protected voi ...

0
votes
1 answers

how to get collection (not element) size of an array.

Like this for instance. [code] string[,] siblings = new string[,] { {"Mike","Amy"}, {"Mary","Albert"} }; int length = siblings.Length; // this would give me a 4. I want a 2 because there are 2 se ...

0
votes
0 answers

add a tooltip to each item of radio list or multiple line tool tip...(in firefox also)

I'm having difficulties getting multiple lines on a radio list or assigning a tooltip to each item. I tried all of the following for multiple lines... /n \n Enviroment.System.NewLine <br /> <br/> No luck adding a to ...

0
votes
4 answers

execute database action once a week automatically?

I'm using MySQL, but a response for Microsoft SQL server will help me get some idea. I need to flush 2 tables in my database once a week automatically. I plan on just dropping them and recreating them, but I don't know how to set this up au ...

0
votes
1 answers

Error 1 It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. C:\Users\Steven\AppData\Local\Temp\VWDWe

I opened my web site located on the server from my machine in visual studio and I keep getting this error... Error 1 It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This e ...

0
votes
0 answers

the folder (foldername) is marked as executable. You are not allowed to put files into an executable folder on this server.

I just added front page extensions to my site on windows 2003 server running IIS 6. Once I got it configured I tried to publish my application to the server from my work station by right clicking my web application, left clicking publish, a ...

0
votes
2 answers

help with pinging function...

I'm need to eventually ping around 500 computers every time a button is clicked while reading ip addresses from a database, but at the moment, pinging 1 computer in C# seems to be giving me difficulty. I run this code...which I put the labe ...

0
votes
1 answers

Using a 2nd FileUploader.PostedFile.InputStream is crashing my web application...

[code] StreamReader r = new StreamReader(PreUpload.PostedFile.InputStream); sbPreFile = StripFile(r); MigrationRecord[] AllPreRecords = engine.ReadString(sbPreFile.ToString()) as MigrationRecord[]; ...

1
votes
9 answers

continue to get a 404 on windows server 2003 with .aspx pages

I'm configuring a 2003 windows server and I did all of these things (that I remember off the top of my head.) Install IIS Download .net 4 Enable .Net Enable active pages Tried to start .net service but it started and then stopped i ...

Feedback