all groups > asp.net > april 2006 > threads for tuesday april 18
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
[ ] (Wildcard - Character(s) to Match) ?
Posted by Bruce Lawson at 4/18/2006 10:35:56 PM
Hi, I am confused about Microsofts description of this Transact SQL
reference; [] (Wildcard - Character(s) to Match. The description says
"Matches any single character within the specified range or set that is
specified inside the square brackets". For example, in the TransactSQL
statement ... more >>
.Net 1.1 - Export XML via HTTPS problem
Posted by Calvin KD at 4/18/2006 10:10:02 PM
Does anyone knows of any issues/problems associated with sending xml file via
https?
I have a button which exports data records using DataSet.GetXML() method
and sending it over the https and clients (outside the firewall) apparently
having problems with obtaining the xml file. Following is ... more >>
ORIGINAL CODE GETS EXECUTED NOT THE NEW CODE - ASCX
Posted by sk at 4/18/2006 9:37:34 PM
hello , this is sk, new to this group
problem>>>>
i have a .ascx file
any changes done to this file do not get mapped
it does not throw any errors
but the compiler executes the code that was originally present
i got to know this since i tried to remove all the procedures in the
file
kep... more >>
GridView Update
Posted by Jim McGivney at 4/18/2006 8:47:58 PM
In VS-05 on an aspx page I have a GridView with a select item column. When
the select button is pressed a DetailsView control opens with the selected
record displayed. The user can now edit the record by pressing the edit
button. After the record is edited in the DetailsView the update butt... more >>
Web / Video conference application in asp.net
Posted by Chrysan at 4/18/2006 7:58:03 PM
Is it possible to use asp.net(web-page) to develop Video conference
application? And, all user interfaces are in web-page including the video
received and sent, all being displayed on web-page, not window-form.
Possible?... more >>
SQLsiteMapProvider Cache Problem
Posted by Rahul at 4/18/2006 7:38:38 PM
Hi
I have a SQLServerSiteMapProvider code from one of the guru's from
microsoft, So i am successfully getting the records in my Menu control
which is reffering to SQLServerSIteMapProvider.
My problem
(1) I am making my query as Parametized so that I can get a different
recordset to bind... more >>
mobile website goes to login page but not further
Posted by SJ at 4/18/2006 7:12:37 PM
I have a mobile web application running on a server at work. There is a
strange thing happening though:
1) I can access and login to my mobile web app from any internet browser.
(good thing).
2) I can access and login to my mobile web app from any Palm Treo web
browser. (good thing).
3) When I... more >>
Offset from GMT
Posted by Rich Raffenetti at 4/18/2006 7:04:05 PM
I have an asp.net application that presents some user account information
from Active Directory. I want to present current dates and times to the
users in cases where the raw date/time is in GMT. Since the GMT offset
changes depending on the time of year, the program would need to change
t... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Deployment question re: dlls, code-behinds, aspx files etc.
Posted by RonL at 4/18/2006 6:47:25 PM
We're using ASP.NET 1.1, C# and Visual Studio 2003.
We use XCopy to copy the application files (dll from the Visual Studio
Build, aspx, xslt etc) to the Production Server. When a user browses
the application after the XCopy what is re-compiled? Is it just the
aspx files and the web.config. I a... more >>
how to send custom e-mail with asp.net
Posted by Brandon at 4/18/2006 6:43:01 PM
I am trying to send a custom e-mail using asp.net but am having trouble. The
code that I found to do this is:
<%
Dim msgMail as New MailMessage
msgMail.From = "frombla@blabla.com"
msgMail.To = "tobla@tobla.com"
msgMail.Subject = "Happy Birthday"
msgMail.Body = "If your birthday is today, h... more >>
Hi people views once what I received:
Posted by Money salary - program at 4/18/2006 6:34:11 PM
Hi people views once what I received:
Money salary - program
Sincerely welcome to the money salary program
I more closely would like to bring you a money salary program, that you
helps along to earn not only money, but rather you also information
Gives, use bring that you large.
Additional... more >>
User control with Javascript function
Posted by Lukas Kurka at 4/18/2006 6:07:56 PM
Hi,
I have an User Control which uses css and javascript files. How should I add
them to the main page? When I place this User Control twice on the page, how
to add reference to these files only once.
Thanks
Lukas
... more >>
How to manually create a new section in the Event Viewer
Posted by Jorge Luzarraga Castro at 4/18/2006 5:48:29 PM
Helloo,
I´ve got a ASP .Net application which writes to the event viewer whenever it
finds a error. This appl needs to create a new section in the event viewer
the first time it encounters any error. For doing so it needs Administrator
privileges to create that section, so far everythings ... more >>
Converting text to double
Posted by Frederik Vanderhaeghe at 4/18/2006 5:03:49 PM
Hi,
I have a problem converting text to a double. Why doesn't the code work:
If Not (txtdocbedrag.Text = "") Then
Select Case ddlBedrag.SelectedIndex
Case 0
Case 1
whereSQL += "cast(bedrag as numeric(10,2)) > '" &
Double.Parse(txtdocbedrag.Text) & "' and "
Case 2
whereSQL += ... more >>
File in use
Posted by tshad at 4/18/2006 4:43:12 PM
I am opening a file in my .aspx page like so:
// Pass the file path and the file name to the StreamWriter constructor.
objStreamWriter = new StreamWriter(Server.MapPath("Employee.txt"));
If I should kill the page and restart the page I get the following message:
The process cannot acc... more >>
pre and post build event?
Posted by Nigel Jensen at 4/18/2006 3:45:15 PM
Hi,
is there a possibility to add pre and post build events to web projects?
thx
Nigel
... more >>
How to get default button to work?
Posted by tshad at 4/18/2006 3:03:50 PM
I have a page with 2 buttons and was told I could get my choice of button to
act as the default button but add the following code to the my Page_Load:
Page.RegisterHiddenField("__EVENTTARGET", "btnSearch")
I have the following code and page:
***********************************************... more >>
Asp.net 2.0 deployment with encryption
Posted by Chuck P at 4/18/2006 2:31:58 PM
I need to deploy and asp.net 2.0 application that has dpapi/machine
encrypted connection strings.
I tried using the VS Build Publish menu selection and then putting the
encryption in the global.asax application_start event. Unfortunately
this errors because the asp.net account doesn't have wr... more >>
Is successful build a pre-requisite for reaching breakpoint?
Posted by Web learner at 4/18/2006 2:00:49 PM
Is "successful build of project (asp.net20 C# website VWDExpress)" a
pre-requisite or necessary condition to reach a breakpoint?
I am asking this this question because the page loads up in the browser and
the statement is successfully executed without ever hitting the set
breakpoint. I see ... more >>
Time to reboot?
Posted by jhcorey NO[at]SPAM yahoo.com at 4/18/2006 1:51:54 PM
"Microsoft Visual Studio cannot shut down because a modal dialog is
active. Close the active dialog and try again".
Well, I sure can't see it. I guess I'll pull the plug.
... more >>
How to read email
Posted by tshad at 4/18/2006 1:49:14 PM
I am trying to set up my system to read an for changes in another database.
When a change to a persons profile happens, an email can be sent. I want my
system to wait for the email, then go off and handle it.
How best would I handle this?
Thanks,
Tom
... more >>
Odd Web Config Inheritence Problem
Posted by darrel at 4/18/2006 1:10:39 PM
Our Server is set up like this:
site1 (app)
|-admin application
site2 (app)
|-public site
...|- subFolder1 (app)
...|- subFolder2 (app)
This is our staging serer. It's set up so domain goes to site1 and domain:85
goes to site2.
site1 is the admin tool, site2 is the actual site.
... more >>
storing email informations in my own database
Posted by fazeee at 4/18/2006 12:52:35 PM
Hello!
How to use the Cdosys.dll or other libraries to send an e-mail message
with attachments (using Visual C# and sybase/oracle) and store all email
details in my own database? Including email body and attachments...
Thank You for replying... more >>
Dropdownlist
Posted by Frederik Vanderhaeghe at 4/18/2006 12:43:20 PM
Hi,
I have a dropdownlist that contains should contain several values from the
database, I fill it up in de page_load() with this code:
If Not Page.IsPostBack Then
InlezenConfig()
Dim strsqlDocType As String = "select distinct type from
TBL_Bestanden_Zoeken"
Dim da As New SqlClient.Sq... more >>
can't get data from table
Posted by rmandel NO[at]SPAM yahoo.com at 4/18/2006 11:25:46 AM
I'm very, very new to .Net but have been doing C/C++ for years. I'm
having a great deal of difficulty with something that should be simple.
Here's what I'm trying to do....
Display three columns of data in a table with a checkbox control on
each table row.
When the button is clicked I... more >>
Images in DataGrid
Posted by Sekhar at 4/18/2006 11:10:02 AM
Hi all
I have a DataGrid which has two Template Columns both having Image Buttons
in it
One column has UP image and the other has DOWN image used to reorder rows in
the grid.
How do i handle the events to these images. Working on the ImageButton click
events doesnt help. I thought ItemC... more >>
Problems migrating to new machine
Posted by bh at 4/18/2006 10:51:53 AM
I had a machine with VS2003 & Win2K adv. server, which crashed. I have a
new one with WinXP, and I loaded VS2003 (Dev Ed) and some existing
projects...
When I tried to open any projects, at first I got the message that my
current server was not running the framework 1.1 I have both 1.1 & ... more >>
Extending application lifespan
Posted by John Spiegel at 4/18/2006 10:33:01 AM
Hi all,
I've got an ASP.NET 1.1 app that has fairly heavy application startup time.
It's not used with great frequency right now so there are a number of times
when all sessions have died so the app itself then dies. Other than just
increasing the session timeout, is there a way to keep t... more >>
Session variable data being lost
Posted by Sarah Marriott at 4/18/2006 10:31:02 AM
Our website contains session variables that are used to validate if a user is
logged in etc. We have found that these variables are randomly lost while
navigating the website.
We set up some basic code (as shown below) which used a meta tag to refresh
an aspx page every second. It tests wh... more >>
return to GridView page from FormView?
Posted by Dabbler at 4/18/2006 9:57:02 AM
What's the best way to return to GridView after editing a detail record in a
FormView so the GridView shows the page with the edited record on it?
I'm using GridView with standard ObjectDataSource, no custom paging.
Thanks for any tips on this.
... more >>
Assembly included inside another assembly ???
Posted by \ at 4/18/2006 8:57:16 AM
I have a file called Main.aspx that includes these 2 support files:
<%@ Assembly Src="Constants.vb" %>
<%@ Assembly Src="Email.vb" %>
I can then use both my email.vb functions (and my constants) in Main.aspx.
(That WORKS!!!!)
But how would I *ALSO* use my constants... more >>
IIS 6.0 Application server required for ASP.NET 2.0
Posted by keithb at 4/18/2006 8:46:51 AM
Does ASP.NET 2.0 need IIS 6.0 to be configured as an application server?
Thanks,
Keith
... more >>
GridView not updating changes
Posted by teclioness at 4/18/2006 8:07:01 AM
Hi,
I am using gridview and sql datasource for select and update. When I
click on edit link against the records, the row is shows in edit mode.
When I make a change to it, the change is not updated and no errors
returned.
Here is the source.. Please help.
<asp:GridView ID="gvEvidence" ru... more >>
onclick event in a gridview
Posted by cgian31 at 4/18/2006 7:35:13 AM
I have inserted a button in a gridview, via a template column.
Using the OnClick event I want to execute some other function, but I
need to get the row for which the button was pressed.
Unfortunately the datakey field, which is what I would need, is hidden,
therefore I cannot use the following c... more >>
Binding TreeViews
Posted by Chris Fulstow at 4/18/2006 6:59:52 AM
Hi,
In ASP.NET 2.0, what's the best approach for binding a TreeView control
to data in SQL Server? Is it possible to write a "SELECT ... FOR XML"
type query that you can feed directly into the TreeView? It only seems
possible to bind to a static XML file, or a site map.
Maybe it's just a ... more >>
RSS / ATOM parse
Posted by jacob.saxberg NO[at]SPAM gmail.com at 4/18/2006 6:51:09 AM
Do you know of a .NET app that can parse RSS and ATOM feeds?
I'm looking for something like www.feedparser.org
Thanks,
Jacob
... more >>
Convert PDF, Powerpoint and Word to HTML
Posted by jacob.saxberg NO[at]SPAM gmail.com at 4/18/2006 6:49:27 AM
Do you know of a .NET app that can convert PDF, Powerpoint and Word to
HTML?
Thanks,
Jacob
... more >>
[RESEND] Need to remove blank XMLNS attribute from xmldocument
Posted by Ewan Fairweather at 4/18/2006 6:26:02 AM
Hi,
I'm generating the below XML in c# for an asp.net application
When i've generated this XML the <LaboratoryDetails xmlns=""> element has a
blank xmlns set. How do i either a) remove this attribute or b) prevent it
from happening in the first place.
To generate the xml I've got two ... more >>
WebPart events not triggered upon first logon
Posted by Paal Berggreen at 4/18/2006 4:55:01 AM
I am involved with development of a Portal solution using ASP.NET 2.0
and WebParts. The WebParts framework use the default personalization
providers, and the personalization data thus ends up in the aspnetdb
database (which we have placed on a proper SQL Server, not SQL Server
Express).
Every... more >>
Datalist with Crystal Reports report
Posted by Michel Schawann at 4/18/2006 3:57:02 AM
How using a existing Datalist on a new Crystal Reports report ?
Today, I create my excel file by sendind a datalist to Response.write().
I want replace the Response.write() method by a Crystal Reports report
creation because response.write() is a bad way with atlas.
But unfortunality, i am not ... more >>
gridview row command
Posted by NH at 4/18/2006 3:41:01 AM
How do I find out the row index selected in the gridveiw row command method?
I have an imageButton in a gridview cell and its corresponding code in the
row command method needs to know the row index in question in order to set
the background of the cell to a different color. But the selectedI... more >>
MSDNMag Article re Ngen - does it apply?!
Posted by musosdev at 4/18/2006 3:39:01 AM
Hi guys
I've just read the article in this months MSDN about using Ngen to speed up
initial load times and I thought "great, I can speed up initial load of my
web app!".
However, having just read the conversation between Steven Cheng and MLibby
on this group (search for "ngen" to find it... more >>
Problem with listbox at client side
Posted by Anup at 4/18/2006 1:52:47 AM
Hi Group,
In my application there is a very common functionality, where two list
box and present and items are moved between them on button clicks when
selected,
This I am doing client side,
Client side code is like this ->
function
assignInspector(listboxAllFieldEngineers,listBoxAssign... more >>
How to upload files to a rmote web server using FileUpload ?
Posted by Prasath at 4/18/2006 1:16:21 AM
We are able to upload files to a localhost. Pl. help on uploading files to a
remote web server using VB code
Thanks
... more >>
Finding memory of a Datatable at runtime....
Posted by conckrish NO[at]SPAM gmail.com at 4/18/2006 1:09:42 AM
Hi all,
Can anyone tell me how to find out the memory used by a
DataTable at runtime? I am appending lot of data to datatable at
runtime.I have to measure this memory comsumption programatically...
Plz help me...
Thanx in advance...
Jacob...
... more >>
Conditional Statements for Repeaters?
Posted by Brad Baker at 4/18/2006 12:31:23 AM
I have several asp.net repeaters which I need to display based on the value
of a dropdown. I.E. If item1 in a dropdown is selected then repeater1 needs
to be displayed, if item item2 is selected then repeater2 needs to be
displayed.
I have no problem writing and displaying a single repe... more >>
Using asp:HyperLink to open a new window
Posted by dana lees at 4/18/2006 12:00:00 AM
Hello,
I am using asp:HyperLink in a c# asp.net application to open a new window in
the following way:
<asp:HyperLink ID="lnkSiteName" runat="server" Text='<%#
DataBinder.Eval(Container, "DataItem.name") %>'
NavigateUrl='<%# "site.aspx?id=" + DataBinder.Eval
(Container.DataItem,"id").ToStr... more >>
Form authentication of ASP.NET 2.0
Posted by David Dvali at 4/18/2006 12:00:00 AM
Where can I find good articles about form authentication of ASP.NET 2.0?
--
Best regards,
David Dvali
... more >>
Click menu item programmatically
Posted by Bird at 4/18/2006 12:00:00 AM
Hi,
Menu's SelectedValue and SelectItem property is read-only, so how can I
click a menu item by code?
Thanks!
... more >>
Registering user control programmatically
Posted by Sharon at 4/18/2006 12:00:00 AM
Hi all,
I'm trying to programmatically render a user control,
but problem is, i don't have the control type
and i cannot use register directive as the context is not an aspx page.
Any ideas, links.
Thanks,
Sharon.
... more >>
|