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 wednesday august 15

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

syntax problem with select command
Posted by Mich at 8/15/2007 10:17:15 PM
Hi, the table 'l0382_project1' exists in sql server. I can see it. Now in asp.net, i want to check whether it exists but i get "invalid column name": 1st attempt: comd.CommandText = "SELECT COUNT(*) FROM sys.tables WHERE [name] = [l0382_project1]" connection.Open() nr = comd.ExecuteSca...more >>

How to call C# dll from sql server 2000 dts?
Posted by ronc85 NO[at]SPAM gmail.com at 8/15/2007 6:35:46 PM
Using SQL Server 2000, Visual Studio 2005, .NET 2.0 and C#. >From a SQL Server 2000 DTS package is it possible to call a C# dll passing one parameter and having two parameters returned? Thanks, Sal ...more >>

Menu Control Not Working IN IE6
Posted by MikeB at 8/15/2007 6:27:49 PM
Help! I have menu control that works in IE7 and Firefox however doesn't work in IE6 Has anyone ran into this problem? Basically it will not render any of the childs and then when you mouse over the static menu items, they disappear. Below is my code: MySite.ProductCategor...more >>

variable lost between DetailsView1_DataBound and DetailsView1_ItemCreated
Posted by Mich at 8/15/2007 5:49:45 PM
Hi, I need the value of one field in the detailsview (in normal mode) in order to make a test when creating items. I get that value, put it into a friend variable, but when fetching it from the ItemCreated event, it's empty. Why does it lose its value and how to solve that? Thanks for he...more >>

Changing attributes inside a User Control
Posted by tshad at 8/15/2007 4:18:17 PM
I have a User control that has some asp:textboxes and asp:labels in it where I want to change the visibility and forecolor of these controls. Right now I am getting and setting the .net controls using properties: *************************************** Public Property FullName AS String G...more >>

How to Track User Login
Posted by Mel at 8/15/2007 2:54:28 PM
I am using "windows" authentication mode. I would like to store the username and various information when the user logs on to the website. Any ideas? It would be a bonus to store the logout time too but I hear that is difficult and unreliable but if anyone knows a way to do that too I am all...more >>

Please Help! Dynamic User Controls
Posted by NKaufman at 8/15/2007 2:35:37 PM
In my pageload I am adding multiple instances of same User control. They all have properties ID and ParentID. Now I also have a button in each User control and am bubbling the event back to main form. No problem so far. Now in the event handler method, I get the ID of the user control that ...more >>

Free Air Conditioners!!!!!
Posted by Lepi Duja at 8/15/2007 2:28:46 PM
Air conditioning http://airconditionerslinks.blogspot.com/ ...more >>



dynamic controls
Posted by Kevin Mat at 8/15/2007 1:36:28 PM
hi, In my aspx page I do have some dynamic aspx controls. I am using document.getElementById('pageID_Ctl1_text1') in the javascript to copy some values from these controls. It is working in the first time, and these controls id values are changing after the page reloaded. I am getting the ...more >>

form based authetication not work after copying them to rebuilt se
Posted by david at 8/15/2007 12:40:02 PM
Database and OS are same for both machines: SQL Server 2000 and Windows 2000 server. It worked very well for old machine. But I have copied them to the new machine and config IIS's Directory Security to Anonymous, and Inheririance overides. I got the eorror message from local browser: ...more >>

Page can't find JavaScript function
Posted by AlBruAn at 8/15/2007 11:28:00 AM
I can't for the life of me figure out why my aspx can't find a JS function that's in the same file. For instance, immediately after the info describing the page and the registration of some assemblies, I have a function called populateEntityDropdown used to populate a non-ASP combobox written...more >>

Not sure how to entitle this?
Posted by Ross Culver at 8/15/2007 11:09:02 AM
I have a site where most of the time users never leave the default page. Using an iframe, most pages are loaded into the iframe when users click buttons via codebehind code. After optimizing the site (unless I set the robot.txt to indicate otherwise), the search engines are going to create ...more >>

