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 6

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

Please translate this C# LINQ query into VB for me !!!!!
Posted by ChrisN at 8/6/2007 8:56:37 PM
Just learning LINQ by going through the MSDN 101 LINQ samples, which are in C#. I'm a VB developer and my C# doesn't extend to lambda functions yet! I'm stuck on... public void Linq5() { string[] digits = { "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"...more >>


Splitter, that is, resizable panels
Posted by Rastko Soskic at 8/6/2007 5:07:17 PM
Hi everyone! I need some tips, ideas, suggestions on best approach to create "resizable panels". The best example what I am trying to achieve could be MSN mail (hotmail) which have separate, resizable panels for folders (inbox, sent, etc.) and for messages. Maybe someone knows exactly how that...more >>

This type of page is not served.
Posted by Paulo at 8/6/2007 4:22:25 PM
Why when I click .asp page shows up this error on VS 2005: "This type of page is not served." Can I configure it to run .asp pages? ...more >>

Problem with empty cell value in GridView
Posted by Bill Gower at 8/6/2007 4:01:52 PM
I have an cell which contains a field member which is filled with String.Empty. When I retrieve the value in the cell with Cells[0].Text.ToString() and try to compare it to String.Empty, I can't because it contains "&nbsp". I really don't want to compare the value to that so how can I retr...more >>

Frame on asp.net 2.0
Posted by Paulo at 8/6/2007 3:41:48 PM
Hi, I need to convert a classic asp application wich uses html frame, can I use frames on asp.net 2.0 VS 2005? How can I pass values from 1 frame to another? Any materials? What do you suggest? Thanks ...more >>

[Newbie Problem]DataGrid OnUpdateCommand "InvalidCastException" problem
Posted by DC at 8/6/2007 3:08:24 PM
I'm getting the following casting error in my OnUpdateCommand subroutine. Why would it be trying to cast a button control to a text box in line 71? Any help would be greatly appreciated. Exception Details: System.InvalidCastException: Unable to cast object of type 'System.Web.UI.WebControls...more >>

