Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008


all groups > asp.net > august 2007 > threads for monday august 20

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

DataReader with Datatable Vs Dataset
Posted by ary at 8/20/2007 11:42:16 PM
I use a dataread to read data with high performance From database , but I have some question about this . I use datatable to insert datareader item into DataTable , Is this Consistently Better that a data reader or not? Dim ArticleTable As New Data.DataTable ArticleTable...more >>

'System.Data.DataRowView' does not contain a property with the name 'ID'.
Posted by Monty at 8/20/2007 11:18:40 PM
[ASP.Net 2005] Hi, I have a grid like so: <asp:GridView ID="grdItemActivity" runat="server" ><Columns> <asp:BoundField DataField="TransactionType" HeaderText="Type" ReadOnly="True" /> <asp:BoundField DataField="DocumentNumber" HeaderText="Doc. No." ReadOnly="True" /> <asp:BoundField...more >>

Exporting a template into Visual Web Developer Express?
Posted by Alex Chernavsky at 8/20/2007 10:43:42 PM
I have a question about using a pre-designed template in Visual Web Developer 2005 Express. I am collaborating with someone who has essentially worked-out the database portion of a web project, but his "user interface" (i.e., the actual site as viewed by visitors) is crude. He wants to make ...more >>

'System.Web.Administration.WebAdminRemotingManager'
Posted by Ross Culver at 8/20/2007 8:56:38 PM
'System.Web.Administration.WebAdminRemotingManager' in Assembly 'App_Code.1hpl8upp Everytime I click the ASP Configuration button with VS2K5 this ERROR-RIDDEN file is created in the C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\asp.netwebadminfiles\9d4caaa4\c2ae737...more >>

question about conversion
Posted by David at 8/20/2007 7:41:20 PM
Hi, We use an english version windows server. The regional setings are set to French (France). Asp.Net renders and interprets the date correctly (dd/mm/yyyy). So does Sql Server (date is saved in dd/mm/yyy format in datetime field). When inputting a date into a textbox (dd/mm/yyyy) which m...more >>

Retrieving Stylesheet information from a CSS file
Posted by Nathan Sokalski at 8/20/2007 7:40:09 PM
I have an ASPX file in which there are properties that depend on the CSS properties in a *.css file specified in a link tag, such as: <link href="mystyles.css" rel="stylesheet" type="text/css"/> Is there a way to get the classes/properties from this file for use in the codebehind? In my sp...more >>

Generating projects roadmap on the fly in asp.net 2.0?
Posted by at 8/20/2007 6:55:53 PM
Hello, First, please take a look at the following screen shot: http://farm2.static.flickr.com/1226/1185331048_5d0b41e7f8_o.png We are working on a web-based project management system for our client. They would like to have the system generate such a project roadmap on the fly, by grabbin...more >>

fire a VBS from ASP.NET
Posted by mike at 8/20/2007 6:42:27 PM
I have a VBS (old fashioned VBS that is) that installs a network printer via WMI on any PC. I can pass in the PC's name via a command line argument. The question is, how can I execute this VBS from a web page. Passing in the user's PC name is the easy part (I think). Ulitmately, I need to m...more >>



Inline Calculations for Databinding
Posted by Nathan Sokalski at 8/20/2007 6:23:09 PM
I have two fields in the Datatable that I am using as my DataSource that I need to multiply together before displaying them. Here is the databinding expressions from my ASPX file to display the fields separately: '<%# Databinder.Eval(Container.DataItem,"price","{0:C}") %>' '<%# Databinder.Ev...more >>

