all groups > asp.net > june 2004 > threads for monday june 7
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
How to convert dataset to excel in windows based application??
Posted by TaeHo Yoo at 6/7/2004 11:56:21 PM
How to convert a dataset to excel spreadsheet in windows based
application??
Thanks a lot in advance.
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!... more >>
ASP.NET 1.1 not working on Domain Controller
Posted by whizzrd NO[at]SPAM hotmail.com at 6/7/2004 10:02:55 PM
Hi all, I'm having some problems after upgrading a windows 2000 Server to
Domain Controller.
Symptoms: every aspx page returns blank
HTTP Response headers:
HTTP/1.0 200 OK
Server: Microsoft-IIS/5.0
Date: Mon, 07 Jun 2004 19:40:50 GMT
X-Powered-By: ASP.NET
Connection: close
X-AspNet-Vers... more >>
Skip HTML Tags while searching
Posted by anand at 6/7/2004 9:37:04 PM
Hello Group ,
I am making a search programe in which i have to make a search in an HTML
document .Now i am having entire html code in a field of table where i
search.Now my issue is that i want to avoid searching of html tags like
<td>, <tr> etc, i.e. when user searches these tags i wand to disp... more >>
how to use Response in vb.net module
Posted by Guoqi Zheng at 6/7/2004 8:01:47 PM
Dear sir,
I would like to user response.redirect in a class module within an asp.net
web application. I keep getting an error of
"Reference to a non-shared member requires an object reference"
Can some one tell me is it possible to user response.redirect within a code
mudule and how???
T... more >>
What is wrong in this SQL code?
Posted by Miguel Dias Moura at 6/7/2004 7:17:54 PM
Hello,
i have this code to order the 3 authors that appear more often in a book
database:
SELECT Author, COUNT(Author) AS totalBooks
FROM Books
GROUP BY Author
ORDER BY totalBooks DESC
When i added the line "ORDER BY totalBooks DESC" i got the error:
System.Data.OleDb.OleDbException: N... more >>
StreamWriter.Write or WriteLine causes Session_End
Posted by renzoes NO[at]SPAM excite.com at 6/7/2004 7:01:42 PM
If you use StreamWrite Write or WriteLine it causes Session to End!
e.g.
FileStream fs = File.Open(fileName,FileMode.Append,FileAccess.Write);
StreamWriter sw = new StreamWriter(fs);
sw.Write("test");
sw.Close();
fs.Close();
Now all session information is lost!!
Is there a... more >>
date format
Posted by Mike at 6/7/2004 6:40:32 PM
I have a date in my table format like YYYY/DD/MM 2004/7/7
but when I pull that value out of the table in .net and populate my grid it
looks like:
7/7/2004 12:00:00 AM
I don't want that, i want to see exactly how it is in my table. How do i
accomplish that with .NET so it does not change ... more >>
File upload to a remote share not working.
Posted by rajesh at 6/7/2004 6:28:39 PM
I am trying to upload a file using .Net's HttpPostedFile.SaveAs() to a share
on a remote server. It works fine when the share is on the same server. I
looked at the permissions on the share and they all seem to be set properly.
These permission setting are the same as what was used when we were
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
SQL Question
Posted by Mike at 6/7/2004 6:21:11 PM
I'm pulling a data from a column of my SQL DB.The column values are Yes and
No,
what i need to is the value is Yes then write out Helper if its No write
Need Help in my grid
How can i do that?
would this work
SQL = "select RD as type from HelperTable"
if Type = "Yes" then
type = ... more >>
Caching / Global Assembly Cache?
Posted by Rob Meade at 6/7/2004 5:55:15 PM
Hi all,
I put a small site together recently using asp.net - having attended a MS
..Net course a little while back we were told that the first time a .net
application is run it'll take a little longer than usual - which I have
noticed to be the case - thats fine - after that it always seems as... more >>
This page contains both secure and non secure items.
Posted by A.M at 6/7/2004 5:55:04 PM
Hi,
My ASP.NET application uses SSL on IIS6. up on visiting some pages, IE 6
shows this security alert:
This page contains both secure and non secure items.
Do you want to display non-secure items?
Regardless I answer no (or yes), everything works fine.
We don't like our users see that... more >>
Winform in Web Page
Posted by Scott Meddows at 6/7/2004 5:45:17 PM
I'm trying to embed a winform control into an HTML page and I don't seem to be getting anywhere..
I've put the following object tag in the body of the HTML document
<object id="UpdateControl11"
classid="http://lafdev2/reportControl/TSG.RiskManagement.RiskManagementControl.dll#TSG.RiskManageme... more >>
enableViewState=false not working
Posted by Bruce Chao at 6/7/2004 5:00:12 PM
I tried to turn off viewstate and so I added enableViewState=false in
side the Page directive, rebuild the page, test it. - not working
Then I set all controls on the page so all their enableViewState is also
false -- still, not working.
After doing al these, I still see the hidden viewsta... more >>
Permissions Issues: Process.Start() & XCOPY
Posted by matt NO[at]SPAM vistaseeker.com at 6/7/2004 4:52:11 PM
I am using a C# / ASP.NET application to fire an XCOPY job from the
webserver to a UNC share. This setup works fine when copying to a
local machine but refuses to work on the remote copy. The process
executes correctly, but XCOPY returns "invalid drive specification",
which I'm guessing actual... more >>
Set Culture in Web.config
Posted by Apogee at 6/7/2004 4:46:10 PM
How can I set the current web culture (CultureInfo) in the
web.config?
Apogee
... more >>
Operator is not valid for type 'DBNull' and type 'Date'
Posted by me NO[at]SPAM privacy.net at 6/7/2004 4:31:40 PM
Source Error:
Line 173: sData(rownumber - 1, lcnt) = WhatCol.Value
Line 174: End IF
Line 175: If (sData(rownumber, lcnt) = sData(rownumber - 1,
lcnt)) AND (WhatCol.Type <> 5 AND WhatCol.Type <> 6) Then
Line 176: If rownumber = 3 Then
Line 1... more >>
HTML formatted memorystream.. how to return it in its own browser window ?
Posted by Martin Dew at 6/7/2004 3:47:58 PM
I have some code in my codebehind page which formats an html file into a
System.IO.MemoryStream ojbect, how can I use the Response object of my aspx
page to return this result to the user, and in a new window ?
Thanks for any pointers.
Martin
... more >>
MCSD, MCP, MVP
Posted by Arsalan at 6/7/2004 3:30:02 PM
I know this not the right place to post this question, but I've seen couple
of people with these certification.
Although i know what is MCSD but i dont know the difference between MCSD,
MCP and MVP
... more >>
Moving Focus
Posted by Big E at 6/7/2004 3:23:33 PM
I'm using ASP.net and SQL Server.
I have 3 phone number textboxes. 1 for area code. 1 for first 3 numbers and
1 for last 3 numbers.
What I want to do is when user types in the 3 characters for area code have
the focus of the control move to the next textbox for first 3 numbers.
Basically on... more >>
<probing> element in Web.config
Posted by Jiho Han at 6/7/2004 3:19:37 PM
This has been asked many times before but it seems there haven't been clear
answers.
I have an application root at
http://localhost
and subdirectories
http://localhost/app1
which is not a virtual directory. So normally all assemblies will be
searched for in http://localhost/bin dir... more >>
Internet Explorer & Response.Redirect
Posted by Raterus at 6/7/2004 3:18:28 PM
Anyone know how I can figure out the figure out the response.redirect =
trail a browser goes through when I'm using response.redirect on the =
server. Right now Internet Explorer just automatically redirects, I =
need to figure out, on the client, the pages it is being told to go to. =
Yes I k... more >>
Help with Webforms component inheritance
Posted by Strange Cat at 6/7/2004 3:12:52 PM
Hi everyone!
I am trying to write some "auto-translating" components for an ASP.NET
intranet application.
I started inheriting from label and a made a small control. Also i tested on
the button, they work OK, but I have a question: here is the short code for
the btwButton i made:
Imports... more >>
Heip on debugging
Posted by Totto at 6/7/2004 3:02:33 PM
Hi,
Need some help with debugging a asp.net, C# project.
When I set a breakpoint and run the application the breakpoint gets a
question mark inside, and the "hover message" is:
"The breakpoint will not currently be hit. No symbols have been loaded for
this dokument"
Any suggestions to why th... more >>
ASP .NET a downgrade from what VB, ActiveX and Visiual Studio could do - Help?
Posted by JS at 6/7/2004 2:54:30 PM
Hello,
I am using ASP .Net to create my own web controls and I have noticed that
there is one too many requirements that forces the developer to be aware of
and get involved with. In the past the developer could choose between using
VC++ and/or VB to create active X controls which primaril... more >>
Best 3rd party ASP.NET Datagrid?
Posted by VB Programmer at 6/7/2004 2:51:25 PM
What is the best 3rd party ASP.NET Datagrid control that is available
(either free or purchase)?
Thanks.
... more >>
User Control Handle
Posted by Fred Walker at 6/7/2004 1:51:04 PM
I am trying to figure out how to get a reference to a user control in the page that is using that control
I have created several "Properties" within my UserControl that I want to access. Normally when I add a textbox to a form, when I go to my code behind page, the system generates all the code t... more >>
Serve ASP.NET control through custom RequestHandler
Posted by Ricky K. Rasmussen at 6/7/2004 1:01:10 PM
Hi NG,
Is it possible in any way to serve an ASP.NET server control when the
request is beeing processed by a custom request handler?
In my case I use my own request handler to serve elements that exists as
content in a database, and not as files in the file system. What i want is
to be abl... more >>
Null Checker
Posted by Big E at 6/7/2004 12:38:57 PM
I'm using ASP.Net and SQL Server. I'm breaking up the Phone Number into 3
sections for a form. When the value is Null I recieve Cast from type
'DBNull' to type 'String' is not valid.
I'm using a Null checker as seen below. When using this without the Left or
Mid it will work.
Thanks.
... more >>
Hyperlink enabled problem
Posted by Ian Oldbury at 6/7/2004 12:11:51 PM
Hi
we've got an asp:hyperlink on a page and all is fine until we set the
enabled property to false then the size of the text changes.
the html source shows
<a id="hypPrice" disabled="disabled" target="_blank">Price</a>
is it possible to control what "disabled" does to the rendered html?
... more >>
Execute an external application on the server
Posted by Scott Sommerfeldt at 6/7/2004 11:12:49 AM
***I am very new to ASP.net***
I have a simple page that gets a users input and then executes an exteranl
application to create a support ticket in HEAT using the users input as
arguments
All I need to do is execute the application on the server with the arguments
provided by the web page this ... more >>
Xml Web Server control doesn't maintain state?
Posted by Dave at 6/7/2004 11:11:02 AM
Hi
I have a Xml Web Server control on my page
<asp:Xml id=Xml1 runat="server" EnableViewState="True"></asp:Xml>
I'm doing a transform as follows
System.Xml.XmlDocument doc = new System.Xml.XmlDocument()
doc.LoadXml(sXml)
XslTransform transform = new XslTransform()
transform.Load(Server.... more >>
Session Variable
Posted by George at 6/7/2004 11:06:04 AM
Hi
In my ASP.NET project, I have a session variable that is assigned on a login page. In another .cs file (in another directory), I'm trying to use
if((string)Session["variable"] == "something"
When I compile, it tells me that Session does not exist in the calss or namespace
My hypothesis is... more >>
Forms Authenication Cookie Not Expiring Correctly
Posted by Mike at 6/7/2004 10:56:03 AM
I have a web application that the forms authentication cookie is not expiring correctly. When I look at the trace information of a newly requested page after the session and forms authentication have expired the forms authentication cookie is assigned a new value. I am never redirected to the login ... more >>
Share User Control Across Applications - How?
Posted by Chad A. Beckner at 6/7/2004 10:51:42 AM
Hey everyone,
Ok. I have a "template and skin" setup on the beginnings of a new portal
site. In this site, there are going to be many applications, which will be
store underneath the "master" site. How can I share the template user
controls with these "sub-applications"?
Example:
... more >>
Automatic HTML TAG addition (not completion)
Posted by wwwmike NO[at]SPAM gmx.ch at 6/7/2004 10:37:43 AM
Hello there.
When I write any text in ASP.NET an annoying FONT TAG is always addes.
Example:
**************Default ASP.NET page after adding some text***********
<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="WebForm1.aspx.vb" Inherits="WebApplication1.WebForm1"%>
<!DOCTYPE... more >>
Access to asp.net
Posted by Roger Foby at 6/7/2004 10:31:03 AM
Hello everyone, I have a situation maybe you have run across
We currently have a Access 2000 (.ADP) database where all the data is stored o
a SQL 2000 server
We now want to go web based (ASP.Net) and I am looking for suggestions about
any tools there may be so we dont have to start from sc... more >>
Payement processor.
Posted by Jensen bredal at 6/7/2004 10:29:44 AM
I need to accept creditcard on my site and i have seen a product that
handles payement processing.
..netcharge (www.dotnetcharge.com).
I'm very new in this field of payement processing and i would like to know
if anyone can advise on the matter..
Please do not hesitate to instruct about... more >>
Starting out in ASP.NET
Posted by Teros at 6/7/2004 10:26:04 AM
Ello Folks..
Well, I decided it was finally time to jump towards the .NET areas of development. I have experience in php and asp, but nothing in .NET. Any suggestions on ways to go about learning ASP.NET? Any recommendations on the code language behind it? I've looked at both the VB and the C#... more >>
Performing Arithmetic on DataTable Columns
Posted by George Durzi at 6/7/2004 10:14:26 AM
I have a DataTable with only one DataColumn of type float. I need to
calculate the Max value that in any of the DataRows, and this DataColumn.
I noticed the DataColumn has an Expression property:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDataDataColu... more >>
Binding two data columns to DataTextField
Posted by angela NO[at]SPAM kaisen.co.uk at 6/7/2004 10:07:21 AM
Hi everyone,
Is it possible to bind the DataTextField property to two values from a
database.
I would like the text from column("book") and the text from
column("code") to appear in the DataTextField of a dropdown.
If this is not possible is there are work around?
Thanks
Angela... more >>
testing my aspx on another machine - problems.
Posted by Martin Dew at 6/7/2004 9:58:24 AM
I have been developing a small aspx web site. This has been developed using
visual studio 2003 and with codebehind pages written in c#. It works really
well on my development machine (win xp sp1, IIS installed and updated from
windows update).
I have tried to deploy this to another machine to ... more >>
web parent-child form
Posted by news.microsoft.com at 6/7/2004 9:53:26 AM
I am trying to make a customer look up page that can send back the customer
Id to the parent page.
What is the best way to do this? It is easy in vb.net desktop application,
but other than manually posting back the customer id in form data or
querystring data, I am not sure how to do this.
T... more >>
which is executed first
Posted by Victor Sayas at 6/7/2004 9:48:05 AM
i have a html button and i'm wondering which is executed first, the
onserverclick event inside the ASP.Net IDE or the onclick event in the HTML
side?
i hope u can realy help me with this one guys and ladies, because i have
codes executed on the IDE environment and also in the HTML side, thanks.
... more >>
Make VS.NET stop changing <br />
Posted by Tim Mulholland at 6/7/2004 9:40:11 AM
I'm trying to use 'compliant' HTML code in my asp.net pages, but VS.NET 2003
doesn't seem to think i should.
Everytime i put a <br /> into my code, VS changes it back to <br> for me.
I've played with some of the options under Text Editor/HTML/XML/Format and
Html Specific but the best i've been a... more >>
serialize to SQL Server Blob instead of XML serialize
Posted by Gordz at 6/7/2004 9:35:55 AM
I've been experiencing problems on some computers with XML Serialization. On
some computers the files do not get created on the web server's hard drive
and it's been driving me nuts trying to figure it out.
I store navigation history and application state in object collections and
save this up... more >>
Setting the SelectedIndex value of a RadioButtonList
Posted by Emil at 6/7/2004 9:17:14 AM
Can somebody tell me what would be the syntax for having an if statement and
setting the selected index of a radiobuttonlist?
This is my first project using ASP.net and I use C#.
I have a repeater with like a table layout and in the last column I want to
have three radio buttons (for each row in... more >>
Form with ASPX to update text and images in page
Posted by - - Vivian - - - - - - at 6/7/2004 9:03:11 AM
How do I upload files and text from the client to the server without
database?
I have to create the user area to update the site as a form
to enter with the texts and images, and to be inserted automatically
following the "layout and design" of the site, and the images
with the measures correct... more >>
ASP/SQL Server Setup
Posted by Matt MacDonald at 6/7/2004 9:02:12 AM
Hi all,
I'm trying to set up a web server using IIS on a different machine than my
SQL Server is on. I have my web site set up to use windows authentication,
and I have ASPNET set up as a user on the database. I still get the "Login
failed for user '(null)'. Reason: Not associated with a tru... more >>
¿como enviar mail desde WindowsForm?
Posted by Liber at 6/7/2004 8:21:34 AM
¿Alguien podría explicarme como enviar mails desde un WindowsForm ?, puedo
hacerlo con un WebForm, pero no se como hacerlo con WindowsForm, podrían
darme un ejemplo.
Gracias,
Saludos, Liber.
... more >>
session state and updating DLL
Posted by brian at 6/7/2004 6:28:30 AM
I am using Visual Studion.NET 2002 Pro and 1.0 of the
framework.
I have an intranet site that stores users login name and
password in a SQL database. When the user logs in there
username is stored in session state variables to
dertermine if they have access to pages.
I have 7 differen... more >>
Can't connect to SQL Server, using Windows Authentication users of SQL server? help
Posted by Reza at 6/7/2004 5:41:06 AM
Hello
I tried this friday, but didn't get anywhere so trying again
Basically, I have a fixed list of people that can access the application in the Intranet, and with the policy of the company the Users can be created only with Windows authentication in SQL Server - with SQL server authentication ... more >>
Free reporting tools?
Posted by TSUI at 6/7/2004 5:36:02 AM
Dear all,
Does anyone know some free reporting tools instead of crystal reports
It is better to use in windows and web forms.... more >>
Problems with Databinding during PreRender
Posted by evadienske NO[at]SPAM hotmail.com at 6/7/2004 5:22:32 AM
Hi all,
I have a piece of XML that looks like this, which I want to DataBind
to a Repeater (the Repeater is inside a UserControl):
<SECTION id="MAIN" >
<SUBSECTION id="SUB1" />
<SUBSECTION id="SUB2" />
<SUBSECTION id="SUB3" />
</SECTION>
The Repeater definition looks like this:
<asp... more >>
User.Identify.Name
Posted by Jim Heavey at 6/7/2004 4:21:03 AM
I am not quites sure which happens first... the Form Load Event for the form or the form load event for the user control. I am wanting to obtain the User.Identify.Name in the UserControl, but I am not quite sure how to get a hold of the value. If I can only get it from the form which contains the ... more >>
Copy over in-use files?
Posted by aaebi NO[at]SPAM csc.com at 6/7/2004 12:41:38 AM
Hi all
Initial postion:
IIS 6.0, Windows 2003 Server, .NET Framework 1.1
We have a development Server A, a stating Server B and a production
Server C.
After development of the .NET ASP project we copy it directly with the
'copy project' command from visual studio .NET to server B (in Relea... more >>
|