all groups > asp.net > february 2007 > threads for tuesday february 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
Simple script needed to output information about on Access database
Posted by bissatch NO[at]SPAM yahoo.co.uk at 2/27/2007 11:30:03 PM
I have a Access DB but dont have Access. Im currently trying to teach
myself ASP .NET and would like to output and manipulate the DB but I
dont know the exact column names. Is there any basic .aspx scripts out
there that would, with a little tweaking ofcourse (ie. database
filepath/name), displa... more >>
download coding
Posted by ajash.pv NO[at]SPAM gmail.com at 2/27/2007 11:15:39 PM
plz send source codes and procedurs for "Download files in asp.net
with vb.net codig"
... more >>
Error while running HTTP handler project
Posted by pradeep_TP at 2/27/2007 9:14:07 PM
I am trying to create a simple HTTP handler in ASP.net 2.0. I am using VS
2005. I am trying to handle a custom extension file givein in the URL. I
have also created the following entry in the web.config file
<httpHandlers>
<add verb="*" path="*.imgw" type="Customhandler.Handler,... more >>
Using Web.Config from Program
Posted by Ahmed Al-Lakani at 2/27/2007 9:07:20 PM
hi,
i wrote program that is located in my bin folder of my web application, i
want this program to use my web.config which is not on the same folder,
in other words i want this program to use another config file other than
app.config
thanks
Ahmed Al-Lakani
... more >>
Ajax.Net and control focus
Posted by Ryan at 2/27/2007 7:53:20 PM
Hello,
I am starting the use the new ajax.net and I am seeing a bizarre
behavior when controlling focus from the codebehind.
I have tried:
<control>.focus
page.setfocus(<control>)
CType(Master.FindControl("<form id>"), HtmlForm).DefaultFocus =
<control>.ClientID
None of them seem to ... more >>
Retrieving the COM class factory for component with CLSID failed
Posted by Nick at 2/27/2007 7:34:03 PM
Hi all,
i have a web application and one of the function is to generate a word
document by button click.
it works fine in debug mode when i run this web application.
But after i deploy to my local IIS server, it always show this error when i
click the button which trying to generate a wor... more >>
[ASP.NET 2.0] Repeater control & paging, how??
Posted by Jeff at 2/27/2007 6:35:48 PM
Hey
ASP.NET 2.0
GridView have AllowPaging & PageSize for the letting the GridView span
multiple pages.
But is the same allowed on a Repeater control? I didn't see any properties
like AllowPaging or PageSize on the Repeater control, so I guess it isn't
possible? if it is possible maybe... more >>
Adding controls to Treeview nodes possible?
Posted by Shane at 2/27/2007 6:06:18 PM
Hi all,
Is it possible to add controls like buttons, textboxes etc to treeview nodes
like this link:
http://webui30.componentart.com/treeview/features/nesting_aspnetContent/WebForm1.aspx
The nesting asp.net components example.
..........................or do I have to buy this compone... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Ajax component for news ?
Posted by Xnet at 2/27/2007 5:49:25 PM
I need one component Ajax for display news (in the style of chat).
If it is possible free.
Thanks!
... more >>
reading web.config section
Posted by alf at 2/27/2007 5:02:16 PM
Hi folks,
I'm trying to read a web.config section using
RoleManagerSection settings =
(RoleManagerSection)System.Configuration.ConfigurationManager.GetSection("system.web/roleManager");
and I get the following error on the page:
Security Exception
Description: The application attempted ... more >>
Uploading file from Database
Posted by tshad at 2/27/2007 4:22:59 PM
I have a file that I want to upload periodically from a users machine if
they come back later.
I am storing the filename and path in my database. But the HtmlInputFile
normally file is set to read-only.
For example, if I have the object:
<input id="MyResumeFile" style="width:300px" typ... more >>
How hard is it to convert from plain HTML Mockup to ASP.NET?
Posted by Frank at 2/27/2007 3:47:51 PM
Hi,
Just wondering how much pain is involved in taking an existing website
created with Dreamweaver (mostly just plain HTML + some javascript) then
converting each page to ASP.NET with Code-Behind for each page?
The website is a mockup in plain HTML so there is no database hooked up yet.
... more >>
Fileupload contenttype DOCX / PPTX
Posted by Roel at 2/27/2007 3:42:18 PM
Hi all,
I'm using the FileUpload control for uploading MS Word and MS PowerPoint
documents.
To check if a user uploads a correct document, I check the contenttype
(FileUpload1.PostedFile.ContentType) of each document, "application/msword"
for MS Word and "application/vnd.ms-powerpoint" f... more >>
using oracle with master/detail asp.net ?
Posted by Luqman at 2/27/2007 3:22:39 PM
I have created a master/detail asp.net page using detailview control and
gridview control, out of which detailview is editable.
I have created a dataset using Oracle Connection and I want to display
Product Name Column besides its Product ID Column.
If I use a sub query as recommended by Mic... more >>
Mapping multiple email addresses to one inbox
Posted by donet programmer at 2/27/2007 2:52:53 PM
Is there a way to map multiple email addresses,
for instance emailadd1@domain.com, emailadd2@domain.com.. etc to one
email address emailadd@domain.com such that when an email is sent to
emailadd1 or emailadd2 its received in the emailadd mailbox.
I need this for testing email functionality in a ... more >>
How to add date in access database
Posted by Tony at 2/27/2007 2:30:50 PM
I am trying this:
SQL = "INSERT INTO GradeList (Date) Values(#01-01-2007#)"
I get message "Syntax error in Insert statement".
How to add date field in access database?
... more >>
Accessing public methods in user controls
Posted by J055 at 2/27/2007 2:22:07 PM
Hi
I have a standard asp page which uses a MasterPage. The MasterPage contains
a User control. How can I access a public method in the User control from my
WebForm page? I can't move the method to another location because it
populates a Textbox in the user control page.
Thanks
Andrew
... more >>
__doPostBack issues
Posted by cbaigorri NO[at]SPAM gmail.com at 2/27/2007 2:15:21 PM
Hey People
This might be really stupid but it's driving me nuts. When I'm
posting a form using __doPostBack("submit",) the validation is
happening and that's fine... the issue is that in IE6 it doesn't go to
the top of the page. Has anyone ever had this same problem? And what
can I do to s... more >>
asp.net 2. 0 hyperlink DataNavigateUrlFormatString
Posted by Vincent at 2/27/2007 2:05:49 PM
Hi, I have a problem when I put the 3rd field into a hyperlink field
it does not show up. Here's my example:
This works and the url is:
http://gl.aspx?whs=1&dept=02
<asp:HyperLinkField DataNavigateUrlFields="Whs-num,Dept,trx-date"
DataNavigateUrlFormatString="~/gl.aspx?whs={0}&dept={1... more >>
BindData() - may I call it manually within Page_Load()?
Posted by Rudi Hausmann at 2/27/2007 1:35:26 PM
Hi!
When is BindData() usually called?
Is it OK to call it within Page_Load() so that I have the content of the
bound controls?
Thanks
Rudi... more >>
TreeView Control and DataRelations
Posted by Phil Townsend at 2/27/2007 1:33:16 PM
I have a dataset that contains multiple tables, each with the same
structure, and each tied to the next through a datarelation object. The
number of tables in the dataset can fluctuate. I am stuck on figuring
out the best way to use this structure to populate a tree view control.
I've experiment... more >>
Default Dimensions For Designer on VS 2003 ( em's Vs px x)
Posted by Microsoft News at 2/27/2007 1:28:02 PM
Ive recently been ugrading a site to be scalable, using em units of
measurements rather than Pixes. Now by default the measurenents defautl to
pixes, but I was dondering if there is a setting you can change to alter
this to anoter unit up measurements, this would make my life so much easier.
... more >>
TreeView Caching
Posted by Bishop at 2/27/2007 1:27:41 PM
I have a treeview in my master page. It's built off a sql table that looks
like this:
TreeID, Name, ParentID
1,shoes,0
2,boots,0
3,slippers,0
4,shoe laces, 1
5, shoe soles, 1
6, boot laces, 2
7, slipper ears, 3
8, slipper ears blue, 7
To populate I do a number of small sql queries. T... more >>
How do I ignore time zone differences?
Posted by Harry Keck at 2/27/2007 1:07:00 PM
I call a web service that returns a dataset with date infomation. I then
store that information in a local database. The web server and the machine I
am calling it from are on different time zones. All of the times that I save
are getting changed. I can see a -7 at the end of the date stri... more >>
getting query info in a url
Posted by Jeff at 2/27/2007 12:54:51 PM
ASP.NET 2.0
I'm wondering how I can get a specific parameter in the query string in a
url. I have this url in my website:
Default.aspx?mode=1 So I'm wondering how I can the "mode" parameter and its
value.
I've seached the documentation I came across Uri.Query which returns the
entire qu... more >>
Page.Request Property With MasterPage
Posted by senfo at 2/27/2007 12:39:42 PM
I'm in the process of converting an ASP.NET 1.1 application to ASP.NET
2.0 and one of the things I did was to add a MasterPage. The original
1.1 application relies heavily on the Page.Request property to retrieve
values between calls to the Server.Transfer() method. The problem is
that the... more >>
reviews for third party tools and controls?
Posted by microsoft.public.sqlserver.programming at 2/27/2007 12:15:52 PM
Is there a good resource where I can go to read reviews about third
party controls and tools?
Right now I am beyond frustrated with this one particular vendor (who
shall remain nameless) for now, specifically their support staff.
They have mastered the art of just reading the first three words... more >>
Performance Degraded Moving from 1.1 to 2.0
Posted by Jason Bennett at 2/27/2007 11:59:05 AM
I recently updated my web application from the 1.1 version of the framework
to the 2.0 version. It seems to have seriously degraded the download times
of the pages. I changed nothing beyond the framework, and in many instances
it has doubled the download times of the pages. I am wondering i... more >>
Get DataField Item of a Column?
Posted by mianiro at 2/27/2007 11:44:46 AM
Is it possible to dynamically get the datafield item that populates a
column in gridview?
Something like grid.columns(0).????
... more >>
sql job agent
Posted by Tom at 2/27/2007 11:37:05 AM
I have a web form that connects to a db server and shows all the jobs in the
sql server agent, I'm able to pick a job to run and run it, and then i call
sp_help_job to get the status of the job. Is there a way to get which step is
running and show that in a progress bar?
example
step 1 p... more >>
sending email problem
Posted by Lenny at 2/27/2007 11:13:18 AM
I wrote this function to send an email
the problem is that I do not receive any error from .net but the email is
not delivered.
smtp server is not local but from my ISP
any suggestion on how to understand the problem?
thanks
Lenny
<system.net>
<mailSettings>
<smtp from="x... more >>
Custom Controls!!!
Posted by Vai2000 at 2/27/2007 10:47:19 AM
Hi All, I have a custom validator control for checkboxlist validation. I
want to use this control in my project without compiling into a DLL?
I have moved the source Code in App_Code folder but its not working
BTW it works if u compile the Class into a DLL and then register it using
page direc... more >>
Newbie:sending German characters on TCP link
Posted by Navin Mishra at 2/27/2007 10:44:30 AM
Hi,
I've a .NET application that sends XML string as bytes on a TCP
connection. It had used ASCII encoding so far and everything was fine. Now
on a German OS, German characters were sent as question mark in the received
string. I guess that's because ASCII encoding was used and unicode en... more >>
Migrating to .NET 2.0
Posted by JJ at 2/27/2007 10:24:59 AM
I am trying to migrate to ASP.NET 1.1 applications to 2.0
After doing the migration through the wizard provided by Visual Studio 2005,
all the pages with .resx extension still remain. I have not modified the
..resx for any pages. Is it safe to manually remove from the project? What
about... more >>
System.Threading.ThreadAbortException, mscorlib.dll, ASP.NET 2.0, Firefox Crashing
Posted by mwallis76 NO[at]SPAM gmail.com at 2/27/2007 10:20:33 AM
Upon clicking on a hyperlink generated in a ASP.NET GridView control,
I am finding Firefox 1.5 to crash. However, when clicking on the same
link, Internet Explorer 6.0 works just fine and is redirected to the
page as expected. I was only able to see this particular error once
but have continue... more >>
Newbie Grid Question
Posted by mianiro at 2/27/2007 10:12:05 AM
Let me explain my situation ....
I have a grid with databound columns, which are filled at run time. I
need to add an onlick event to the link button header that will fire a
vb.net sub procedure. This sub procedure will need to be passed the
data field name which is used to fill the column c... more >>
Exe
Posted by vinay at 2/27/2007 10:08:13 AM
I need to run an EXE from code by passing parameters and Expect a return value.
How do i go about it?
Any samples if u can direct me....
Thanks... more >>
ASP.NET seems too delicate.
Posted by cr113 at 2/27/2007 9:16:11 AM
I get the following error message when I try to run any ASP.NET
application, even "hello world": "Unable to start debugging on the web
server." It used to work on Windows 2000 but since I've switched to XP
it quit working. I've tried adjusting all kinds of settings that
Microsoft recommends wi... more >>
A difference in date formats
Posted by gstark at 2/27/2007 9:12:24 AM
Hi,
I have a difference between machines in the date formats they produce. This
one web application has this code. Me.txtRxDate.Text =
Now().ToShortDateString. On the development server, the browser displays
the date as: 2/27/2007
When I goto the production server, the same browser display... more >>
working with databases
Posted by jtnpham NO[at]SPAM gmail.com at 2/27/2007 8:59:10 AM
does anyone have any idea on how to insert, modify, or delete records
in a database, sql or ms access(preferably in access) where the user
types in changes through textboxes instead of a data grid view or
details view?
that is:
four labels, with four corresponding textboxes, and then having... more >>
Accessing Server Controls inside a Repeater?
Posted by John Kotuby at 2/27/2007 8:10:44 AM
Hi all,
I am using a Repeater in conjunction with a SQLDatasource and SQL Server.
One of the controls in the repeater is a HyperlLink as follows:
<asp:HyperLink NavigateUrl='Search.aspx?page=base&searchid=<%
Eval("sequence")%>' .....
As you can see I am trying to pass a QueryString ev... more >>
Changing and image to a text field.
Posted by JB at 2/27/2007 8:08:07 AM
I have a set of links that are currently images that when the person rolls
over them, they change color. Essentially the image is a box where the
background is brown and the text is blue. When the person rolls over it,
they want it blue background with brown text. As I said we currently do
i... more >>
OndeleteCommand does not fire
Posted by Iain at 2/27/2007 6:58:21 AM
I have the following .net page with a pushbutton in a datagrid. This
pushbutton should delete the selected record.
It works in the same manner in many other pages of the same format (I
actually copied and pasted most of this code from another form).
Can anyone enlighten me please as to why thi... more >>
ASP.NET/OOP and adding specific logic to controls in overriden methods
Posted by Bob Jones at 2/27/2007 6:31:00 AM
I have an odd business requirement and I think that the implementation
is not correct in the terms of OOP development. Any help on the
concepts would be very appreciated!
We currently have a custom Page object which is derived from the base
Page object. We also have custom controls that derive... more >>
Ajax AutoComplete retrieve multiple values
Posted by adelscott at 2/27/2007 6:21:23 AM
Hi,
I'm using an autocomplete extender and I would like to retrieve the
ID
that goes with the label.
IE:
Label, ID
"Mr John","CLIENT0001"
"Mr Doe","CLIENT0002"
etc..
Is there any way to retrieve 2 values ? The label would go to the
textbox and the ID to the hidden textbox.
T... more >>
counting the number of rows & displaying columns that are not nul
Posted by Daniel at 2/27/2007 3:50:00 AM
Hi Guys
i wanted to find out, what is the sql statement i need to count the number
of rows in search query and also the statement i need for displaying columns
that are not null
I'm writing this statement within vb.net
Thank you... more >>
Deploying 2005 ASP.NET Web Application (2003 Style)
Posted by PP at 2/27/2007 3:39:04 AM
Hi
I have converted a .NET v1.0 to V2.0 asp.net project with out any
major probelems. Because of the nature of the application, I have to
install the Web Application Addon for VS2005 to alllow me to build a
single DLL.
Now I want to deploy the application, it's a different story. Firstly
... more >>
Opera session problem
Posted by Paul at 2/27/2007 3:39:03 AM
Hi all,
While testing my site with a variety of browsers, i've noticed that
Opera seems to lose it's session id between each page request. The
version of opera i'm testing is 8.54. Because it looses the session
ID, it absolutely breaks the site. With cookieless set to true,
everything works f... more >>
Need Expert Help and Advice. Thank You.
Posted by shapper at 2/27/2007 3:22:31 AM
Hello,
Consider I have a String:
Dim MyString As String = "Hello"
or an Integer:
Dim MyInteger As Integer = 100
or a class which its properties:
Dim MyClass As New MyCustomClass
MyClass.Property1 = "Hello"
MyClass.Property2 = Unit.Pixel(100)
MyClass.Property3 = 100
Or even a ... more >>
Refresh image in asp:Image-control
Posted by Miro at 2/27/2007 2:28:00 AM
Hello!
I've seen a lot of post about this but every one of them ends up with the
same solution:
Set:
Response.Cache.SetExpires(new DateTime(2000, 1, 1)); // some date in the
past....
Response.Cache.SetCacheability(HttpCacheability.NoCache);
and use:
myPic.ImageURL = picURL + "?time... more >>
Tags vs. code-behind
Posted by Zeba at 2/27/2007 1:36:37 AM
Hi guys..
I just wanted to know whether its better to use the asp tags (or drag
n drop) or write the actual code-behind for things like login, data
accesses etc. I guess its easier to use the tags but does it have any
disadvantages ?
Thanks !
... more >>
autocomplete textbox like google
Posted by nil at 2/27/2007 1:30:47 AM
Hello all,
It's urgent...
i want to add autocomplete textbox facility in my application like
google. as you type it suggests option to the user..i want the same
kind of facility...i know i can do only with ajax(xml and javascript)
but i want to fetch possible values from database and want t... more >>
Use of Temporary ASP.Net Files foler.
Posted by archana at 2/27/2007 1:16:23 AM
Hi all,
I am new to asp.net. I don't know exact purpose of 'temporary ASP.NEt
Files' folder.
I have one web application with only one form with name as webform1.
What i observed it when i run my application in folder 'Tempoprary
ASp.net files' folder with name same as my app name is created... more >>
Datagrid fails to show data!
Posted by rcoco at 2/27/2007 1:04:53 AM
Hi,
I have a datagrid that is ment to insert data. But when I run the form
only the header appears. I would like some advise from you all and
solve this problem I'm using visual studio 2003. My code looks like
this:
private void Fill()
{
DataTable table = new DataTable();
SqlDataAdapter ad... more >>
VB.NET ignoring Option Explicit setting
Posted by Jerad Rose at 2/27/2007 12:30:01 AM
I believe this issue is specific to ASP.NET. Why does VB.NET (2.0) ignore
the project-level setting for Option Strict?
I have the setting turned on in web.config:
<compilation debug="true" strict="true" explicit="true"
urlLinePragmas="true"/>
And also in the preferences:
Tools > Opt... more >>
.Net 2.0 load all .dll into cache when IIS starts
Posted by Charlie Hoo at 2/27/2007 12:29:58 AM
Hello,
Could you tell me how to load all needed .dll into cache before user hits
the website, rather than that IIS loads needed .dll when users hit the
wbsite page?
Thanks a lot.
... more >>
Displaying Response Stream in a Browser
Posted by MC at 2/27/2007 12:00:00 AM
Suppose I wish to do a programmatic POST. Is it possible to display
the response in a browser? I also want to keep the same session as
was made with the POST. All I can think of is to first save the
response stream to a file but I don't like that idea, partly because I
lose the session.
Th... more >>
Using Windows Authentication in ASP.NET - Adding properties to users
Posted by Matt Adamson at 2/27/2007 12:00:00 AM
Guys,
I'm unsure how to use windows authentication in an intranet application. I'd
like to user existing windows account to identify users however the issue I
have is how to then add settings to those users and map them to roles.
If I'd like to restrict the windows users which log on and wha... more >>
|