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 > july 2007 > threads for monday july 16

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

Fetching & Inserting Data into a column of TEXT Data type in SQL server 2000 Using ASP.NET
Posted by Bhavesh at 7/16/2007 11:55:42 PM
Hi Bruce, Thanks For Reply. U were right, Needed to pass string , but also need to pass size of Data( instead of 16, passed actual length of data). So that worked for me & didn't get any error. But now problem in fetching, not able to fetch data from table correctly. Here is my code. I h...more >>


Very basic compilation error
Posted by chris NO[at]SPAM ctlsoft.com at 7/16/2007 10:25:15 PM
on page load event I have : Dim strHTML As String = Month(Now()) litMain.Text = strHTML Compiles fine but when is run : Compiler Error Message: BC30108: 'Month' is a type and cannot be used as an expression. I've tried whacking .toString on end, no difference. All it's doing is writin...more >>

DropDowns in GridView
Posted by MRW at 7/16/2007 10:17:37 PM
I have a GridView which displays simple labels in ItemTemplate, and when it goes to EditTemplate, one field is a dropdown list and the other is a text box. On gvTT_RowUpdating(..), I'm able to access the text box without any issue, using: Dim newDate As TextBox = gvTT.Rows(gvTT.EditIndex).F...more >>

SQL server
Posted by Gandalf at 7/16/2007 9:54:52 PM
Is their any way to download SQL server and install it on my IIS if I have a cracked copy of wondows XP? ...more >>

local project on web with dynamic ip
Posted by Ganesh at 7/16/2007 8:26:09 PM
Hi There, I learn asp.net, what's the right place to create my solutions and projects. At the moment i create here c:\inetpub\wwwroot\MyProject\, is it correct place to do my training. my webconfig file has <authentication mode="Windows" /> line, I hope noone can access other than me. ...more >>

