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 > february 2005 > threads for friday february 4

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

DataTable question
Posted by Maziar Aflatoun at 2/4/2005 11:28:58 PM
Hi, I have two datatables, DataTable1 dtCurProducts.Columns.Add(new DataColumn("Id", Type.GetType("System.String"))); dtCurProducts.Columns.Add(new DataColumn("ProductId", Type.GetType("System.String"))); dtCurProducts.Columns.Add(new DataColumn("Quantity", Type.GetType("System.String...more >>

Help using IP2Geo Web Service
Posted by JT at 2/4/2005 10:23:57 PM
I am doing a project for school and I have to use a public web service from http://www.xmethods.com. I think I could really use the IP2Geo service. I have my page setup and the web reference to the site. I just don't know how to get it to actually use the service. I need some help w/ the c...more >>

database in .Net which lists all countries, cities
Posted by bhavik at 2/4/2005 9:59:02 PM
Is there a database in .Net which lists all countries, cities, addresses, etc. (first browse and select from avavilable countries, then once specified, all available cities in this country can be browsed (dropdown) and finally the roads. if it is have. let me know that methods name. Reg...more >>

Secure System Design Question
Posted by john_20_28_2000 NO[at]SPAM yahoo.com at 2/4/2005 8:35:20 PM
Hi, I have little experience developing secure systems outside of Intranets with integrated Windows authentication and where I was tha admin. granting, denying access. I want to do this on the Internet, where I have no control over the box, based upon a login. Don't want any other users getti...more >>

Advice Needed Store Images in Database or Drive?
Posted by john_20_28_2000 NO[at]SPAM yahoo.com at 2/4/2005 8:29:06 PM
Using asp.net, c#, mysql or SQL Server. I have a image uploading and wanted it to be "secure." Each user has their own section to login and upload images. Should I store the images in a database or on the drive as files? Not sure how to make it secure any other way but put in the database, b...more >>

Non Standard Authentication Scenario
Posted by Smithers at 2/4/2005 8:27:08 PM
Will Forms Authentication work for me, or do I have to "roll my own" security model on this one. What I have is an aspx page that will display information based on a querystring value. Some of the information can be viewed by everyone, but other information may be viewed by only specified u...more >>

Question
Posted by Manny Chohan at 2/4/2005 7:47:02 PM
Hi Guys, Got a quick question to ask. I am opening a new window when clicking on a button. When the form is submitted on teh Child window, i want it to close and reload the parent page. Can this be done? i have tried using javascript however got the close part but i am not able to reload the p...more >>

difference between asp and asp.net
Posted by ScooterMX at 2/4/2005 7:20:46 PM
Short version, what are the differences? Can I write regular asp and have it work on .net ? ...more >>



How to Download Remote SQL Server Database to Desktop for Development (Desktop Has MSDE & Visual Studio .Net)
Posted by TC at 2/4/2005 7:19:53 PM
Hello All, I apology for posting to many groups but I wasn't sure which group would be best targeted with my question. I have inherited an ASP.Net application that requires some maintenance & bug fixes. I have been asked to also download a copy of the remote SQL Server database that it ...more >>

Why do NameValuecollections Disapear from the cache?
Posted by Alex at 2/4/2005 6:53:53 PM
Hi I am opening an xml file into a dataset and then converting it to a namevaluecollection and then saving the collection in the cache for use later. The cache dependency is set to the xml file however the collection is cleared after about a minute even though it is not removed from the cach...more >>

Where is the binary of Framework 2.0 projects?
Posted by Benton at 2/4/2005 6:48:43 PM
Hi there, Maybe a dumb question but I am playing with VWD 2005 Beta 1 (using the integrated web server) and wonder where is the binary file of the compiled project. I can't find it on the project's source directory as there is no 'bin' folder in there. Where can I find it? I need to move it...more >>

Best Practice for login systen with asp.net
Posted by Erich at 2/4/2005 5:39:01 PM
Hello I'm just wondering wich might be the best practice for realizing a login system. At the moment im having a object of self written type 'user' wich carrys user data like name, email and a bool for 'loggedin'. I pass this object via session. This brings me to the point where if ha...more >>

Parsing a DataReader
Posted by Zac Maclean at 2/4/2005 5:23:28 PM
I need to loop through a DataReader. The data it contains is in the following format (presented here as CSV, To and From fields are dates): Widget 1, Property 1, To, From Widget 1, Property 2, To, From Widget 1, Property 3, To, From Widget 1, Property 4, To, From Widget 1, Proper...more >>

<appSettings> in another file (not web.config)
Posted by Jeff Robichaud at 2/4/2005 5:16:44 PM
Hello, Since it is possible to put application settings in a file other than web.config, I was wondering what is the best practice in doing so vs. putting these settings directly in web.config. My point is that when I deploy an application, I want to overwrite web.config all the time, becau...more >>

error on hotmai....... help........
Posted by space turtle at 2/4/2005 5:12:49 PM
this is the error i get... when i got to www.hotmail.com Server Error in '/' Application. ------------------------------------------------------------------------ -------- Runtime Error Description: An application error occurred on the server. The current custom error settings for thi...more >>

Deploying an ASP.NET Web Application
Posted by Carl at 2/4/2005 4:26:50 PM
Help!! What are the best concepts / startegies to deploy an ASP.NET web application? My idea is work first in Production PC then after completing the project deploy it on the Web Server. But what about the database - do i need to reconnect the database and the components-register again the co...more >>

popup calendar in datalist
Posted by Enric Choo via DotNetMonster.com at 2/4/2005 4:06:29 PM
i have read all the article and sample code about creating popup calendar in datagrid, but how about in datalist?do anyone know where can i find the complete code for creating popup calendar in datalist? -- Message posted via http://www.dotnetmonster.com...more >>

Checking Bind Value in ASPX
Posted by Emre Guldogan at 2/4/2005 4:04:15 PM
Hello, In C#, We can read data fields from DB with <%# DataBinder.Eval(Container.DateItem,"field_name") %> but, How can I check a value from DB with a <%# .. %> segment such as <%# If( <condition> , <true_part> , <false_part>) %> ? thanks... ...more >>

Publishing WebForms to Production System
Posted by A P at 2/4/2005 3:47:16 PM
Hi! I'm using ASP.Net Web Matrix on my PC and wanting to publish the files to our server. I try to copy (thru explorer) the files but it didn't work! I receive Runtime Error: Server Error in '/' Application. ---------------------------------------------------------------------------- ---...more >>

Failed to load viewstate
Posted by David at 2/4/2005 3:44:15 PM
I am working on project which is written by my former collegue I got the following exception: "Failed to load viewstate. The control tree into which viewstate is being loaded much matech the control tree that was used to save during the previous request. For example , when adding controls dy...more >>

Replacing page content w/ a dynamically created pdf at https
Posted by Ryan Taylor at 2/4/2005 2:42:51 PM
Hi. I have some code that dynamically generates a PDF and spits this content directly to the web browser. I use HTMLDoc to create the Pdf's from html. So the user can click on a button "Print PDF" and the current page magically becomes a PDF file. This worked great until we moved the site to h...more >>

IExplorer cookies stubbornness.
Posted by craigkenisston NO[at]SPAM hotmail.com at 2/4/2005 2:33:43 PM
IExplorer cookies stubbornness. Hi, I'm testing how my asp.net application reacts with a browser that does not accept cookies. Tested it with Opera and Mozilla with cookies off, I can clearly see how I get a new sessionID on each hit. However, with IExplorer, after setting "high" to securi...more >>

Uninstall/Reinstall??
Posted by Sandy at 2/4/2005 1:57:01 PM
I have a trial version of VS.Net that is expiring. I have another trial version. Should I uninstall the first one before installing the second or can I just install the second one over the top of the first? -- Sandy...more >>

Viewstate Problem URGENT!!!!!
Posted by Xavi at 2/4/2005 1:47:23 PM
Hi Guys, I am getting this error on our application. "The viewstate is invalid for this page and might be corrupted." I have spent about 2 days now goin thru the user groups and couldnt find the solution to this problem. Most of the postings ask if u r on a web farm or using Server.Transfer. ...more >>

Incorrect Function, Parser Errors
Posted by murphy NO[at]SPAM murphysw.com at 2/4/2005 1:45:23 PM
Hi, I've been seeing two symptoms with my asp.net site that have started recently after a long period of smooth running. As others on our team make changes to referenced dll's I find that I get the following errors from time to time. Apparently the following procedure alleviates the proble...more >>

Need Help Impersonating Across Process Boundaries
Posted by hoochiegooch NO[at]SPAM hotmail.com at 2/4/2005 1:29:53 PM
Hi, all. I'm have some difficulty on Win2K3 trying to spawn a devenv.exe process from my ASP.NET app. I've set up an intranet website to allow engineers to launch builds of our product remotely. I understand that I need to invoke Win32 with CreateProcessWithLogonW(), which I have. I'm u...more >>

panels and page control...
Posted by Paul Mason at 2/4/2005 12:11:07 PM
Hi folks, Just wondering if anyone has any idea if/when W3C likelly to include functionality for page control (panels, tab controls etc) or whether there are any tools that allow the reproduction of this functionality that is 100% XHTML compliant. I am in the process of asking W3C as wel...more >>

Server Error in '/' Application.
Posted by A P at 2/4/2005 12:01:06 PM
Whats wrong with my code? <%@ Page Language="VB" %> <script runat="server"> ' Insert page code here ' Function GetDetails() As System.Data.DataSet Dim connectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0; Ole DB Services=-4; Data Source=C:\DBs\"& ...more >>

Impersonation issues
Posted by Tom Wells at 2/4/2005 11:43:08 AM
My server admin and I are trying to figure out how to get impersonation working to be able to upload a file from the client browser thru the web server to a network file server. My network ID for testing is twells. Our domain for testing is dev.com. If I don't have impersonation set in web.co...more >>

unable to update field with more than 126 characters
Posted by Shawn at 2/4/2005 11:36:31 AM
Hi. I have a stored procedure in my Sybase 11.9, but I get an error when I try to update a row. This happends when I have more than 126 chars in one of my parameters. The parameter is declared varchar(254) and so is the field that I'm trying to update. This is the error I'm getting: [Nativ...more >>

Response.Redirect() and absolute URL links and User Control questi
Posted by Andre Ranieri at 2/4/2005 11:21:02 AM
I have a quick question - I'd just like to have confirmation to be sure. I'm building an ASP.NET corporate site for my employer, some of the pages have e-commerce capability and will need to be SSL-encrypted. Thus, I assume I'll need to use absolute links to specifiy the https protocol (corr...more >>

Need a dynamic Ad rotator.
Posted by Bredahl jensen at 2/4/2005 11:05:13 AM
Hello, Where can i find a dynamic content rotator. The asp.net server control only show the next content when page has refreshed. But this is boring to me. I'm not the javascript /dhtml expert and i 'm wondering if there is any available code for this somewhere. Alternatively , is there a c...more >>

User Control - takes HTML as parapeter
Posted by 00_CuMPe3WaR3D12 at 2/4/2005 10:55:09 AM
How do I write a user control that takes HTML and then renders it? Is it possible? I want to do something like this.. <Name:Box id="mybox" runat="server"> <table> .... any html can inserted in here.... </table> </Name:Box> ...more >>

Creating controls dynamically based on a dynamic control
Posted by Matt at 2/4/2005 10:53:01 AM
Hi, Can someone provide some information on how to create a control dynamically based on the contents of another dynamic control. In my experience, all dynamic controls must be created in the Initialize stage of an ASP.Net page life cycle. Because viewstate is not available in the ini...more >>

Date Format
Posted by Jason MacKenzie at 2/4/2005 10:43:51 AM
I have a question regarding date formatting. I have a page that shows the date incorrectly locally but correctly on the server yet the regional settings appear to be the same. I have a calendar control on the page that when clicked populates a text box with 04/02/2005. Yet I have a html b...more >>

vaidation and non-server controls
Posted by Random at 2/4/2005 10:16:59 AM
Is there a simple way to get a RequiredFieldValidator to work with a non-server control? I have a hidden field that I cannot make into a server control because I have to change it's value with client side javascript. But I do want to make sure I validate there is a value before the form is...more >>

isn't vb.net supposed to be case insensitive?
Posted by Jan Nielsen at 2/4/2005 10:02:56 AM
Hi all I am learning Asp.Net using Vb.net (VS 2002). I found the following example in a book: Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim count As Integer If Not Me.ViewState("Count") Is Nothing Then count = CInt(Me.ViewSt...more >>

Simple Question
Posted by Irfan Akram at 2/4/2005 9:47:05 AM
Hi Guys, Just wondering how we can build up a string which needs to contain speech mark symbols in the text itself. For example doing something like.. exampleString = "Join the "2" groups together" I am not sure how to do that in C#. Currently I can only able to acheive something like t...more >>

DataGrid Header
Posted by Carl at 2/4/2005 9:35:59 AM
How can change the Header of a Datagrid? for example: dpr_id change to dprno thanks, Carl ...more >>

Field validation Per Submit buttuns
Posted by Shaker at 2/4/2005 9:03:02 AM
For simplicity, I have on one form: -textbox1/Requiere For validation1 / submitbuttun1, -textbox2/Requiere For validation2 / submitbuttun2, I have two submit buttons on an ASP.Net page with two textboxes and two require for validation controls per textbox. In summary I want to group th...more >>

HtmlInputFile restrict file types
Posted by dhnriverside at 2/4/2005 8:27:07 AM
Hi I'm trying to restrict file types with a HtmlInputFile Accept property. It seems that this isn't supported for IE6? (doh!). Can anyone recommend any free Upload components? Or a solution? Cheers Dan...more >>

Check Form controls have changed
Posted by yurps NO[at]SPAM yahoo.co.uk at 2/4/2005 8:05:30 AM
Hello, I have a asp.net page with a form with 15 textboxes and a couple of dropdownlists....I want to know if their is a way (...serverside please...) of checking if any change has been made to any of these controls before I send and update to the database....I would rather not have a OnTextChan...more >>

Add New Row to DataGrid or Repeater
Posted by rwoo_98 NO[at]SPAM yahoo.com at 2/4/2005 7:44:10 AM
I am working on a web form that allows the user to add a new row. Basically I query the data from a database and store it in a dataset. I add a new row to the table in the dataset: DataRow dr = objDataSet.Tables[0].NewRow(); objDataSet.Tables[0].Rows.Add(dr); When I bind the data to a datag...more >>

Add blank row to datagrid
Posted by Big Dave at 2/4/2005 7:18:18 AM
Good morning. This seems like it should be easy, but I can't figure it out. I have a datagrid bound to a dataset. There is a select button column on the datagrid. When the user clicks the select button, I would like to insert a blank row right after that record to show more details about it....more >>

ListBox not returning correct SelectedIndex
Posted by Carlo Marchesoni at 2/4/2005 7:11:01 AM
I'm going crazy with this. I just added two Listboxes (lbxSource->multiple selection and lbxDestination -> single selection). Then: a) button "Load": ListItem l0 = new ListItem("01"); lbxDestination.Items.Add(l0); //1st goes to Destination Box ListItem l1 = new ListItem("02"); lbxSource.Item...more >>

Q: creating pdf file
Posted by JIM.H. at 2/4/2005 7:07:03 AM
Hello, If I want to retrieve some data and try to create a pdf file in asp.net, how could I do that? Thanks, Jim. ...more >>

VS2003 Control Form Size
Posted by Frank Bishop at 2/4/2005 6:28:04 AM
I would like to open a new Webform from a button click and I can't seem to find where to control the size of the form when it opens. I want it to be a smaller window almost like a dialog for user input. Help apprecaited. Frank *** Sent via Developersdex http://www.developersdex.com *** ...more >>

ASP.NET and SEO
Posted by D Hass [MCP] at 2/4/2005 6:13:01 AM
Are there specific steps to optimizing and ASP.NET site versus other technologies? I have heard a lot of differing views and would like to obtain some concrete data. I have Googled Search Engine Optimization ASPNET and mostly just get general info. It seems there are some spcial ways of dealin...more >>

Can't create fragment/JavaScript hyperlink
Posted by Axel Dahmen at 2/4/2005 4:29:54 AM
Hi, I can't create local fragment hyperlinks or JavaScript hyperlinks in ASP.NET. It always appends the current path to any value. How can I switch that off? Examples: * NavigateUrl="#highlight" becomes: <a href="/AppName/CurrentPath/#highlight"> * NavigateUrl="cal...more >>

how can I update Active Directory?
Posted by dhnriverside at 2/4/2005 1:53:02 AM
Hi Right, all I'm trying to do is update a user account in active directory with new phone, address, etc from C#. I can't find any samples on the net on how to do this - can anybody point me in the right direction? Cheers Dan...more >>

"The page cannot be displayed" after process for an hour
Posted by Siang Hwee at 2/4/2005 1:43:04 AM
Hi. I am facing some problem in Asp.net. I am developing a payroll application currently. This is a web-based application. User need to click on "Process" button in order to process the payroll every time. Now the problem is, if the processing time is less than 3600 seconds, everything will wo...more >>

concurrency for asp.net
Posted by angus at 2/4/2005 1:13:32 AM
Hi all, I would like to seek help on the topic about concurrency in asp.net web application for instance, my application is going to implement a online restaurant table booking system i have a db table to store all tables in the restaurant, lets call it res_table in res_table, there ...more >>


DevelopmentNow Blog