all groups > asp.net > march 2004 > threads for saturday march 13
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
VBScript's Execute statement equivalent in .NET?
Posted by Samuel at 3/13/2004 11:46:05 PM
Hi all
as I am converting a client's software to asp.net, I encountered a problem with what I used to have with asp, the VBScript's execute/executeglobal statement. What's VB.NET's equivalent to this statement
Thanks... more >>
How to redirect to another page
Posted by Peter Afonin at 3/13/2004 8:12:53 PM
Hello:
I need to redirect user to another folder (or another site). Usually I put
this code to global.asax:
Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs)
Try
Dim svr As String = LCase(CStr(Request.Url.ToString))
Dim svr2 As String
If InStr(1, svr, "domain1") >... more >>
What comes after ASP.NET?
Posted by sales NO[at]SPAM trevoroakley.com at 3/13/2004 7:38:27 PM
As I am learning ASP.NET from some books, I find that many books are
out of print. I have seen this trend before, and this signals a
replacement in techonology. It is very difficult to find many ASP
books nowdays.
I have no idea what is replacing ASP.NET, is it wireless (eg WAP,
WML), or some... more >>
Help with button in a repeater
Posted by Maziar Aflatoun at 3/13/2004 7:36:35 PM
Hi,
I have a repeater that contains data and I like the ablility to delete each
row once the delete button is clicked. I have placed a delete button in each
row which fires up an event which in return gives me a row id. Now I like
to hide the 'FileName' in my <asp:Button> as well too so I can... more >>
page expiration
Posted by Brad Williams at 3/13/2004 6:00:30 PM
Is there a way to make it so that if the user presses the browser back
button, the browser will show "Page Expired"? I've tried doing this in
Page_Load to no avail:
this.Response.Cache.SetAllowResponseInBrowserHistory(false);
this.Response.Cache.SetCacheability(System.Web.HttpCacheability.NoC... more >>
Validation Error in VS 2003
Posted by Steve House at 3/13/2004 3:14:29 PM
I'm trying to develop with VS 2003 and get the error: The Web Server
reported the following error when attempting to create or open the web
project located at the following URL: http: yada yada. 'http/1.1 500
internal server error'. I have everything installed on XP including FP
server extens... more >>
Detect x minutes of innactivity in downloaded WebForm
Posted by mg at 3/13/2004 2:56:08 PM
Can someone provide me with code (C# and/or JavaScript) that will recognize when there has been x minutes of innactivity by the end user in a downloaded WebForm and then kill (abandon) the current session and redirect to another page.... more >>
connection string for MS Access problem?
Posted by ozcankanbur NO[at]SPAM yahoo.com at 3/13/2004 1:41:20 PM
Normally I can connect to Access database but after I give password
for Access database file, I can not connect. Can you send me an
example connection string.
Thanks... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
MDI form in ASP.NET?
Posted by grawsha2000 NO[at]SPAM yahoo.com at 3/13/2004 1:06:32 PM
Greetings,
I would like please to know if it is possible to create ASP.NET page
similar in functionality to MDI in winforms(if so, please provide
example or web site links)??
MTIA,
Grawsha... more >>
GetFolderPath Problem
Posted by Bryan Tang at 3/13/2004 12:21:13 PM
Dear all professional,
I have problem. the 1st statement can return the path of Windows system
folder however the 2nd statement doesn't return the path of "Favorites". Why
this will happen? Any solution?
public string myFavorites =
Environment.GetFolderPath(Environment.SpecialFolder.System)... more >>
DataGrid not firing SelectedIndexChanged newbie question
Posted by rwg at 3/13/2004 11:55:32 AM
I'm working through the MSDN's "Walkthrough: Creating a Web Application
Using Visual C# or Visual Basic"
I double clicked on the Datagrid which created the SelectedIndexChanged
event handler, but this handler never get's events! Got kicks and grins I
added event handlers for datagrid's sortin... more >>
Dynamic control creation. Please help...
Posted by Jim Mace at 3/13/2004 10:56:06 AM
Scenario: I'm trying to create, based on a value from a drop-down list (1-100), a dynamic table row that contains a text box using the following code
//get the number from the combo bo
intNumWings = Convert.ToInt16(cboNumWings.SelectedValue)
//create a new tab... more >>
Session Vaiable
Posted by Marco at 3/13/2004 10:16:07 AM
How to store variable in as session object
String[] var = new string[2] {1; 2
session(?) =
Thnks in advanc
... more >>
Session Viriables
Posted by Marco at 3/13/2004 10:16:07 AM
How to store variable in as session object
String[] var = new string[2] {1; 2
session(?) =
Thnks in advanc
... more >>
Session.Abandon() confusion.
Posted by KK at 3/13/2004 9:58:12 AM
Hi,
I have my sessionstate set to inProc. In web.config
<sessionState
mode="InProc"
cookieless="false"
timeout="1"
/>
to test I have set the timeout to 1 minute
I log in, wait till 1 minute expires and then I click on
a link on the same browse... more >>
TreeView.htc
Posted by Andrew at 3/13/2004 9:46:06 AM
Why treeview.htc(behavior) is missing in TreeView control implementation? It's much more clear client code if use html behaviors in up level browsers
Thanks.... more >>
How to calculate ages based on the slected date?
Posted by Showjumper at 3/13/2004 9:36:39 AM
I am working on an app that lets users pick dates via a calendar control. I
hen need to calculate the age and show it in a form such as 1 year 2 months
1wk. Its for a veterinary practice so i need to be able to show the number
of weeks if its less than month and the nunber of months also. Any tip... more >>
How can I get SSL Certificate for my site?
Posted by Trint Smith at 3/13/2004 9:10:17 AM
Or, do I need one? Does Microsoft provide a free one or something?
Thanks,
Trint
..Net programmer
trintsmith@hotmail.com
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!... more >>
ASP.NET Page does not works after move
Posted by Daveed at 3/13/2004 9:01:07 AM
I have a simple ASP page which gets data from the user and then triggers a console App which encrypts the data into a file. This console app creates a tmpfile() during the encryption process. I developed and tested the page on my machine (WinXP with FAT32 using VS2k3) and it worked fine. Since I ha... more >>
Datagrid displaying Line feeds? (and layout question)
Posted by Grant Mills at 3/13/2004 8:46:04 AM
Is there anyway to get a datagrid to display line feeds?
I have a bunch of data stored in the database, and needs to have the
formatting stay the same as when it was put in. Everything is HTMLencoded in
the database. However, when displayed by ASP.net, it does everything BUT the
line feeds... more >>
How can I call notepad.exe within ASP.net
Posted by Arron at 3/13/2004 8:36:05 AM
I use asp.net(webform) to finish my web site
For some reason,I need to call notepad.exe in my WebForm
For example,when client users click a button in my web page,it will call
notepad.exe to show
But I do not know how to write the code
Can anyone help me
Thank you!
my email is :9144492@pchome... more >>
Controls not visible when running application
Posted by Teo at 3/13/2004 2:00:58 AM
Hi! I am using ASP Web Matrix to develop ASP.NET pages for an application.
When I run it on my IIS server I can't see any of the controls.
I have the latest .NET Framework 1.1 installed and still nothing.
What can I do to get it up and running?
Thanks much in advance,
Teo
... more >>
alternative to Session vars
Posted by Slipperman at 3/13/2004 1:19:05 AM
i was wondering if there was another way to implement session-global
variables without actually using Session vars..
for some reason i get these errors when i run my site from the server that i
dont get when i run and test it locally (w2k, IIS). i'm pretty sure i read
somewhere on the host site ... more >>
application/x-javascript vs. text/javascript.
Posted by Peter Rilling at 3/13/2004 1:00:06 AM
What is the difference between application/x-javascript and text/javascript.
While writing a web spider, I notice that different servers may send
different content code. Also on one particular site, the text within the
HTML for the <script> tag indicates "text/javascript" while the server
actua... more >>
SqlDataReader
Posted by jjy at 3/13/2004 12:39:47 AM
While the SqlDataReader is in use, the associated SqlConnection is busy
serving the SqlDataReader, and no other operations can be performed on the
SqlConnection other than closing it.
If I am looping the first dataset and I want to do some more SQL operations
such as getting other info from a ... more >>
|