Hello,
I am opening a ASP.NET page, starting a thread, and would like that thraed to continue running UNTIL the page is closed. How would I stop this thread upon closing the page?
Steven
Is there some event that lets me know when the page has been closed. My problem is I want to delete all files that were created during a viewing of a web page. What is the best way of doing this?
Steve
I want to run a command like "dir" or "del <filename". How do you do this in C#? In C\C++ you can do a System(cmd); What is the C# equivalent?
Steven
I have an array of bytes which should make up a double.
double val;
byte[] doub = new byte[8];
doub[0] = arraybytes[20];
doub[1] = arraybytes[21];
doub[2] = arraybytes[22];
doub[3] = arraybytes[23];
doub[4] = arraybytes[24];
doub[5] = arraybytes[25];
doub[6] = arraybytes[26];
doub[7] =...
I have a hashtable and a value that matches up with a key. Is there an easy way of getting the key from the value? (Without search through all values to find the index)
Or is a SortedList better from going back for forward between keys and values?
Steven
How come this will not work?
DECLARE @TableName VARCHAR(40)
SET @TableName = 'analog'
SELECT * FROM @TableName
Server: Msg 137, Level 15, State 2, Line 5
Must declare the variable '@TableName'.
How could I get around this?
I am currently using the code to open a window.
<a href="javascript:void(0)" onClick="window.open(link, null, 'menubar=no')">link</a>
I was hoping that once I clicked a link, it would open a new window. Then if a clicked another link, it would open another new window...
I would like to get rid of the menu bar on my popup page.
I have a hyperlink control that links to a page, and I would like that link to popup a new window without a menubar.
I know you can open new windows using javascript:
window.open(link, null, "menubar=no", null)
But I don't...
I am using asp.net and have a javascript function. I would like to get all my items out of a multi-selection list box. How would I set up the function and how would I cycle through the selected items?
I have a dynamic LinkButton and I wanted to do a number of things with it.
1. Open a new window when it is selected.
2. Pass it parameters not in the query string (since it will have many different params ie. an arraylist...)
How would I do this?
Thanks for any help/suggestions you may have...
For some reasons I am not getting an imagebutton event.
I create the image button dynamically :
ImageButton imageButton = new ImageButton();
imageButton.ImageUrl = "../Images/editsm.gif";
e.Item.Cells[ i].Controls.Add(imageButton);
imageButton.Command += new...
I have a problem where from my c program, I am running a system command with:
system(cmd);
Now I have a couple of problems. The program I am running in that command is failing and I want to catch the stderr output (so a 'cmd > outfile' does not work). How could I output the results of my...
I have web page and a textbox on that web page. I was wondering if there is a way for textbox to start off as 'Selected' so the user can just start typing as soon as the page loads, rather than having to click in it before he starts to type.
Steven
I am working with ASP.NET (C#) and I have a listbox that I would like to filter by the user entering text into a textbox next to the list.
How could I accomplish this, and is there any code sample available?
Steve
I am working with ASP.NET (C#) and I have a listbox that I would like to filter by the user entering text into a textbox next to the list.
How could I accomplish this, and is there any code sample available?
Steve
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.