Binärdatei_in_Db_speichern
Posted by Sebastian at 7/16/2007 8:23:25 PM
Hallo! Ich wollte Binärdateien (sprich PDF's oder dergleichen) in eine Datenbank abspeichern. Dies realisiere ich per FileUpload-Control. In der Tabelle habe ich für die Binärdatei den Typ "varbinary(MAX)" zugewiesen. Dies klappt auch soweit alles, nur wenn ich jetzt Dateien die größer...more >>

Visual Web Developer 2005 vs. Microsoft Expression
Posted by jonny at 7/16/2007 7:08:17 PM
I am new to web design and programming and was wonder which of these two would be better to invest my time to learn. Visual Web Developer 2005 vs. Microsoft Expression. I would like to make very complex and neat looking web sites. I plan I doing a lot of reports and charts pulling data out o...more >>

Login ASP.NET control
Posted by Formentz at 7/16/2007 6:50:21 PM
Hi guys, I have a problem that should be quite simple, but I can't figure out: I have an asp:Login control on the web form, but in the same form there are, before the login control, other buttons that have the UseSubmitBehavior set to True. If I enter username and password, then hit RET...more >>



centering div within a div
Posted by Steve Richter at 7/16/2007 6:15:21 PM
in the following code I expect the inner div to be centered within the outer div. problem is, it doesn't. basically, the margin settings of the inner div are not recognized when display:inline is used. When the inner div is display:block, the top and bottom margins are recognized, but the div...more >>

Session.Timeout after 20 seconds not working
Posted by Astrix at 7/16/2007 5:20:33 PM
Hi, I have been working with Sessions for some weeks now, but i can't seem to solve this issue. Please have a look .. void Page_Load(Object sender, EventArgs e) { //BLAH BLAH Response.AppendHeader("Refresh", Convert.ToString((Session.Timeout * 60) - 1180) +"; URL=index.aspx"); //...more >>

Placing identical controls on to the page using the Placingholder control makes them disappear
Posted by alun65 NO[at]SPAM gmail.com at 7/16/2007 4:37:00 PM
I've been implementing some paging links that I would like at the bottom and top of a result set, I build up the required HTML in the code behind then add it to the placeholder. This works fine when there only one placeholder on the page but as soon as I add another it seems to all about the l...more >>

Intranet / IIS?
Posted by Rob Meade at 7/16/2007 4:28:20 PM
Hi all, This is a bit off topic I suspect, but I was hoping that most of you would know the answer... I want to have my IIS prompt for username/password credentials when a user browses to the site externally, ie, not on my own network, but if they are on the network (they would have alre...more >>

using CSS to center text
Posted by Steve Richter at 7/16/2007 4:20:30 PM
I can use margin: auto to center the text of a <p>. But only if I specify the width of the <p> <div style="border: #603 dotted; padding: 0.5em; margin: 1em 2em;"> <p style="margin:1em auto; width: 8em; text-align: left;"> Trying to center some text!. Width method.</p> </div> I cant...more >>

HiddenField
Posted by hharry at 7/16/2007 4:06:15 PM
Hello All, I am trying to make use the HiddenField server control to make a server-side variable visible to a client script. I set the value of the HiddenField inside of the Page_Load event. protected void Page_Load(object sender, EventArgs e) { this.myHiddenField.Value = myVar; } ...more >>

not persisting control after viewing design time?
Posted by Allan Ebdrup at 7/16/2007 2:20:50 PM
I have a custom server web control that inserts another custom web server control in a templated child control (a wisard that inserts a header in its wizardstep) Now after switching to design view and back the header is inserted in the aspx page's xml. I don't want this because then yet anoth...more >>

panel control with horizontal sliders
Posted by Dica at 7/16/2007 1:57:45 PM
i need a control for a .net 2.0 web app that divides the page into two panels, the first of which should have a horizontal slider should the content become too wide to fit in the allowed width of the panel. i know i could do this with iFrame, but would hate to resort to that. is such a contr...more >>

Database
Posted by Gandalf at 7/16/2007 1:03:06 PM
I study the manual of W3Schools, And couldn't find enough explanation for Databases. I managed to understand how to pull out data from table, But don't know yet how to update and insert data. This code pulls data from a table. I would like you to show me how should I update and insert dat...more >>

Hosting XBAP page inside aspx
Posted by Abhi Arora at 7/16/2007 12:56:40 PM
Hi, I need to host an XBAP application inside an Aspx page. I tried adding my aspx page using IFRAME, but it doesnt show up in the browser. When I call the page, it runs without any error. But it doesnt show anything from the XBAP page. Am I missing something simple here? Abhi ...more >>

Cannot create an object of type 'CustomWizard' from its string representation...
Posted by Allan Ebdrup at 7/16/2007 12:56:04 PM
I get the error: "Cannot create an object of type 'CustomWizard' from its string representation 'CustomWizard1' for the CustomWizard Property." when I view my custom server web control in design view. Everything runs fine when I run the page, it's only design view that gives the error. My ...more >>

Updating row in Gridview problem
Posted by SAL at 7/16/2007 12:41:04 PM
I'm trying to update rows in my gridview but it isn't working. I have designed the table adapters via the designer and have a business logic layer class bound to the ObjectDataSource. In configuring the datasource, the Update method is set to the Update method on my business logic class which ...more >>

ASP.NET - Trying to spin off an Excel worksheet with IIS
Posted by Steve Kershaw at 7/16/2007 11:57:08 AM
Hello, I've been trying to spin off an Excel worksheet on the client from an ASP.NET website. I was successfull in displaying an Excel worksheet on the client in a test website (not using IIS, but using Visual Studio 2005) with the following code: protected void Button1_Click(object sender,...more >>

Linking events from controls, when the controls have been created
Posted by rival NO[at]SPAM newsgroups.nospam at 7/16/2007 8:06:01 AM
I've a situation where I'm creating controls programatically. I'm programatically creating table cells and rows. I've got an array of data, and I want to format the data on screen in rows of 4. I get my array, calculate how many complete rows I need. Then for each of the complete rows, I...more >>

Easy way to findcontrol?
Posted by HockeyFan at 7/16/2007 7:37:27 AM
I have the following string from one of the controls, inside gridview, inside a control, inside a repeater item. rptBorrower_ctl00_ctlAuthorizedSigners_gvAuthorizedSigners_ctl04_ The control was a button, but I stripped off the name of that button and would like to FindControl a textbox that I...more >>

Treeview won't collapse/expand dynamically
Posted by pej.odonnell NO[at]SPAM gmail.com at 7/16/2007 7:29:06 AM
Hello everyone, 2 Issues: 1. When treeview renders all parent nodes are open? I want it to render closed? 2. When I try to collapse programmatically, it does not do anything? I'm using a tree view with a sitemap to create a menu. The treeview is contained in a master page. <asp:TreeV...more >>

What happened to the Global class code behing in 2.0?
Posted by PatB at 7/16/2007 6:46:04 AM
Just starting to move to ASP.NET 2.0 and having trouble with the Global.asax code file. In 1.1 I could have a code behind file for the global.asax file. This allow for shared variables of the Global class. Note: I use these shared variables for read only values that are set at applicati...more >>

Padding is invalid and cannot be removed
Posted by rdlauer at 7/16/2007 5:59:05 AM
For some time now we've been seeing seemingly random errors thrown by an application "Padding is invalid and cannot be removed". Everything I've read about this online suggests that the machine key is different between two load-balanced servers, but this application is running on just one server...more >>

Fetching & Inserting Data into a column of TEXT Data type in SQL server 2000 Using ASP.NET
Posted by Bhavesh at 7/16/2007 4:26:17 AM
Hello genious people, I m trying to insert a LARGE text from Multiline Textbox into my table of sqlserver2000. I m using vs-2005. Please note that I dont want to store blob data From FILE TO TABLE, like storing IMAGE into DB. I hav searched lots of articles on that but didn't get suc...more >>

problem with client-side details using ExpandEnvironmentVariables
Posted by Damien at 7/16/2007 3:38:04 AM
Hi, I'm creating an ASP.NET Web Application in vs 2005 (VB) and need to get the location of the users User profile. The code below works... Environment.ExpandEnvironmentVariables("%UserProfile%")) ...But when you upload the website onto the server it retrieves the servers user profile l...more >>

exam code and description
Posted by Kiran at 7/16/2007 12:52:01 AM
Hello Everyone, Can anybody tell me what are the Microsoft's certification exam codes and their description? Also how to prepare for the same and what books are i should refer to? Also would like know about natrue and rules of certification exams? I am intrested getting certification in ...more >>

[ASP.NET] Inheritance and Label
Posted by RicercatoreSbadato at 7/16/2007 12:00:00 AM
hi all, i'd like to inherit from a label, how can I do ? i've tried: 1. making a new Web User Control, then inherit from System.Web.UI.WebControls.Label but not works! 2. creating a class (.cs file) that inherits from the Label Control but it didn't work! any idea ? ...more >>

Go Back To Updated GridView
Posted by Joe Kovac at 7/16/2007 12:00:00 AM
Hi! I have one page with a GridView. Their I can select one item and edit this item on an own page within a DetailsView. After updating the entry I want the user to be able to get back to the same position of the GridView as before. E.g.: The user selected an item on the 3rd of 5 GridView ...more >>

not working: onmouseover="this.style.font-weight='bold';"
Posted by Steve Richter at 7/16/2007 12:00:00 AM
Why would this embedded javascript not work? <span onmouseover="this.style.font-weight='bold';" >line 3</span> this does: <span onmouseover="this.style.color='blue';" >line 1</span> thanks, ...more >>

Calendar - check if one date is greater than other
Posted by Iain at 7/16/2007 12:00:00 AM
Hi All I've 2 calendar controls on my web form - i need to check if Calender1 date selected is greater than Calender 2 date selected (and then display an error message) TIA iain...more >>


DevelopmentNow Blog