all groups > asp.net > july 2003 > threads for thursday july 10
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
MS SQL or MYSQL
Posted by Vincent V at 7/10/2003 11:10:47 PM
Hey guys im about to start a large project and am wondering what
DB server to use
I have the Choise of MySql(innodb) or if i pay a bit extra i can get MS SQL
2000
The concerns i have
-What type of limited functionality will i come accros with MYSQL
ie No stored POCS
-Limitations with the RDB... more >>
Is Session maintained if browser only request a graphic?
Posted by someone at 7/10/2003 9:30:56 PM
Let's say I have a Session timeout of 20 minutes. If the browser
periodically request a graphic file, will that keep its Session alive?
What keeps the Session alive? Is it the Session cookie that is sent in the
HTTP header from the browser? If that is so, will requesting a graphic file
send th... more >>
Problem with TextBox w/TextMode = password
Posted by Alex at 7/10/2003 7:11:58 PM
I can't seem to programatically assign a textBox server control when
TextMode=Password, why is this?
... more >>
Why do I have to qualify 'DataRowView' with System.Data?
Posted by karim at 7/10/2003 6:15:22 PM
I am getting the error below when I try to use DataRowView in my aspx page.
I am using the System.Data in my code behind. I even tried importing
system.Data in the aspx. I have to qualify it with System.Data to get it
going. Why is that?
Error Message:
The type or namespace name 'DataRowView'... more >>
How to turn Strict "off"?
Posted by Andy Crawford at 7/10/2003 6:06:01 PM
Even though I have set Strict Off, it is still on, thus causing this =
error.
Here is the code in a templated Column of a DataGrid: (XPpro, =
Framework 1.1)
<ItemTemplate>
<TABLE width=3D"100%">
<TR>
<TD class=3D"gridItemStyleNormal" align=3D"left" width=3D"50%"><%# =
Databinder.Eval... more >>
Error:: Activex componet can not create object:"WScript.Shell"
Posted by Mike John at 7/10/2003 5:31:36 PM
I am trying to use the shell object to send keys to the
explorer browser to run the send page funcion.
I am receiving the above error only when I put my html
file in the web server folder.However if I am runing the
file local it will work
Any reason, why when the file is in the web server ... more >>
Creating onClick event for dynamically (programatically) created buttons
Posted by Hrvoje Vrbanc at 7/10/2003 5:15:04 PM
Hello all!
My question is the following: I add buttons (server controls)
programatically into a table cell. Example:
Dim btObnovi As Button = New Button()
celija25.Controls.Add(btObnovi)
The number of rows in the table depends on number of records in a database.
Therefore, the number of ... more >>
ASP.NET and MS-SQL debug info?
Posted by Artmic at 7/10/2003 5:05:05 PM
Hello can anyone help me with a MS-SQL2000 install
and .Net + windows2000 advance server.
I installed everything, and everything works fine on its
own. But when i try to run my ASP.NET application it
gives me a very basic error message, and i can not figure
out what is wrong with the appl... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to get an object?
Posted by Woland at 7/10/2003 4:51:01 PM
Hello,
I'd like to get objects of particular type from AppDomain. Is this possible?
If is this possible, how can I do it?
Thanks in advance,
Woland
... more >>
WMI and ASP.NET
Posted by Richard Schneider at 7/10/2003 4:33:22 PM
I have code (C# using System.Management) that creates
the DACLs for a folder. This code works on the local
machine and a remote machine using impersonation.
However, when I call the code from an .ASPX page, I get
an "access denied" exception when trying to obtain the
security descriptor. Th... more >>
databinding
Posted by Leon Shaw at 7/10/2003 4:19:15 PM
have two Dropdownlist and one which is containing States and one
containing Cities. I know how to do all the little databinding task in
visual studios interface as well as set the relationship (parent, child,
etc.). In the code behind file in page_load event I fill the data adapter
and databind... more >>
"no Web server was detected at this URL:
Posted by James at 7/10/2003 4:16:29 PM
After installing win2K and try to run my ASP application I get the following
error:
"Visual Studio .NET cannot create or open the application because no Web
server was detected at this URL: 'http://localhost/WebApplication1'. Make
sure the Web server is installed and running.
I reinstalled I... more >>
Starting a desktop app from ASP.NET
Posted by John Wright at 7/10/2003 4:13:57 PM
I am trying to spawn a seperate process from my asp page
so when a user clicks the link or button a desktop program
is launched. This will be on an intranet and the program
will exist on the users desktop. I can use the following
code in webmatrix to run a process on my local machine:
<%@ P... more >>
Where to write the code
Posted by Jay at 7/10/2003 4:08:59 PM
Hello everyone,
I just got done taking a small course in ASP.NET and I'm completely sold.
This is amazing compared to original ASP.
My question is about the preferred method of coding the asp pages. We were
taught to write our code behind the page using VS.NET but some books I've
seen have ... more >>
Please help with this error - newbie
Posted by Eddy Soeparmin at 7/10/2003 4:08:24 PM
Hi there,
I just started a small application with a list with one table, and hyperlink
to retrieve and display detail data. Also create a XST, but when running I
got this error which I don't know how to fix. Please let me know what or how
to fix this error.
Thanks.
Eddy
Server Error in ... more >>
error while trying to run project
Posted by Volkan Karaboưa at 7/10/2003 3:45:37 PM
hi all...
I get an error while trying to run project telling me:
unable to start debugging on the web server. the project is not configured
to be debugged.
can you help me please what the problem is?
thanks...
... more >>
session variable and window.open
Posted by Mark at 7/10/2003 3:34:08 PM
Hi all, I have a website where I want to be able to 'pop up' a window using
the window.open call in JavaScript.
I remember back in the old days of classic ASP there was a problem where a
call to window.open started a new session and all session variables were
lost.
I did a quick check in ASP.Ne... more >>
Datagrid query
Posted by Carl Howarth at 7/10/2003 2:57:09 PM
Hi,
I have a datagrid being populated using an sqldatareader. One of the
columns returns a bit value which currently gets displayed as 'True' or
'False'.
I would like to be able to display an image of a tick when this value is
true, and have placed an asp.net image control within the relev... more >>
Checking for Empty Dataset -- Simple Question
Posted by Ron at 7/10/2003 2:32:31 PM
Can anyone tell me how to check and see if a dataset is empty?
I am writing a search function that returns a dataset and binds it to a
datagrid. If no data is found, I would like to make the grid invisible and
have a label appear stating that no data was found.
Any suggestions?
Thanks,
... more >>
proxy configuration in <system.net>
Posted by Tim Heuer at 7/10/2003 12:44:28 PM
Is there a way to specify proxy logon information if you use the
<system.net> <proxyAddress> configuration methods for the web.config?
-th
... more >>
how to declare session variable in global.asax file
Posted by khawar at 7/10/2003 12:10:05 PM
please provide code sample, i was having trouble declaring
interger and string variable and can we also initialize
them at the same time
thanks for help
... more >>
WebClient Problem
Posted by yysiow at 7/10/2003 12:08:08 PM
hi,
i using WebClient to get the website.
like
string URL = "http://127.0.0.1/index.htm";
WebClient client = new WebClient();
Stream data = client.OpenRead(URL);
StreamReader reader = new StreamReader(data);
is no problem, if i change the URL to
"http... more >>
question for professsional asp developer
Posted by suzy at 7/10/2003 11:47:47 AM
hi,
i am a professional asp developer, and when i used to code in normal ASP
code i didn't use the design view in interdev. instead i just used code to
draw any tables/forms, etc that i needed.
my question is that is this still the best way to develop for professional
coders (instead of dra... more >>
SMTP on Windows XP Pro
Posted by R. Ian Lee at 7/10/2003 11:46:44 AM
I'm using the System.Web.Mail.SmtpMail object (.NET 1.1)
to send email from an ASP.NET application. Everything
works fine when I run it from Windows 2000 Server, but
not from WinXP Pro. Is it not possible to send mail
using the SMTP service or XP? Is there a different class
that I shoul... more >>
what is EventArgs
Posted by Yangtsi River at 7/10/2003 11:37:31 AM
Hi,
in any event procudure,there is two paras:sender As Object, e As EventArgs,
i copied them-not know what they are about, and my ASPX works.
I guess the sender is the control by which I triggered this sub, and what is
EventArgs then?
I am passing a third para to the sub, that is mysub("j... more >>
How can I access a datagrid control during Edit event?
Posted by Stan at 7/10/2003 11:20:22 AM
This is how I access Pieces field in my editable datargid during Update
event:
protected void grdMain_OnUpdate(Object sender, DataGridCommandEventArgs e)
{
string Pieces = ((TextBox) e.Item.FindControl ("txtPieces")).Text;
....
}
I need to highlight this field when user clicks E... more >>
Wierd error when going to Design View from HTML view
Posted by VB Programmer at 7/10/2003 11:15:14 AM
When I go from HTML view (in a webform) to Design View I get the following
error:
Could not open in Design view. Quote values differently inside a '<% ...
"value" ... %>' block.
I know exactly where it is. All I did was change the PARAM value of an
OBJECT from this:
<PARAM NAME="MyValue" VA... more >>
how can i add client side javascript to a web user control?
Posted by Tariq Ahmad at 7/10/2003 11:06:53 AM
hi,
i have a web user control that i wish to add some client-side
javascript to. something like this: onChange="javascript:DoSomething();"
how can i add this and where do i need to add it? do i need to somehow
add it to my .ascx file?
i tried to add it into my HTML like below but it does... more >>
asp to exe
Posted by Alan Kosmonov at 7/10/2003 10:57:24 AM
is there a program that turns asp web application (asp,html pages) into an
EXE?
Regards,
Alan
... more >>
CDO for Windows 2000 vs CDO for Exchange 2000
Posted by at 7/10/2003 10:48:40 AM
How can I force SmtpMail class to use CDO for Windows 2000 instead of
Exchange 2000. We do not use Exchange at all. I want to do this because I
am having a problem sending email from the web server. If I send part of
the HTML email it will go through. If I send the whole HTML email then it
g... more >>
System.InvalidCastException: Specified cast is not valid
Posted by Floela at 7/10/2003 10:48:10 AM
I keep geting the exception:
System.InvalidCastException: Specified cast is not valid.
I get this when I try to pass a DataRow into an object method. The line that
causes this error is:
policy.SetValues(dr);
Here is part of the class that contains the method that I want to call:
... more >>
Access to Rows in a datagrid
Posted by Robin Bonin at 7/10/2003 10:23:52 AM
I am working on a page to allow editing of products in out database. I'd
like to bind a datareader to the table. And on submit generate an update
query for each row. My problem is that I can't find out how to iterate
through all the rows in the dataGrid
I don't want to use the built in edit mo... more >>
Activex dll
Posted by Alan Kosmonov at 7/10/2003 10:21:41 AM
how do we register an activex dll in win98? is regsvr32 sufficient? I want
to create an object in asp. it is no problem in win2000 by assignin the dll
to the component services COM+ applications.
... more >>
RangeValidator with currency
Posted by Mark at 7/10/2003 9:59:07 AM
I've set the type of my RangeValidator to be Currency. My min to max range
is set as 0 to 99999. When I enter a value of $5, it claims it doesn't meet
the criteria. If I change it to 5, without the $ symbol, it works fine.
I'd like to allow people to enter the $ if they choose to. I tried mak... more >>
ASP.NET and NT
Posted by John Peter at 7/10/2003 9:47:35 AM
I have a web application in ASP.NET which works fine on XP and IIS 5.1
but when i upload it on my Web Server which has NT and IIS 4.0 and Service
pack 6, .ASPX page doesn't show any controls except Label Control...
Please help
John
... more >>
Slow Performance / Blank Screen for 30 Sec
Posted by happyinst at 7/10/2003 8:25:31 AM
I am having a problem with an ASP.Net web application that I am not certain
how to troubleshoot.
When I view my web app from my computer it shows me a blank screen for about
30 seconds before finally displaying the page. The green progress bar
actually goes approximately 90% across after abou... more >>
Start external process from ASP.Net
Posted by Kristina Foxwell at 7/10/2003 7:41:10 AM
Hello:
I am currently having problems with an ASP.NET page...I've never
programmed in ASP or HTML so all of this is new to me.
I have a table that contains a list of files. The columns are a Document
Description, the Filename (with the application extension) of the document,
and a butto... more >>
How to upload an image in asp.net
Posted by Varun_789 at 7/10/2003 4:29:08 AM
hello friends,
i am developing an application in which i want to
upload an image from clients hard drive(local hard drive)
to the server.
i mean the application should provide the user with the
the faliclity to click on LoadPic button to open a
Open File Dialog on his/her system, then allows... more >>
Passing Details between pages
Posted by Aidan Gill at 7/10/2003 12:48:49 AM
Hello
I have a login screen, user types in username and
password, if they are validated I am retreiving their
email, fullname etc. I have a users.vb file with a class
that stores these details so when the user clicks the
login button the class is filled:
user.fullname = datareader... more >>
session_end and re-login
Posted by Burak Kadirbeyoglu at 7/10/2003 12:28:00 AM
Dear ASP.NET Programmers,
I am using forms authentication in my web application. I would like the
users to be transferred to the login page when the session expires. I am
using session state, but the following code in global.asax file does not
work:
Sub Session_End(ByVal sender As Object, B... more >>
|