question about variable in session, viewstate ..
Posted by Britt at 8/20/2007 6:15:42 PM
Hi, when uing session("myvar"), or viewstate("myvar") or cache("myvar), are the values always strings? I mean: dim dt as date viewstate("test")=dt ..... dt=vieswtate("test") Does here occur a conversion first from date to string, then from string to date or the value remains always ...more >>

NullReferenceExcepton in Ajax/Atlas UpdatePanel
Posted by Tobias_Schröer at 8/20/2007 5:55:31 PM
Hi, I have a web site with an UpdatePanel, a Label within that panel and a Button outside the panel. All controls are created programatically (see code below). When I click the button to update the label's text, I get a NullReferenceException in the page's Render method. My own code runs ...more >>

Auto submit when pressing enter
Posted by mazdotnet at 8/20/2007 5:49:58 PM
Hi, We have a internal site using Master Pages that has a header (web user control) on top of every page with a search feature. This search is basically a textbox and a search button beside it which works when you click on the submit button. Is it possible to change it so that it's automatica...more >>

Converting VS 2005 Web Site Project to VS 2005 Web Application Project
Posted by ITistic at 8/20/2007 5:23:33 PM
I've recently attempted converting a small VS 2005 ASP.NET Web Site Project to a Web Application Project using Scott's blog post: http://webproject.scottgu.com/CSharp/Migration2/Migration2.aspx This seems to be the best documentation available currently. After following all of the steps I've...more >>

Issue with double quotes in xml used in a ASP.Net page
Posted by msdnuser at 8/20/2007 4:56:01 PM
Hi All, A piece of XML is stored in sql server; retrieved; different UI fields are filled with appropriate data by fetching data from xml which is stored in sql. Usually the UI fields after modification are processed; stored in xmldocument variable; eventually stored in db. Now one of t...more >>

Knowledgebase / Knowledge management system
Posted by Paul Aspinall at 8/20/2007 3:49:36 PM
Hi Does anyone know of a Knowledgebase / Knowledge management system or component which may be available, similar to the one of the MS site (ie. like msdn.microsoft) Thanks ...more >>

[Newbie Question] Enumerating the values in a OleDb parameter collection?
Posted by DC at 8/20/2007 3:04:28 PM
Is there an easy way of Response writing the value contained within each item in an OleDb parameter collection? Using a For each loop for example? Thanks in advance,...more >>

No VB6
Posted by Fresno Bob at 8/20/2007 2:52:44 PM
We have a VB6 DLL unfortunately we no longer have VB6. I need to make a line of code change to it. Is there anywhere I can compile the source code online while I look around for a copy? - I am totally unfamiliar with VB6 so I don't know if what I am talking about is possible. I don't mind payi...more >>

unbound controls in GridView
Posted by yoni NO[at]SPAM nobhillsoft.com at 8/20/2007 2:34:09 PM
Hi, I got a grid control, i bind it to a datatable, but it has some extra fields, with textboxes, checkboxes, dropdowns etc (in a template field) that are not bound. they are not auto-postback either. user changes values in them, then clicks submit. anybody knows how i can get the values in tho...more >>

AssemblyInfo.vb
Posted by magic kat at 8/20/2007 12:49:54 PM
In a windows application, you have an assembly info with, for example, the following information. How would you set these parameters in a web application? Imports System.Reflection Imports System.Runtime.InteropServices ' General Information about an assembly is controlled through the fo...more >>

Remembering values between postbacks
Posted by Nathan Sokalski at 8/20/2007 12:49:25 PM
I have 2 private variables in my class that I need to remember the values of between postbacks (or actually callbacks, since I am using AJAX). I want to avoid using session variables, if possible. Is there any other way to have VB.NET maintain the values of these variables between postbacks & ...more >>

Error changing panel properties when it contains a TreeView or Menu
Posted by gilak at 8/20/2007 12:32:04 PM
In VS2005, when changing the propery of any panels containing a TreeView or Menu I get the following error: Error parsing control: Object reference not set to an instance of an objec .. Does anyone aware of a workaround to this problem? ...more >>

Treeview - open node in new window
Posted by Mel at 8/20/2007 12:28:42 PM
I have a treeview control that contains a bunch of pdf filenames. It would like the files to open in a new window. Can anyone assist me in doing that? The code I currently have is below: Protected Sub tvDocs_SelectedNodeChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles tv...more >>

Request.querystring problem
Posted by JJ297 at 8/20/2007 12:14:46 PM
I have a generated email going to another person after they submit a question. When you click on the email sent to the user it's not getting the question ID. What am I doing wrong? Here's the code behind page: Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventAr...more >>

what's wrong with this corde ?
Posted by John at 8/20/2007 12:01:10 PM
Microsoft VBScript compilation error '800a0401' Expected end of statement /new.asp, line 43 fp_sQry="Select * From tblMatches Where( tblMatches.Date >= DateAdd("m",-1,Date())) Order by tblMatches.Date DESC" ---------------------------------------------------------------------^ thanks ...more >>

Event not firing
Posted by Doogie at 8/20/2007 11:31:39 AM
Hi, I'm sure it's just something I'm not seeing but for some reason, an event I have set up to be called when a combo box has been switched to a new value is not being fired for some reason and I can't figure out why. Below is my HTML. <%@ Page Language="C#" AutoEventWireup="true" CodeFile=...more >>

web service reference
Posted by Mike at 8/20/2007 11:05:16 AM
I have a web app that is referencing several web services. When I make a = change to a web service (add, modify a method), I have to 'Add Web = Reference' for the changes to take affect. If I do 'Update web = reference' the web app does not see the web service changes. The web services are on ...more >>

css & ajax
Posted by magic kat at 8/20/2007 11:01:56 AM
I get a lot of errors in my css files when I build a web project that uses ajax controls. They seem to work fine, but it's a pain when I am debugging and it always displays these errors. "Lemonchiffon" seems to be a common error; FILTER is not a known CSS property name, and more. How can I ...more >>

How to dynamically add control to datagrid item template
Posted by Chris Fink at 8/20/2007 10:36:05 AM
I am trying to dynamically add a control within an itemtemplate container in a gridview and need some assistance. For example, my goal is to evaluate a column's value in a datagrid row and depending on it's value dynamically add a few hyperlink controls to within the template field. ...more >>

Putting things at the bottom of a list.
Posted by Mufasa at 8/20/2007 10:23:00 AM
I have a drop down list with a bunch of items from a datatable. I want to have it so that there are a couple of items that will always appear at the bottom. I know how to get it at the top ( leading spaces ) can anybody make any suggestions on how to have it at the bottom. I could add a sort f...more >>

ConfigurationPropertyAttribute.IsRequired Property
Posted by Chuck P at 8/20/2007 10:20:02 AM
I was creating a Custom Configuration section in my web.config. I noticed that if I set a property like: [ConfigurationProperty("EmailAuthorizationFailures", IsRequired = true)] <MySection EmailAuthorizationFailures="true" /> and I neglected to put the entire MySection in t...more >>

Building webpages
Posted by magic kat at 8/20/2007 10:05:26 AM
I am working on a web based asp.net 2.0 project that began as an application in Visual Studio 2005. The web site appears to work okay, but when we attempt to build it, we get all sorts of errors. The answer I get from the developer is "don't build it". I am not so sure this is a good idea, ...more >>

Windows and Forms Authentication
Posted by Velvet at 8/20/2007 9:52:35 AM
I am looking for a tutorial or code samples to create a cross between Windows and Forms authentication. What we would like to do is utilize the Windows authentication for loggin into an application, but be able to set the user roles and permissions to various processes of the application in a...more >>

Setting Text of a button
Posted by NEMA at 8/20/2007 9:28:03 AM
Hello everyone, i have a problem while setting the button text recently for my case, i would like to set the text of the button on the aspx page, i have write the code like below <asp:button id="btn_submit" text='<%# GetText("abc.xml","btn_text") %>' > where the GetText is a function w...more >>

ASPNET account for windows 2000 server
Posted by david at 8/20/2007 7:40:02 AM
I am trying to setup ASPNET account for .NET application to access database (SQL Server 2000) by aspnet_regiis -i in the directory C:\WINNT\Microsoft.NET\Framework\v1.1.4322 After running it, I got a successful installed information. But I can not find this account in Active Directory. T...more >>

Enable session state
Posted by Aleks Kleyn at 8/20/2007 7:40:01 AM
I test asp.net 2.0 application on virtual PC for studio Orcas 2.0. When I start application I get error in line session("aa")="bb" Error tells that I need to enable session state. I found in @page directive option enableSessionState which has values false, readonly and true. I put this val...more >>

Visual Studio 2003 ASP.NET Re-writing
Posted by Richard Bailey at 8/20/2007 7:39:44 AM
Howdy. I've got a simple problem that has been driving me bananas. Most of our website is still written in ASP.NET 1.1. While working on some web apps visual studio will take some tags like : <form id=Form1 method=post encType="multipart/form-data" runat="server"> And re-write them to be ...more >>

Error message - Name bind not declared
Posted by JJ297 at 8/20/2007 7:26:42 AM
This is the error message I'm getting when trying to bring back the data to show whether a check box is listed or not this is what I have so far: <EditItemTemplate><asp:RadioButton ID="RadioYes" GroupName="FAQs" runat="server" Text="Yes" Checked='<%# testfaq(Bind("displayedques")) %>' /> ...more >>

Error: URI formats are not supported.
Posted by Mel at 8/20/2007 6:13:36 AM
I am getting this error when I try to declare an object as an Excel workbook. Can anyone tell me how to fix it? I have placed the Excel file on the server in the "spreadsheets" directory. Public Shared wkbExcel As SpreadsheetGear.IWorkbook =SpreadsheetGear.Factory.GetWorkbook("http:\\myport....more >>

Quotes: The server tag is not well formed.
Posted by Alhambra Eidos Kiquenet at 8/20/2007 4:32:01 AM
Hi mister, In my itemtemplate: <tr id="filaListado" runat="server" name='<%# "filaListado" + Eval("idtareasworkflow") %>' class='<%# Container.ItemIndex % 2 == 0 ? "ItemStyle" : "AlternatingItemStyle" %>' onclick='<%# String.Format("SeleccionarFilaListado(this,{0},'{1}');", ...more >>

Select Row by javascript in Datalist
Posted by Alhambra Eidos Kiquenet at 8/20/2007 2:22:02 AM
Hi misters, I have Datalist like this: .... <HeaderTemplate> <table cellpadding="0" cellspacing="0" id="tbl"><tbody> </HeaderTemplate> <ItemTemplate> <tr id="<%# "filaListado" + Eval("idtareasworkflow") %>" onclick="SelectRow('<%# Eval("idtareasworkflow") %>', <%# "'" + Eval("Offset"...more >>

Eval in ItemTemplate
Posted by Alhambra Eidos Kiquenet at 8/20/2007 12:18:02 AM
Hi, misters, I'll try put an attribute runat="server" to TR in ItemTemplate of DAtalist: .... <ItemTemplate> <tr id="filaListado<%# Eval("idtareasworkflow") %>" onclick="SeleccionarFilaLis('<%# Eval("idtareasworkflow") %>', '<%# Eval("Offset") %>');" ... but I get error "The server ...more >>

How to add activeX cntrol to the web page
Posted by Supriya at 8/20/2007 12:00:00 AM
Hi All, How to add ActiveX Control to the web page. I added Object tag in the source html. Only ActiveX control is coming on the design. If I want to access the properties and manipulate them , I tried to create one Object ActiveXObject("Namespace.ClassName").But it is giving error that S...more >>

Deploying .net 1.1 on Windows Vista
Posted by Jason Huang at 8/20/2007 12:00:00 AM
Hi, Our application is coding using the C#.Net 1.1, I am wondering how to deploy our C#.Net 1.1 application on the Windows Vista OS. Thanks for help. Jason ...more >>

GridView event firing twice
Posted by Froefel at 8/20/2007 12:00:00 AM
A common question, but I haven't found an answer on the net yet, so maybe someone from the group can give me some pointers. I have a webform with a gridview control that has a ButtonField column (button is an icon). When the icon is clicked, the OnRowCommand is fired with CommandName "DeletePr...more >>

HELP !!! DIGITAL SIGNATURE CAPICOM
Posted by Jesus Suarez at 8/20/2007 12:00:00 AM
Hello i need one example digital signature with component CAPICOM. Thanks? ...more >>

ASPNet HyperLink NavigateUrl foreign language characters question
Posted by Jason Huang at 8/20/2007 12:00:00 AM
Hi, My ASPNet HyperLink NavigateUrl is like http://192.168.0.1/OtherFolder/§ÚªºÀÉ®×§¨/myfile, the OtherFolder is another folder rather than the ASPNet application's default folder in the IIS. However, since there're some none English characters in the NavigateUrl, the characters after the O...more >>


DevelopmentNow Blog