sensible way to pass around values
Posted by David C at 8/6/2007 2:00:05 PM
With .NET 1.x, this is what I did. On the destination page public class ToWebForm : System.Web.UI.Page { public const string PARAMETER = "PARAM"; protected void Page_Load(object sender, System.EventArgs e) { if (!IsPostBack) { string paramFromAnotherPage = Context.Items[...more >>

Page_Load in derived classes
Posted by John Grandy at 8/6/2007 1:27:11 PM
If I have UserControlDervied that derives from another UserControlBase , and in UserControlBase the OnLoad method is overriden , is it necessary to also override the OnLoad method in UserControlDerived , or can the magic Page_Load method be used ? Does Page_Load automatically call OnLoad in ...more >>



How to handle errors in server code
Posted by Richard at 8/6/2007 1:10:01 PM
Hi, In my ASP.NET 2 page, there's Javascript code that uses XMLHttpRequest class to execute code (which access the database) on the server, and sends data back to populate controls on the page. How should errors be handled in the server code, for example when a database error occurrs? ...more >>

Page_Init calling sequence in ASP.NET
Posted by Nirmalkumar at 8/6/2007 1:05:37 PM
i need to create custom base class for my ASP.NET 2.0 web pages. A : InheritsWeb.UI.Page B : Inherits A C : Inherits B and then all my web pages extends/Inherits custom base class 'C'. now i need to write page_Init in class 'B' and 'C' . Please help me how to write page_Init method...more >>

Mulitple membership providers but one role provider
Posted by TheCornjerker at 8/6/2007 12:34:21 PM
With ASP.Net 2.0, I have setup a custom login screen that first authenticates against and SQL membership provider and if that fails, against an Active Directory provider. I'm wanting to have one SQL role provider for both these membership providers. Is this possible? If so, can you give me a ...more >>

reference and value
Posted by Aleks Kleyn at 8/6/2007 12:12:02 PM
When I call sub in VB I can sent value of variable or reference to this value. The question is. Suppose I have class public class AA .... end class and declare object of this class dim objAA as AA Does objAA is value or it refers to memory where I keep appropriate value. If objAA is value...more >>

vb asp.net form for adding records to Access Database
Posted by slinky at 8/6/2007 12:04:02 PM
On My Webserver I have an Access Database called "Warehouse.mdb" I have a webform that has: 6 Textboxes named: txtAsset_Number.Text, txtDescription.Text, txtSerial_Number.Text, txtMfg.Text, txtRDCnumber.Text, txtAssetType.Text 1 Button named btnAdd I dragged the Table called Assets on...more >>

Dataset and datatable
Posted by Aleks Kleyn at 8/6/2007 12:00:00 PM
I use in my asp.net code dataset and populate datatable using dataadapter. The problem is that my code demand huge amount of memory and I am looking for way reduce this demand. At this time I keep links to dataset, dataadapter and datatable in session. As I understand datatable is class a...more >>

Mobile "Repeater"
Posted by Alex Maghen at 8/6/2007 11:58:05 AM
Hi. I'm trying to figure out how you do the most basic Data-Bound "Repeater" functionality on a Mobile ASPX page. I don't mean a list box, because it will have repeated HTML and User Controls in each Row. How do I do this, please? Thanks! Alex...more >>

Set ASPNET Version for Virtual Directory from C# App
Posted by mikes at 8/6/2007 11:24:07 AM
I am writing a C# Windows Application that will create virtual directories on our Win 2003 server machines. Using the System.DirectoryServices DirectoryEntry class I have had very little trouble remotely creating and configuring virtual directories on our servers. My problem is that I have ...more >>

2nd pair of eyes needed for DropDownList question & saving state
Posted by Steve Hershoff at 8/6/2007 11:09:23 AM
Hi everyone, I'm not sure that what I'm trying can't be done (at least, not how I'm trying to do it) but I was hoping for confirmation and possible suggestions on a future approach. We have created a specialized version of the DropDownList class. An abbreviated version reads like this: ...more >>

Ajax working on dev server not on ie
Posted by Bill Gower at 8/6/2007 10:27:46 AM
I have a webapp that uses the AjaxControlToolkit. The app and ajax works fine when run within my dev server in Visual Studio 2005 but does not work on IIS. Any Suggestions? Bill ...more >>

Can an ASP.NET application punch a hole through IIS?
Posted by PSiegmann NO[at]SPAM mail.nu at 8/6/2007 9:59:01 AM
Hi newsgroup. I ask, can a buggy ASP.net app grant root access to the server? Or are there built-in mechanisms that prevent this? Let's say, I have a bug in my application, that under certain situations provokes a never ending loop, the application crashes, and the asp.net process will get ...more >>

How to resize edit box
Posted by JJ297 at 8/6/2007 9:31:05 AM
I have a details view on the page with the edit link, when I click on the edit button I get my data to edit but the box is so small. How do I expand this box so I can see all of my text to edit? Thanks in advance for your help. ...more >>

Large IIS vs ASP.NET page render time diff?
Posted by Derrick at 8/6/2007 9:04:31 AM
I have an asp.net web app, hitting a report type page that brings back a large response size, about 2 megs. The inclusive round trip times are below, any ideas why asp.net finishes in 3 secs while it takes around 18 for IIS? The machine setup is win2k sp4 browser, via fiddler, ~20 secon...more >>

Code Access Security
Posted by Arne at 8/6/2007 7:58:01 AM
I just installed .net 2.0 on a Windows 2003 server. I can find the caspol. exe program. I can't find the Framework 2.0 Configuration program. Do I need to download the SDK? -- Arne Garvander Certified Geek Professional Data Dude...more >>

Selected cell in Gridview
Posted by Mike at 8/6/2007 5:40:03 AM
Hi, I can return the rowindex using SelectedRow or SelectedIndex But, how do I get my code to return the cell or column index of a selected row in my gridview? thanx -- Regards, M.Rochdi...more >>

Render Control Help?
Posted by Daniel Di Vita at 8/6/2007 5:00:02 AM
I posted this a week ago, but did not get a respone yet. I need to render a user control as a HTML string. I do not want the control to appear on the page, however. Here is what I am doing… I have an HTML template that will ultimately be sent via e-mail. Inside the template I have IDs se...more >>

refresh an updatePanel in an other updatePanel
Posted by fran_j_diaz NO[at]SPAM yahoo.fr at 8/6/2007 12:09:02 AM
Hye, I've got some problems in developping web sites with Visual Studio 2005 (ASP.net & C#) and the Microsoft Ajax library. In my webpage default.aspx I've got 2 update panels The 1rst contains all my components (labels, textboxes, a combobox and a 2nd update panel) The 2nd u...more >>

Asp.Net Tips & Tricks
Posted by kamalpp NO[at]SPAM gmail.com at 8/6/2007 12:01:01 AM
hi check http://aspnet-tips-tricks.blogspot.com/ for tips and tricks and if u konw more site for asp.net please help me. Thanks ...more >>


DevelopmentNow Blog