all groups > asp.net > december 2003 > threads for monday december 22
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
debugging help
Posted by Larry Tate at 12/22/2003 11:59:34 PM
Here is my scenario.
I have a production site that was hand coded .. ie. no VS.
I have a dev site .. this is a dev copy of the production site.
Language using .. Vb.net
Framework Version ... Latest 1.1
Server ... Win2000
I am getting some errors in the production site, but not all of the... more >>
Accessing form data
Posted by Peter at 12/22/2003 10:46:00 PM
I have 3 ASP.NET forms written in C#, I also have 3 frames (left, top =
and bottom) one for each form. My question is if I have data on one =
form in the bottom frame how do I access this data when I click on the =
button which is on the top frame?
I want to save the data from the bottom fram... more >>
ConnectionString Initialization
Posted by josephrthomas at 12/22/2003 10:21:33 PM
hi...i am getting a error here...saying :
**quote**
The ConnectionString property has not been initialized.
Description: An unhandled exception occurred during the
execution of the current web request. Please review the
stack trace for more information about the error and where
it originat... more >>
DataGrid sort
Posted by jib at 12/22/2003 9:53:09 PM
I have a DataGrid in which I want the first row item to stay put even when
sorting. Any ideas how I'd pull this off?
Thanks,
Jib
... more >>
VB.NET ASP.NET prob
Posted by jophrthomas at 12/22/2003 8:48:46 PM
hi...i am getting a error here...saying :
**quote**
The ConnectionString property has not been initialized.
Description: An unhandled exception occurred during the
execution of the current web request. Please review the
stack trace for more information about the error and where
it originat... more >>
VB.NET ASP.NET prob
Posted by jophrthomas at 12/22/2003 8:48:34 PM
hi...i am getting a error here...saying :
**quote**
The ConnectionString property has not been initialized.
Description: An unhandled exception occurred during the
execution of the current web request. Please review the
stack trace for more information about the error and where
it originat... more >>
editing multiple datalist items at once
Posted by Brian at 12/22/2003 8:44:04 PM
I'm trying to create an editing interface for a product database and
I'm still mostly in the planning stage.
The client wants an easy to update page with a table that essentially
has two columns:
Product Price
In the database these are stored in different tables and in practice
there is... more >>
Data in a Module
Posted by Lee Silver at 12/22/2003 7:20:49 PM
We are in the process of converting a VB-6 DLL with about 100 classes to .NET as
part of the process of transforming a VB-6 app into an ASP app. Data that is
used by more than one of the Classes (e.g. configuration) is stored in variables
in a Module in the DLL.
Question: When more than one... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Send data to another server
Posted by zPaul at 12/22/2003 6:39:04 PM
Maybe, I am asking to wrong group but, here is what I need to do. If you can
direct to right direction, I will appreciated it.
I will have a web site that the user will interact. Every once in a while, I
need to send those data that has been updated to another database server
which is not link... more >>
Old Age Problem: Refresh Button Causes Postback
Posted by tasmisr NO[at]SPAM hotmail.com at 12/22/2003 6:19:41 PM
This is an old problem,, but I never had it so bad like this before,,
the events are refiring when clicking the Browser refresh button.
In the Submit button in my webform, I capture the server side click
event and I update session information to track the visibilty of some
panels in a wizard typ... more >>
BC30205: End of statement expected.
Posted by JJY at 12/22/2003 5:56:58 PM
Hi.
Does anyone have a clue what is wrong here? It's complaining at the line
with "case 11".
select case session("errorCode")*1
case 11 errorMessage = "Please use Microsoft Internet Explorer 4.0 or
higher."
case 31 if len(session("failpoint")) <= 0 then session("failpoint") =
"Unk... more >>
string -> base64
Posted by Lukasz Lacki at 12/22/2003 5:43:05 PM
i want to convert string to base64 byte array. i've got problem with
it, class Convert is not very helpfull for me.
how make such converion in simplest way (input = string / output =
byte[] Base64)
...and.. some more
1) how convert string to byte[] ?
2) is there a possibility, to make a... more >>
ASP to ASP.Net (Datagrid Question)
Posted by DC at 12/22/2003 5:37:29 PM
Dear ASP.Net Experts,
In ASP, I can write something like this:
<table>
<tr>
<th align=left>ID</th>
<th align=left>Product Name</th>
<th align=left>Price</th>
</tr>
<%
....
sSQL = "SELECT productID, productName, price ..... "
... more >>
Newbie question
Posted by Richard at 12/22/2003 5:33:59 PM
Hi,
I am trying to learn asp.net through their own starterkit. But when I am
changing the pages I get an error message and that error message persists
even if I delete my changes.
The error message is
Compiler Error Message: BC30560 'Global' is ambiguous in the namespace
'ASPNET.StarterKi... more >>
Div tag
Posted by simon at 12/22/2003 5:26:30 PM
I have 2 div tags on the page.
When I click on the button I would like that first one becomes hidden and
the other one visible.
I have many datagrids and other objects inside the div tag. It works if I
use client script.
How can I reference the div tag via the code behind?
Or should I us... more >>
Drop down list indexing problem
Posted by anony at 12/22/2003 4:46:48 PM
Hi,
I'm populating a drop down list asp.net control with the following code:
cmdSqlCommand.CommandText = "SELECT SUBMITTEDBYID, FIRSTNAME + ' ' +
LASTNAME AS FIRSTLAST FROM xxx ORDER BY FIRSTNAME"
dtrSqlDataReader = cmdSqlCommand.ExecuteReader()
dropSubmittedBy.DataSource = dtrSqlDataRe... more >>
Change the position of the item in listBox
Posted by simon at 12/22/2003 3:43:53 PM
I have list box populated with the dataReader. Then I add one item and I
want that this item would be the first one in the listBox.
Now, It's the last. Can I change the position of the item in the listBox
from the last to the first?
lstMedia.DataSource() = funkcije.createDataReader(sql, True... more >>
Overload
Posted by MattB at 12/22/2003 3:25:14 PM
Hello. I'm pretty ignorant when it comes to asp.net but I'm working to
change that.
In another thread I was asking about using ReadXML to grab an ADO record set
I have in a string and make it usable. Eric offered a promising solution:
"The myDataSet.ReadXml method also has an overload th... more >>
Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
Posted by rrober07 at 12/22/2003 2:54:04 PM
Hello,
My Setup is I have a Web Server machine(Devweb01), Database SQL
Machine(Devsql01), a Client Machine(local machine) I have configured the
SQL machine as follows:
1) Added local Aspnet user account (with same password as aspnet user on IIS
(Devweb01))
2) edited local machine.config fil... more >>
Dynamically create controls ?
Posted by Steven Caliendo at 12/22/2003 2:44:39 PM
Hi,
What I would like to do is have a different number of controls on a web form
based on a users configuration. So, some users will need 5 textboxes, and
some will only need 1. I don't want to use the .visible property, and
design a form that always has the maximum # of textboxes on it. Is... more >>
asp.net & Image database type
Posted by Steven Caliendo at 12/22/2003 2:20:15 PM
Hi,
Can someone give me an example of a query that will update a database with
an Image type ? So, if I have a picture file on my web server, and I want
to add it to my SQL database in a field defined as Image, what query do I
use ? Insert into Picture values (?????)
Thanks,
Steve
... more >>
retrieveing entire user agent
Posted by Brian Henry at 12/22/2003 1:03:30 PM
How do i do this WITHOUT the use of javascript...
I need the entire user agent string, for example
"Mozilla/4.0 (compatible; MSIE 6.0; Win32)"
I need to have this in ASP.NET to be added directly to a database field
without the use of java script... how would i retrieve this whole string?
... more >>
Is there a spell check in ASP.NET?
Posted by TK at 12/22/2003 12:57:52 PM
It like to be able to check the spelling of words and
offer corrections if necessary.
Are there functions in ASP.NET that support this and if
not how could one go about adding this functionality to
ASP.NET pages.
Thanks,
TK... more >>
multiple page form
Posted by Bill at 12/22/2003 12:41:54 PM
Is there a way for a web form to submit to another web form and still use
the form elements like text box's etc..? It appears that the second page
would not know what form elements were on the first form. How should this
be handled? I know you can do it using the request object but I rather us... more >>
Anchor controls
Posted by Peter at 12/22/2003 12:08:32 PM
I have an ASP.NET form written in C#, on this form I have few controls =
and a DataGrid control, under the DataGrid control I have few more =
controls. The DataGrid defaults to display 10 items.
When there are less than 10 items in the DataGrid there is an empty =
space between the DataGrid a... more >>
Problems with Session's variables
Posted by l-touched at 12/22/2003 11:51:13 AM
Hello,
I am using authentication type = FORMS
I need to use Session Variables for passing data between ASPX pages, but I have the following problem:
If I call some page without doing athentification before, I will be redirected to Login.aspx, there in Login.aspx I assign (in Login.aspx.VB) ... more >>
XML TAG UPDATE
Posted by john88m NO[at]SPAM hotmail.com at 12/22/2003 11:50:35 AM
how do i update the content of a tag in xml?
Thanks in advance
... more >>
Newbie trying to bind to dataset
Posted by MattB at 12/22/2003 11:38:39 AM
Hello group. I'm new here and to .net (you guys probably never hear that,
right?). I have some development background, so I'm hoping to get up to
speed quickly.
I'm trying to write an ASP.net app using web forms and vb.net that queries a
c++ dll and displays the return nicely. My dll returns a... more >>
httphandelrs problem
Posted by ALO at 12/22/2003 11:34:45 AM
Hello,
I have a problem with httpHandlers.
I've created a simple handler (code attached)
I put the compiled DLL in the bin folder.
and I put the following in my web.config
<httpHandlers>
<add verb="*" path="*.test" type="SimpleHAndler.Handler,
SimpleHAndler"/>
</httpHandlers>... more >>
problem in session state cookies
Posted by raghavendra at 12/22/2003 11:32:45 AM
hi,
i have gone through this link
http://msdn.microsoft.com/library/default.asp?url=/workshop/security/privacy/customimportxml/thirdparty.asp..
i want to know, how to use this below code in ASP.NET.
<thirdParty noPolicyDefault="accept" noRuleDefault="accept"
alwaysAllowSession="yes"/>only, ... more >>
How to implement MS Agent
Posted by D. Daniels at 12/22/2003 11:16:17 AM
Just wondering if there is a way to use agent in the codebehind versus using it in the client-side script.... more >>
Cross-Site Scripting...
Posted by Scott M. at 12/22/2003 11:09:17 AM
How can I disable the cross-site scripting check for one particular page of
a site?
... more >>
Protecting Software from Piracy
Posted by Lucas at 12/22/2003 10:42:51 AM
Hi,
I have an ASP.Net application and I'd like to know about how to protect it
from Software Piracy. Are there some alternatives to do that?
Thanks a lot
LucasC
... more >>
Fix the width of a dropdown list?
Posted by Jeffrey at 12/22/2003 10:28:25 AM
Hi..
I want to set the width of a dropdown list to be less than the width of the
data displayed in the DDL..
Can this be done?
... more >>
Forcing "Not IsPostBack" code to run on postback if nessessary???
Posted by Earl Teigrob at 12/22/2003 10:27:27 AM
I have run into a situation where I need to run the !IsPostBack code under
one circumstance, even if it is a postback. Something that may complicate
matters more is that this is a double postback event.
I have a filemanager type application that allows me to dynamically create a
new folder on ... more >>
.NET Bug with BinaryWrite or just bad code?
Posted by Gregory Silvano at 12/22/2003 10:08:19 AM
I have reproduced this problem on several machines (all different
configs) and don't see anything wrong with the code. The code below
(or very similar) is from Microsoft (help files, newsgroup posts,
etc.) and available at several other resources on the Web.
If you click on the LinkButton onc... more >>
Internal Server Error 500 vb.net
Posted by Mike Ratliff at 12/22/2003 9:25:11 AM
When I try to create a new asp project, I get a 500 Internal Server Error
trying to connect to my local IIS server. I am running xp and vb.net 2003.
I added the msde database and I do not know if this caused the problem or
not. Any help before I uninstall and resinstall vb.net again. The iis
... more >>
Dynamic update between web forms
Posted by Dave D at 12/22/2003 9:16:10 AM
I am looking for a way to update one open web form with information submitted from another web form. Kind of lke a real-time remote control. Is this currently possible in .NET. ... more >>
Creating context
Posted by Seth at 12/22/2003 8:37:34 AM
I have been trying to create a mock httpcontext for the
purpose of unit testing. I have a class, Customer, that
uses cookies. I have set it up to be able to take a
httpcontext as a parameter in an overloaded constructor.
I have seen a few references to people that have created
mock http... more >>
ASP.NET prob...(using VB.NET)
Posted by josephrthomas at 12/22/2003 8:04:21 AM
hi...
can someone pls tell me how can i make a datalist or
datagrid connected to MSAccess where i can load info to
the datalist or the datagrid..
in the datalist or the datagrid, i need three extra cols
one for checkbox
and the other two for pictures....
the check boxes and the pictures are... more >>
Is this a ParseControl bug?
Posted by clsimeone NO[at]SPAM yahoo.com at 12/22/2003 7:17:10 AM
When I use ParseControl in a C# code behind to create a button...
Control c3 = ParseControl("<asp:button id='Button3' text='Btn3'
oncommand='OnButton' commandname='Btn' commandargument='b3'
runat='server' />");
The HTML that's rendered looks like this...
<input type="submit" name="Button3... more >>
Database Connectivity using DSN
Posted by Arun K at 12/22/2003 7:00:23 AM
Hi,
I need to connect to SQL server Database using a System DSN. Can anyone
tell me how to connect to SQL Server using DSN in ASP.NET (VB.Net).
Using a Try Catch block.
Does anyone know how to create a "filename.DSN" file. I know how to
create a system DSN, but my N/W admin has asked me to ... more >>
Database Connectivity using DSN
Posted by arun_elluru NO[at]SPAM yahoo.com at 12/22/2003 6:57:46 AM
Hi,
I need to connect to SQL server Database using a System DSN. Can
anyone tell me how to connect to SQL Server using DSN in ASP.NET
(VB.Net). Using a Try Catch block.
Does anyone know how to create a "filename.DSN" file. I know how to
create a system DSN, but my N/W admin has asked me to cr... more >>
VS.NET versioning issues
Posted by Philip Townsend at 12/22/2003 6:50:17 AM
I am experiencing some difficulties having upgraded to VS 2003. Here is
my problem: when compiling a web project from the new version, the
application no longer works and throws various exceptions (the app runs
on .NET 1.0). However, this can be corrected by compiling the same
project from anoth... more >>
Instantiating word in asp.net
Posted by NM at 12/22/2003 6:33:44 AM
Hi,
I am trying to instantiate word in my asp.net application
as follows:
Word.Application appWord = new Word.Application();
This line of code gives me an error Access is denied.
Could anyone pls tell me what needs to be done to resolve
this.
Thanks in advance,
NM... more >>
Select Item in DropDown in DataGrid?
Posted by localhost at 12/22/2003 5:16:25 AM
A DataGrid with shows a label in one of the columns when
in view mode. When in edit mode, I want to show a
dropdown, and have the default selection set to what the
textbox used to be. Right now the first item in the
dropdown is always displayed.
Template Code:
<asp:TemplateColumn Heade... more >>
DataGrid Add single row/column?
Posted by localhost at 12/22/2003 5:09:25 AM
When I go into Edit mode on a datagrid, I would like to
add a single column to the edited row and display a
hyperlink. If I use the code below, I get a delete
linkbutton in every row, when I only want it for the row
I am editing. It is fine to display the new column for
every row, but no... more >>
Attach HTML to Table
Posted by erez at 12/22/2003 5:00:19 AM
Hello
How can i attach an html file to TableRow in HtmlTable
control that run at server, the code should be in server
side.
thanks... more >>
Updating dataset in crystal reports
Posted by mich_stone NO[at]SPAM yahoo.com at 12/22/2003 3:54:01 AM
Thanks for your message
I tried again and again... but didn't work. Can u please detail the
exact steps to perform?
This is what I do. In field explorer, i right-click the dataset to
update. Then I click on SET LOCATION. When the list comes up, I
already have the same dataset as the "CURREN... more >>
asp.net to sql server 2000 access problems
Posted by andrew_fray NO[at]SPAM hotmail.com at 12/22/2003 3:11:19 AM
Hell-hohoho to all...
Just begun working with asp.net linking to sqlServer 2000, had some
problems with the (null) user, but previous posts have got me past
that by storing an identity in the web.config file. However, I want
to dyamically set the login info, from a prompted box. I'm aware of
... more >>
PopUpProblem
Posted by acko bogicevic at 12/22/2003 2:50:08 AM
Hi
I have the folowing situation.
On page First.aspx i have a hyperlink and text box. When i click link i
want to open a popup window (page: Second.aspx) with a calendar control
Cal1. When i click on a date on Cal1 i would like to close Second.aspx
and to write date in textbox in First.asp... more >>
Sample site
Posted by John at 12/22/2003 2:13:34 AM
Hi
Is there an asp.net sample site with access backend that I could use to
learn good asp.net development practices?
Thanks
Regards
... more >>
Err running the application in ASP.net - URGENT
Posted by Ramesh Babu at 12/22/2003 1:43:03 AM
hi All,
When I run my asp.net application, I am getting this
following error message.
"Error while trying to run project: Unable to start
debugging on the web server. Access is denied. Would you
like to disable future attempts to debug ASP.NET pages for
this project? "
I have seen t... more >>
ASP.NET not running
Posted by shahnaz yousuf at 12/22/2003 1:30:08 AM
Following is the sample code of my .aspx file
<%@ Page Language="C#" %><Script runat="server">
void Page_Load(Object sender, EventArgs EvArgs) {
Response.Write("Hello World");
}
</script>
THis file resides in wwwroot folder when i run the code by writing
http://localhost/Hello1.aspx I get t... more >>
Creating a downloadable file on the fly
Posted by Maziar Aflatoun at 12/22/2003 12:15:09 AM
Hi everyone,
I like to export some data from the database and allow my users to store
this file to their harddrive as a .txt file. Does anyone know how I would
go about doing that? (without creating the actual physical text file on my
local drive first).
Thank you
Maziar A.
... more >>
Learnvisualstudio.net web site
Posted by ornot2b at 12/22/2003 12:11:56 AM
Learnvisualstudio.net web site
Although the information on this site is very helpful and I have gained from
being a subscriber, I think that their support area is very poor. They
provide two means to contact them - nonemergency@learnvisualstudio.net and
emergency@learnvisualstudio.net > On Nov ... more >>
|