FormView change data before hitting database?
Posted by Yin99 at 8/15/2007 10:59:14 AM
I have the code below and get the error "cannot change read only object insied a foreach loop" I am hoping someone could graciously provide code example of how I could do this? Thanks! - Yin foreach (DictionaryEntry entry in e.Values) { if (String.Compare(en...more >>

Caching question
Posted by DanG at 8/15/2007 10:48:26 AM
..NET Framework 1.1. Are Page.Cache, Page.Context.Cache and Context.Cache all the same? I don't see enough In the MSDN to clarify it for me. The 1.1 Page class has a Cache property, but no Context property (as it does in 2.0). My search for a 1.1 Context class keeps refering to the 2.0 Pag...more >>

Master pages
Posted by Arne at 8/15/2007 9:52:03 AM
How do I pass user defined data between a content page and a master page? My content page needs to change the menu options in my masterpage. -- Arne Garvander Certified Geek Professional Data Dude...more >>

Doubt BoundField
Posted by Paulo at 8/15/2007 9:48:42 AM
Why when I put on DataFormatString: {0:dd/MM/yyyy} on a boundfield at the gridview it lists: 24/01/1981 00:00:00 and I want just Date... Can you help me ? C# 2.0 VS 2005 asp.net ...more >>

transfering ASPNETDB.MDF Authentiocation to SQLServer
Posted by GaryDean at 8/15/2007 9:14:37 AM
I have a 2.0 Website application in the dev environment that uses a SQL Server 2005 DB and also uses the authentication controls and classes that automatically use SQLServer Express. It all works fine in the dev environment. Now I want to deploy but I want to transfer what's in the ASPNETD...more >>

<center> and Style Position:Absolute with changing window Size?
Posted by jobs at 8/15/2007 8:36:28 AM
I have a simple login page with roughly a 300px x 300px image behind the asp.net login control. I need the login control to land in the middle of the image. I want both the image and the login controlrol to always be in the center of the page. How can I do this? I use position:absolute to ge...more >>

Accessing dropdownlists in a datalist control
Posted by Mike D at 8/15/2007 7:06:07 AM
I am trying to develop a tape management application which tracks backup tapes for 3 servers. I need to be able to add new tapes and retire old/bad tapes. I also need to track the location of the tapes between three locations, the 'In Service Date' of each tape, and number of times each tape...more >>

Modify Paypal Fields Using Database Selected Item
Posted by at 8/15/2007 6:15:44 AM
Is it possible to change the paypal cart items below: item_name, item_number and amount values in the paypal form to match the item_name, item_number and amount from the selected record of the database paypal.mdb. If you can help me write the code, I would be greatful. The code: ...more >>

controlling databound ASP
Posted by Ben. at 8/15/2007 5:46:19 AM
Hi, I'm more of a windows programmer than ASP and I've having a little difficulty in ASP.Net (framework 2.0) - VB.net I have a datagrid on an aspx page and the html is building the display in a table row by row. A sample row being <tr> <td>Comment:</td> <td><%# Databinder.Eval(Conta...more >>

Need for NewDataSet when processing data from web service
Posted by fergallydon NO[at]SPAM hotmail.com at 8/15/2007 2:06:19 AM
I'm retrieving some data from a webservice as follows Dim RestXML As New Data.DataSet Dim returnedXML As System.Xml.XmlDataDocument RestXML.ReadXml(functionURL) returnedXML = New XmlDataDocument(RestXML) The return is something like this.. <?xml versio...more >>

Response.WriteFile() Doesn't Trigger Download Managers
Posted by Khafancoder at 8/15/2007 2:05:55 AM
Hi guys, i am building a FileSharing website, i wanna allow users to be able using download managers such as DAP to download files from webserver but don't allow them to retrive files url... so i used Response.WriteFile but it won't trigger any download manager such as DAP or FlashGet i u...more >>

any way to change a control inside a grid?
Posted by yoni NO[at]SPAM nobhillsoft.com at 8/15/2007 12:00:00 AM
Hi, i got a grid on an asp.net (2.0) page . i want, in a certain field, for certain rows to show a combobox, but in other cases show a checkbox (basically, if i got 1 record or less to show in the combo, i want just a checkbox) anybody has any idea how it can be done? (best if anybody knows som...more >>


DevelopmentNow Blog