all groups > asp.net > october 2003 > threads for tuesday october 28
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
.Net documentation
Posted by Geraldine at 10/28/2003 11:18:37 PM
Unlike a lot of programmers thes days I am infrquently required to code so I
dont keep a great store of syntactical knowledge in my head I rely greatly
on books and manuals to provide the code snippets and method calls I
require.
I've been programming for a long time now from the days before w... more >>
URL Encoding German Chars problem. help please
Posted by feng zhu at 10/28/2003 11:12:43 PM
Hi All,
I''m using c# in asp.net and I tried to encode some upper part of ASCII chars, eg. á
The desired result should be: %E1
But when I use HttpUtility.UrlEncode("á"), the output result is: %c3%a1
I tried ISO 8859-1 and utf-8, neither works.
anybody can help me?
Or other way to do it, ... more >>
includes in ASP .NET
Posted by Geraldine at 10/28/2003 11:05:33 PM
I'm coming from an ASP background struggling with .NET ways of doing things
(aka everything seems much harder)
Anyhoo .. I have used include files extensively for code re-usability when
making my ASP pages.
I would like the same ease of use in .NET ..
I often use a codebehind page to sepa... more >>
cannot get the SqlDataReader object field value
Posted by Matt at 10/28/2003 10:16:42 PM
I just want to get the value of field UserName and Password in SqlDataReader
object dr. But it yeields run-time error "Invalid attempt to read when no
data is present" on line dr("UserName") and dr("Password")
any ideas??
Dim sql As String = "select * from [Admin] where UserName = '" &
Text... more >>
Starting a vb.net standalone application from asp.net
Posted by Raju at 10/28/2003 9:59:21 PM
I wrote a standalone application in vb.net which executes
a .exe file. How do I start (or call) this application
from asp.net. I have no knowledge about a .bat file. so
please explain the procedure.... more >>
calendar web control error
Posted by jacob henson at 10/28/2003 9:40:56 PM
I have a user control with a calendar in it. when my main
page load with the calendar in it. the page has a java
script error. also if you try to use the calendar it give
a java script error. The calendar is just a plain, i have
not added anycode to it and the main page does not do
any... more >>
what is the .NET framework good for in IE?
Posted by Anton Sommer at 10/28/2003 9:38:49 PM
Hello folks,
what is the .NET framework snapin in IE good for? I mean in the Security
settings of IE you can activate the execution of .NET framework components.
How could a .NET developer execute such a Component?
Thank you
Anton
... more >>
All Experts, please HELP!!
Posted by P.D. at 10/28/2003 9:19:29 PM
How's it?
I have a web form with a meta tag to make it refresh
every four seconds:
<meta http-equiv="Refresh" content="4">
This works ok on its own, but if I put in the following
line in the code behind file (Page_Load() method), the
page won't refresh itself:
bmp.Save(Response.Out... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Good books
Posted by Michael at 10/28/2003 9:18:47 PM
What are some good books for asp.net ?
Thanks
... more >>
Error: Invalid element value.
Posted by Rich at 10/28/2003 9:11:38 PM
I am very new to ASP.NET, and did not see a similar error posted
anywhere. Here is my situation.
I followed the instructions in Peter Bromberg's excellent article "Host
Winforms - based UserControl Apps in Internet Explorer" from
www.eggheadcafe.com/articles/20021205.asp. However, I have run i... more >>
htmlInputFile
Posted by Skwish at 10/28/2003 7:53:26 PM
Hi,
I have a page with a htmlInputFile that is working fine. However, if I go
to another page, and then go back to the page with the htmlInputFile, I get
the following error
Warning: Page has Expired The page you requested was created using
information you submitted in a form. This page is... more >>
Using xml source in datagrid -- possible with non-structured data?
Posted by KatB at 10/28/2003 7:11:31 PM
Hi, is it possible to use a datagrid (read only) that has an xml source
that is NOT database-type structured? For example:
<assembly>
<work_order no="12345">
<station name="one">
<boards>
<board sn="111" start="10/23/03 11:30:12am"/>
<board sn="112" start="1... more >>
reading asp session in aspx
Posted by sam at 10/28/2003 7:00:20 PM
I have a project with two pages. One is a .ASP page and
one is a .aspx page. The .asp page creates a session, and
I need to be able to read this session from the .aspx.
Using session("var") returns nothing. I am unable to
convert the .asp page.
Is there a way I can read the ASP session ... more >>
Authentication: Need to re-login for every directory
Posted by homaneag NO[at]SPAM yahoo.com at 10/28/2003 6:17:39 PM
Hi,
I am using a role-based Forms Authentication. I have several
directories that have different levels of authorization. When I try to
access another directory, the page bounce me back to the login page
everytime. After I re-login, I can access the page.
I can't figure out what happene... more >>
what are .mspx extension files?
Posted by Jill at 10/28/2003 5:58:59 PM
I do not know if this is the right place to ask but what
are .mspx files.
for eg: www.microsoft.com/windowsserver2003/evaluation/
overview/technologies/default.mspx
Thanks in advance for the explanation.
Jill... more >>
How to create a WORD doc?
Posted by Kosic at 10/28/2003 5:43:53 PM
how to create a word document with javascript?
read data from database and then write down in that document.
Thx!
... more >>
Pass variables to executable
Posted by Nate at 10/28/2003 5:22:55 PM
Is there any way within asp.net to pass user defined
parameters/variables to an executable? Much thanks.
nate... more >>
How to compile VB functions
Posted by NRGeti at 10/28/2003 5:17:02 PM
I am learning ASP.NET using the book, "ASP.NET for Dummies". In the chapter
introducing writing your own functions, I cannot get the example to run when
I call it with LOCALHOST. It produces the IE cannot find page error because
it doesn't know how to compile the function.
I can execute .ASPX ... more >>
about Javascript??
Posted by Kosic at 10/28/2003 4:43:18 PM
In IE6 with Sp1,dot NET framework 1.0 , Win2000
I try to write a javascript as:
document.open();
document.writeln("<script language =
\"javascript\">alert(\"fafdas\");</script>");
the aspx page can't run correctly.
What 's wrong ? Thx!
KOSIC
... more >>
user roles for downloading files
Posted by Vic at 10/28/2003 4:38:20 PM
I am trying to build a site where users, after signing up for services can
download some software. There is also a trial version of software which
doesn't require any user authentication.
I chose forms-based authentication. My trial download is in the folder,
which is available for all users, ... more >>
aspnet_wp
Posted by Bill Burris at 10/28/2003 4:38:03 PM
Why is there a user account called ASPNET on all my Win 2000 Prof systems?
This account seems to appear after installing .NET. I need .NET for my
Windows Forms application, but I am not using ASP .NET.
Bill
... more >>
using Include directive in ASP .NET
Posted by Farooq Khan at 10/28/2003 4:29:21 PM
can i use include directive in ASP.NET as in classic ASP and how (if it's
any different from the classis ASP)? and how can i design/use Server control
if i want to replace include file?
Best Regards,
Farooq Khan
... more >>
err SQL Server
Posted by '[] WiRaN at 10/28/2003 4:26:03 PM
i'm using SQLserver in other station, in conect event the error happens:
"Login failed for user 'sa'. Reason: Not associated with a trusted SQL
Server connection."
help me?
... more >>
asp.net won't start up, again...
Posted by Pete Davis at 10/28/2003 4:07:22 PM
Okay, I know this has been posted a gazillion times, but I'm stumped.
I'm getting this good old error from asp.net in the event log.
- aspnet_wp.exe could not be started. The error code for the failure is
80004005. This error can be caused when the worker process account has
insufficient rig... more >>
Action Queries inside MDB files
Posted by A.M at 10/28/2003 4:01:53 PM
Hi,
Using ADO.NET,
How can i execute action queries already saved inside an MDB file ?
I already know that i can run sql commands like UPDATE and INSERT, but how
can i run those ones already has been saved in the MDB file as a action
queries ?
Thanks,
Ali
... more >>
Asp.net and IIS Login Problem
Posted by grobin1717 NO[at]SPAM aol.com at 10/28/2003 4:00:31 PM
Hi.
I've deployed a web application on a desktop computer running W2K and
IIS. I'm using the desktop as a server.
When I try to access the site, either from my development computer or
if I log in to a remote machine, the site works fine for me and I'm
able to access the aspx pages with no ... more >>
What is MSPX
Posted by Simon Middlemiss at 10/28/2003 4:00:14 PM
I was having a conversation with a friend at the weekend over a few pints of
beer and he was talking to me about mspx pages. From what I can remember
from the alcohol driven haze they were some sort of proprietory xml driven
container. Does anyone have anymore info on this because I found it
i... more >>
VS.NET 2003 Project "Conversion"
Posted by George Durzi at 10/28/2003 3:29:13 PM
Hey folks,
I just installed VS .NET 2003 on top of Windows 2003 Server. I was opening a
Web Project from source control, and got a warning that the project would
have to be "converted", and that I could no longer edit it in older versions
of Visual Studio.
What does this conversion entail. It... more >>
Get Form ID at Runtime
Posted by Earl Teigrob at 10/28/2003 3:26:11 PM
I am inserting some Javacript into my page that requires the form name and
the tag name. I can get the tag name for the control by using
[tagname].ClientID but can not figure out a way to get the form ID. I notice
that .net usually names the from Form1 but I am not sure that I always count
on th... more >>
Using two Datareader
Posted by Randall at 10/28/2003 3:19:26 PM
Hi all,
I have to use two separate queries in an .aspx file.
What is the way to use two Datareaders for that.
Or is there any other solution?
Any kind of help or coding or documentation is
appreciated.
Thanks,
Randall... more >>
Creating an MDB/XLS file
Posted by A.M at 10/28/2003 3:03:27 PM
Hi,
Using ASP.NET/VB.NET and SQL Server backend,
I need to return calculation results to user as an Access MDB file or Excel
XLS sheet.
What would be the best way to create a MDB or XLS file inside a .NET
program?
Thanks,
Ali
... more >>
Content Management System - ASP.NET Examples
Posted by Leszek at 10/28/2003 2:54:09 PM
Hello,
I have searched the Internet for a while and found hundreds of Content
Management Systems. Most of them use PHP, although many have been written
using ASP.NET. The problem is that I really do not know which one is really
good. I would like to purchase a good CMS with source code and twe... more >>
Dataset ReadXML
Posted by Peter Hood at 10/28/2003 2:52:25 PM
Hi,
I'm loading an XML Diffgram into a Dataset, then assigning asp
webcontrols values from the dataset. I'm using XSL to display the page,
but when one of the values is '&', I get an error. I investigated and
found that the XML document contains the proper form '&', but when I
load ... more >>
ASP.Net on different Browsers
Posted by Kenneth Keeley at 10/28/2003 2:50:14 PM
Hi,
Do ASP.Net pages work on all browsers. Do I have to do something special
to make my pages appear the same on all OS's and Browsers. If so, samples
would be nice.
Kenneth Keeley
... more >>
Regularexpression validator on multiline text box
Posted by Stephan Bour at 10/28/2003 2:49:24 PM
Follow up to previous question:
I¹m trying to validate a multipline asp text box that can have a maximum of
150 word characters but any number of white space, carriage returns or tabs.
I tried several regex that pass testing on regexplib.com but fail on the
page
This for example doesn¹t work pr... more >>
Fire a javascript function from vb.net
Posted by czamora NO[at]SPAM ahsonline.com at 10/28/2003 2:48:52 PM
Hello
I try to fire a javascript function from vb.net. This function will
create a popup window and inside of it display a crystal report: this
is what I got so far
Private Sub btPost_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btPost.Click
Dim objC... more >>
passing server (not form) variables to same page
Posted by Marcel Balcarek at 10/28/2003 2:28:48 PM
Can I keep the value of (some of) my server variables across posts?
I can define hidden form fields, but is there a better way?
I have passed some form variables from one page to another and now wish to
remember them across posts.
Thank you
Marcel
... more >>
asp.net and Jmail
Posted by Ingrid at 10/28/2003 2:22:56 PM
I would like to know how I can call Jmail from an asp.net file.
I know that asp.net has built in mail functionality, but I would like to use
Jmail anyway because it has some extra properties (like Replyto).
Hope someone can help :-)
--
Ingrid
... more >>
long running query...
Posted by eNathan at 10/28/2003 1:21:18 PM
I'm sure this has been discussed before...
I have a query that moves a large amount of data from one db to another and
takes between 20-25 seconds. This causes a timeout error. With ADO.NET &
ASP.NET, how can I fire a stored procedure and let it run asynchronously? I
don't care to wait for it ... more >>
Ignore DTD pi in xsl transform?
Posted by KatB at 10/28/2003 1:03:27 PM
Hi, I'm using the transform class for an xml document. However, all my
documents are created by authoring tool and contain a DTD declaration:
<!DOCTYPE jabil SYSTEM "C:\Program
Files\Epic\custom\doctypes\Jabil\Jabil.dtd">
I can't remove this since the authors need it every time they edit the... more >>
Does ASP.NET wait for the entire request body before executing the ASP page?
Posted by Peter Strøiman at 10/28/2003 12:59:13 PM
Hi.
I have an ASP page that will receive a lot of post data ( sometimes many
MB! ).
The ASP page processes the data sequentially, but does not need the entire
data stored in memory.
Therefore it is cruicial that executing the ASP page doesn't wait for the
entire request to arrive.
Then I ... more >>
stand alone VS automation - possible???
Posted by greg at 10/28/2003 12:39:33 PM
Hi
Without add-ins or wizards
can I automate VS.NET from Windows console application
for example open solution, open project, make a duplicate of a web form,
compile and build project, save and exit
Thanks
GSL
... more >>
URL Rewriter
Posted by tim payne at 10/28/2003 12:30:51 PM
Hi,
I'm thinking of using a URL-Rewriter on a new project (and would like to
write it myself), and have found several different ways that I can do this
in .Net. I was wondering if anyone has had any experience of this and could
advice me as to what the preferred method to use is, in terms of s... more >>
asp.net C# payflowlink post and capturing silent post
Posted by khawar at 10/28/2003 12:23:35 PM
my application is in asp.net using C#
hi guys having a complicated problem
i am using payflowlink to process CC payments
I have to send a httppost to their servers. The problem
is how do i do a post where i get these values like the
amount from the database.
eg of the post:
<form method=... more >>
ListItems are added in reverse order
Posted by doduong12141214 NO[at]SPAM hotmail.com at 10/28/2003 10:35:18 AM
Hi,
I have a listbox called lstFolders.
I select the folder names from a database and return them in ascending
order.
However, when I do the listbox.items.insert(0, new instance)
method, the items that are supposed to come back on in ascending order
are the exact opposite order. The fir... more >>
ASP.NET Content Replication Over Server Farm
Posted by Christopher D. Wiederspan at 10/28/2003 10:16:18 AM
I've got an ASP.NET web application that runs on a server farm (it should
end up being about 10 servers). I'm trying to find a simple, easy way to
keep the ASP.NET content replicated across the 10 different machines.
Ideally, I'll only need to push updates to one machine, and the new files
will ... more >>
Alternatives to Windows Service?
Posted by Charles Rumbold at 10/28/2003 10:14:06 AM
We have a .Net web form application using a SqlServer database. Part
of the app is/will be a background process that wakes up every so
often to do some things (say every 5 minutes to process a mail queue,
look at another data source to see if there is anything to do, etc).
The obvious thing i... more >>
Posting to another page?
Posted by dave at 10/28/2003 10:08:29 AM
I have a webform with many checkboxes on it. I want the
user to be able click on a button and the page be posted
to another webform so that I can capture which checkboxes
were selected.
For all other buttons on the page i want the page to be
reposted back to the same webform.
What is ... more >>
Resizing a DataGrid to a DIV
Posted by Wayne J at 10/28/2003 9:50:55 AM
I am using a DIV to simulate a scrolling DataGrid, however when I try to get
the width (Div1.Styles.Items("Width")) I get nothing.
Now I realise at the point the code is run, the DIV is not even in existence
other than just a variable name, but is there a way to get the width so I
can size the... more >>
Is it possible to read a textbox control from another web form?
Posted by paul.hale NO[at]SPAM safenames.co.uk at 10/28/2003 9:41:05 AM
Hi,
I have two web forms (lets call them webform1 and webform2) that run
as part of the same web application.
Webform1 contains a text box. I would like to pop up a new browser
window (containing webform2) and read the contents of the text box in
webform1 and display in webform2.
Is it p... more >>
ASP:Image vs ASP:Literal
Posted by C K at 10/28/2003 9:36:54 AM
What is less expensive/intensive on the server -dynamically writing out my
rollovers to an asp:literal, or to use asp:image tags for the images. My
image names will be dynamic as I am building a multi-lingual site
(french/english).
Any advice would be appreciated - if there is better way to d... more >>
storing connection string in session
Posted by Shyam at 10/28/2003 9:29:47 AM
Hi,
I wanted some advice on the following. All the users who log in to the
system are created in the SQL Server. As I am not keen to store any user
information on the web.config file for security considerations and I need to
use SQL logins for each user, I decided to create a class CurrentUser... more >>
carrying the user input across pages..
Posted by ani at 10/28/2003 9:20:00 AM
Hi,
I need to carry the user input across pages and then at
the end insert all the values into the DB. There is one
single .aspx page that is paginated and the values have to
be passed across these paginated web pages. How do I best
accomplish this task in ASP.Net. I am a novice , plea... more >>
web form designer error
Posted by ani at 10/28/2003 9:11:05 AM
Hi,
After creating a Web form page that works with no
errors, I try to reopen it later and get this error
message:
"The file could not be loaded into the Web Forms designer.
Please correct the following error and then try loading it
again:
The @ Page or @ Control directive contains a... more >>
Datakey in Datagrid
Posted by J. Ormaetxe at 10/28/2003 8:53:24 AM
Hello,
I am developing a Datagrid thar insert, delete and update rows in a Table.
This table has got 2 fields that are primary key. How can i detect which row
is selected to delete??
Thanks,
Asier
... more >>
carrying the user input across pages..
Posted by Ani at 10/28/2003 8:51:03 AM
Hi,
I need to carry the user input across pages and then at
the end insert all the values into the DB. How do I best
accomplish this task in ASP.Net. I am a novice , please
give me some simple suggestions.
Thanks.... more >>
Question: Invalid Cast Exception Error
Posted by VB Programmer at 10/28/2003 8:46:59 AM
I have code that changes the bkground color of the webform on page_load.
Here it is:
Dim Body As New HtmlGenericControl
Body = CType(Page.Controls(1), HtmlGenericControl)
Body.Attributes("bgcolor") =
ConfigurationSettings.AppSettings("BackgroundColor")
I'm... more >>
validation controls not working on production server
Posted by earwicker at 10/28/2003 8:38:53 AM
I recently deployed a web application which contains a user registration
form with the usual fields: name, address, email, password, etc. Each of the
TextBoxes uses a validation control to verify the input. On my development
server, this form works precisely as expected.
When I deploy the app ... more >>
IsObject equivalent?
Posted by Mike Randall at 10/28/2003 8:32:50 AM
How do you test for the existance of session variables? I use session
variables to keep open file handles. In ASP I could use
IsObject(Session("var")) . What can be used in webforms to do this?
Thanks,
--
Mike
... more >>
Font Usage
Posted by KGS at 10/28/2003 8:11:51 AM
Iam planning to use Webdings font for sorting on grid
headers. Is this font commonly available on all machines?... more >>
LinkButton inside DataGrid Header
Posted by hooter NO[at]SPAM post.com at 10/28/2003 4:11:30 AM
I add a link button to the header of my datagrid as follows:
If e.Item.ItemType = ListItemType.Header Then
Dim myLink As New LinkButton()
myLink.Text = "Add New"
myLink.Attributes.Add("runat", "server")
myLink.Attributes.Add("id", "btnAddNew")
myLink.Attributes.Add("CommandName", "btnAddN... more >>
Help - aspnet_wp.exe could not be launched
Posted by kenls1957 NO[at]SPAM yahoo.com at 10/28/2003 3:41:00 AM
Hi,
I had to fix this problem once before - after allowing microsoft to
install a patch on my XP box. It's been working great for a month and
now I'm back searching google, reading books, and trying to make it
work again.
If you try to hit a web page (that has always worked) on this box you... more >>
Form Fields Visibility
Posted by C at 10/28/2003 3:28:44 AM
Hi,
I have a web form which is quite long.
My first field is required.
If my user submits the form the page just sits there and
the do not see my validation message at the top of my page.
Do you know how I can reposition teh page so they see teh
message i.e.scroll back up the page?
... more >>
Access deny in Windows XP
Posted by handlim NO[at]SPAM hotmail.com at 10/28/2003 2:50:25 AM
I made a program by Class Library.
When I use the program, It deny access...
In windows 2000 Server, It can give a grant to use the file in
menu,description,,, But How can I give the grant to use the file in
Windows XP,,,
It may be easy ,,,, I don't know,,,
Please, Help me,,,,... more >>
Setting the page title by program code
Posted by Hartmut Schroth at 10/28/2003 1:50:30 AM
Hello,
I want to set the title of an aspx-page by program (from a
localized ressource). Data binding in the HTML code like
<title><%# SomeMethodCall() %></title> doesn't work. I
have not found a method yet, to access the title property
of a page by code. Does anybody know how?
Thanks ... more >>
How can i import namespace in asp.net?
Posted by Hi All at 10/28/2003 1:25:47 AM
Dear All,
i am new to asp.net using C#. i have created namespace(dll)
in C#. now i want to use it in my asp.net page. please
guide me where should i put this dll and how to use it.
if i put it in the local folder and import it. it gives
error messages.
waiting for reply.
omar lodhi... more >>
Database row counting -- HEEELLLPPPP!!!
Posted by Neo Geshel at 10/28/2003 12:08:21 AM
I am at my rope's end. Please, someone, help me or hang me!
I have (finally!!) been able to use ASP.NET to add records to an ACCESS
database. Now, all I need to do is count the number of rows that the
Access database has. I have tried about 8 different methods (of wildly
varying complexity.... more >>
|