all groups > asp.net > august 2006 > threads for sunday august 27
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
StreamReader Read?
Posted by Arpan at 8/27/2006 11:48:42 PM
The contents of a text file are as follows:
The Quick Brown
Fox Jumped Over
The Lazy Dog.
Note that there isn't any space at the end of each of the 3 lines.
Now when I do this:
Sub Page_Load(ByVal obj As Object, ByVal ea As EventArgs)
Dim arrString(10) As Char
Dim strmReader ... more >>
problem with postback in load balancing
Posted by nemesis.saurabh NO[at]SPAM gmail.com at 8/27/2006 11:37:33 PM
hi,
i am stuck up on this problem.
In a load balanced scenario the post back is not happening i.e. when a
control on the web form is clicked, the post back does not occur at the
server and server code does not get executed and it times out depending
on the IIS settings. For example, we have a... more >>
fail to open vfp odbc
Posted by Agnes at 8/27/2006 11:21:58 PM
Dim authConnection As New OleDbConnection("Provider =
VfpOleDB.1;Data Source = d:\cgl\vfpmaster\ttsdata\tts.dbc")
authConnection.Open()
i got an error "'VfpOleDB.1' ´£¨ÑªÌ¨Ã¥¼µn¿ý©ó¥»¾÷¹q¸£¤W¡C" String
it seems "the user didn't login the machine " ??
Do i ne... more >>
fail to connect vfp odbc
Posted by Agnes at 8/27/2006 10:35:28 PM
(1)Session("ConnectionAuth") = "Provider = VfpOleDB.1;Data Source =
d:\cgl\vfpmaster\ttsdata\tts.dbc"
(2)Dim authConnection As New
SqlConnection(Session("ConnectionAuth").ToString())
There is an error in statment(2) , it said invalid ' provider'
tts.dbc is my vfp database which located in m... more >>
Exposing an event handler as a control property
Posted by Paul at 8/27/2006 10:27:15 PM
Hi all,
I have a custom server control that can contain one or more buttons.
I'm trying to expose an event handler as a property so that the buttons
can fire a click event when clicked. However, I'm getting the following
error:
Cannot create an object of type 'System.EventHandler' from its ... more >>
Sending Email Error
Posted by sunnyko at 8/27/2006 10:10:01 PM
Dear all
I am using asp.net in a Small Business Server to send email out !
The programe work fine in XP but show the following error in Small Business
Server.
I don't know why....
Sunny
Server Error in '/email' Application
---------------------------------------------------------------... more >>
Setting StylesheetTheme using Configuration does not work in VS-2005-Designer
Posted by Rolf Welskes at 8/27/2006 9:17:34 PM
Hello,
I set in the configuration file of the application:
<system.web>
<pages styleSheetTheme="E01_Theme01" />
......
This works.
Now I have a SubFolder of the application with an own
WebConfig-File and there I set
<configuration>
<system.web>
<pages styleShee... more >>
no 'option' in aspx file means 'option'="false"?
Posted by Cas at 8/27/2006 8:24:08 PM
Hi,
If i omit to mention e.g. the option 'debug' in the line below of an aspx
file, does it means it's set to false?
<%@ Page Language="VB" CodeFile="any.aspx.vb" Inherits="_Default" %>
Thanks
Cas
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
homepages
Posted by Tony Johansson at 8/27/2006 8:02:05 PM
Hello!
I have been using C# windows forms for about a year but not used web forms
or html.
My doughter has a horse at a stable called Kilanda.
She wants to do a home page about this Kilanda where there is 6 horses owned
by different persons.
There will be no database involved. The main h... more >>
Help on Streaming PDF File
Posted by Ami at 8/27/2006 6:57:58 PM
Hi All
Can someone help me, how to stream the pdf file using C# and ASP.NET
and VS2003.
Thank you in advance
Ami
... more >>
New Page
Posted by Jim Heavey at 8/27/2006 6:54:02 PM
Is there a way I can redirect from PageA to PageB and have PageB open up in a
new window?
I see that in 2.0 the button has a new property which is the "postbackURL",
but I am guessing that I should not use this if I want to allow the user to
have open multiple PageB while having a single Pa... more >>
Web site generator
Posted by Juliano.net at 8/27/2006 6:44:26 PM
Do you know a tool to generate a web form app from a database
(including features like: insert, edit, delete and list)?
... more >>
aspx pages not rendered/handled
Posted by Damian at 8/27/2006 6:29:02 PM
For about 5 days I've been trying to fix a problem with asp.net on a windows
xp media center pc with iis 5.1.
Initially I could not debug asp.net applications, and came to discover that
aspx and some other asp.net extensions were not registered to be managed by
an isapi filter. I tried runni... more >>
getting the result from executing an exe
Posted by at 8/27/2006 5:54:14 PM
Is there any sample about getting the results from executing an exe using
C#?
Thanks for answering.
... more >>
accessing formview controls
Posted by Horace Nunley at 8/27/2006 5:42:46 PM
Hi, in my formview "insertItem" template, I have a fileupload control that I
need to handle when the page is saved.
I can't get to that control, or any of the controls thru code.
What gives?
Thanks
... more >>
ASP 2.0 APPS in VS 2003
Posted by Harish at 8/27/2006 5:41:48 PM
Hi,
Is it possible to develop ASP 2.0 applications in VS 2003 ?
Harish... more >>
About Response.WriteFile();
Posted by ad at 8/27/2006 5:39:25 PM
I want to download a zip (c:\test\mine.zip) in the server to client.
I modified the code form
http://support.microsoft.com/default.aspx?scid=KB;EN-US;q306654
and write it to a click event of a button:
string sFileName = @"c:\test\mine.zip";
//Response.ContentType = "Application/zip";
R... more >>
Accessing data grid column
Posted by John at 8/27/2006 5:00:07 PM
Hi
I have a hidden (visible=false) column on a gridview bound to a sql server
table. I am trying to access the field as;
For Each row As GridViewRow In grdEvents.Rows
If row.RowType = DataControlRowType.DataRow Then
bf = CType(row.Cells(row.Cells.Count - 1).FindControl("event id"),
... more >>
No Trusted SQL Server Connection
Posted by Jonathan Wood at 8/27/2006 4:31:40 PM
I'm a programmer but not a database administrator and really don't want to
be either.
After a fair amount of reading and many problems related to SQL and related
stuff, I finally figured out how to create a database in Visual Studio and
enter some data into it. Now, I'm trying to make a Web... more >>
Manipulating roles remotely
Posted by John at 8/27/2006 3:06:18 PM
Hi
My web app uses asp.net 2.0 roles/membership. My problem is how to
manipulate those remotely and I am thinking of implementing a web service.
My question is how does a web service residing in a sub folder of the web
app can access the web app's roles/membership info and manipulated it vi... more >>
Building a reliable auction site?
Posted by VMI at 8/27/2006 1:50:02 PM
What books, sites would you recommend that teach how to build an auction site
like ebay in C# and asp.net?
Thanks.
... more >>
mouseovers
Posted by Peter Morris at 8/27/2006 1:47:19 PM
Newbie here. Trying to get the imageurl of a link to change on mouseover.
I'm using the following code :
-----------------------------------------------
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Load
Me.lnk_introduction.Attributes.Add("onmo... more >>
Update SQL database from form - newbie and totally lost!
Posted by guardsman85 at 8/27/2006 1:22:50 PM
I am writing my first web application using MS Visual Web Developer
2005 Express. I am using VB.NET for my language.
The application is meant to track participants in a traveling car show.
What will happen is that when participants arrive at each checkpoint
they will enter their ID into a tex... more >>
Two-way Communication /w Web Services
Posted by hufaunder NO[at]SPAM yahoo.com at 8/27/2006 1:12:24 PM
I am going to write a smart client application. This application will
be used both on an intranet as well as over the internet. Among other
things, the application needs to be able to tell the server to monitor
certain items/tasks and notify the client when the item/task has
changed. Initially, ... more >>
.NET 2.0 - System.Web.Caching.Cache not working through IIS
Posted by Jurjen de Groot at 8/27/2006 1:05:43 PM
Hello,
I'm developping an app in ASP.NET 2.0 using VS.NET 2005, I'm using
System.Web.Caching.Cache to store various data between page calls (I've
tried : httpContext.Current.Cache/httpRuntime.Cache). When executing the app
using the webserver built in to VS.NET 2005 it works just fine, bu... more >>
System.IO?
Posted by Arpan at 8/27/2006 1:03:19 PM
If I am not wrong, System.IO is one of the seven namespaces that get
imported in all ASP.NET page automatically but in the following code:
<%@ Import Namespace="System.IO" %>
<script runat="server">
Sub Page_Load(ByVal obj As Object, ByVal ea As EventArgs)
Dim ioFileInfo As New F... more >>
Problems Setting Up Database
Posted by Jonathan Wood at 8/27/2006 12:01:15 PM
I seem to be having errors creating and accessing an SQL database.
Unfortunatley, I am brand new to SQL setup and administration issues so this
really is not my area of expertise.
I know I had to install some type of IIS component to run databases from
Visual Studio 2003. Since then, I've inst... more >>
c# Event raising problem (revised)
Posted by Tina at 8/27/2006 11:19:24 AM
(my last post was incomplete so this issue is being reposted)
I have an ASP.Net C# app with a Default.aspx page with an ascx user control
on the page named EditGrid.ascx given the ID myEG on the page.
I am trying to raise a custom event in this user control passing custom data
arguments. ... more >>
ASP.NET mySQL BLOB
Posted by cuyler.jones NO[at]SPAM gmail.com at 8/27/2006 10:57:25 AM
Hello --
I'm having a heck of a time grabbing a blob ( a jpeg image) from a
mySQL database and displaying it on a page.
I am able to connect to the database and retrieve the data, however
when the page loads, it just spews the binary garbage rather than
displaying the image.
Here's the c... more >>
Managed Newsgroup - No response?
Posted by Bill Cohagan at 8/27/2006 10:34:59 AM
This is a managed MSDN newsgroup, right? I posted a question on 8/20
regarding event order, but have received no response at all. I was under the
impression that such posts would be responded to within a couple of days at
most. Have the rules/expectations changed? Is this in fact not a managed... more >>
RegularExpression?
Posted by Arpan at 8/27/2006 4:29:21 AM
Using RegularExpression, I want to validate a TextBox so that the
TextBox accepts only 8-digit numbers. This can be done with the
following RegularExpression:
[0-9]{8}
But how do I validate the TextBox so that it accepts 8-digit number or
more than 8-digit numbers using RegularExpressions?
... more >>
User Control Event trapping
Posted by nashak NO[at]SPAM hotmail.com at 8/27/2006 3:48:27 AM
Hello,
Following is my scenario:
When I click a button on my aspx page, the panel containing a use
control becomes visible. This user control has a data grid in it. The
user enters some data and clicks OK button on user control. This should
make the panel disappear and a button "Save" to ap... more >>
Urgent!!, Watermarking images in asp.net pages
Posted by Ibrahim. at 8/27/2006 3:41:01 AM
Hi all,
I want to display watermark images (transparent images) as background image
for all my asp.net pages.
when I open the pages I should see the transparent image. the server
controls after rendering should be displayed normally on top of the
transparent image.
Thanks very much.
... more >>
Problem adopting asp.net web site configuration tool code
Posted by John at 8/27/2006 2:09:51 AM
Hi
I am trying to use the asp.net web site configuration tool with my app and I
have copied all files from
C:\WINNT\Microsoft.NET\Framework\v2.0.50727\ASP.NETWebAdminFiles into the
ASP.NETWebAdminFiles sub folder of the root of my app. I am getting several
errors. One of the errors is
... more >>
returning a value back to parent page from a popup page
Posted by knowdotnet at 8/27/2006 2:08:08 AM
Hi all,
Which is the best way to return a value back to the web page from a pop
up page?
I have a asp.net web application which opens a popup page on a link
button click. The Link button is contained in a datagrid column. When i
submit the popup page I want a value from the page to be returne... more >>
How to send a zip file to client
Posted by ad at 8/27/2006 12:00:00 AM
I have a zip file (c:\mine.zip) in the server.
How can I set it to client when user click a button in a WebPage?
... more >>
|