Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:661830
More Search Options
RSS Available
Matching Posts
Re: Reporting generation - HTML to PDF ?
what is RSK?
Posted to
Reports Starter Kit
(Forum)
by
scokim
on 7/19/2009
Re: Different behaviour for the AlwaysVisibleControlExtender in IE and Firefox
I have the same problem (IE6 shows a delayed effect). Could anyone please help.
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
scokim
on 5/11/2009
Re: Solved: Cannot Deploy VS 2008 ASP.NET application into IIS (localhost): Server Application Unavailable.
skhan007, thanks for posting your solution.
Posted to
Configuration and Deployment
(Forum)
by
scokim
on 4/30/2009
Re: Passing text of asp:label to code behind for sql command
I have solved it now by removing Dim lblPerspective As Label = Nothing and just use Dim perspectiveID As String perspectiveID = convert.tostring(lblperspective.text)
Posted to
Web Forms
(Forum)
by
scokim
on 4/21/2009
Re: Passing text of asp:label to code behind for sql command
I think the problem is in the passing and not the conversion. I have <asp:label text="people" id="lblperspective"> i want to pass this value to sql statement in code-behind. What i have done is Dim lblPerspective As Label = Nothing (should I include = Nothing ?? because if I don't it will give a warning that lblPerspective is used before it has a value assigned to it as this is done at Page_Load) Dim perspectiveID As String perspectiveID = convert.tostring(lblperspective
Posted to
Web Forms
(Forum)
by
scokim
on 4/21/2009
Re: Passing text of asp:label to code behind for sql command
[quote user="ggamble"] You don't need to convert the text value of a label to a string ... it all ready is. perspectiveID = lblPerspective.Text [/quote] it still gives the object reference error.
Posted to
Web Forms
(Forum)
by
scokim
on 4/21/2009
Re: Passing text of asp:label to code behind for sql command
Hi, thanks for your replies. Unfortunately, both suggestions above gave me the much dreaded error : System.NullReferenceException: Object reference not set to an instance of an object. For improved readability I've reposted the code below: aspx: < asp : Label ID ="lblPerspective" runat ="server" Text ="People"></ asp : Label >< br /> < asp : Repeater ID ="objective_rpt" runat ="server" OnItemDataBound ="rp1_ItemDataBound">
Posted to
Web Forms
(Forum)
by
scokim
on 4/21/2009
Passing text of asp:label to code behind for sql command
I would like to pass the asp:label to the code-behind where it will be used to execute a sql databinding. At the code behind, the text value of the 'lblPerspective' is converted into string by 'perspectiveID' 'perspectiveID' is then fed into the sql command aas a parameter (parameters.addwithvalue). For some reason this is not working because perspective comes up as blank/empty. Could someone shed some light on what i'm doing wrong. I think it must a very simple syntax
Posted to
Web Forms
(Forum)
by
scokim
on 4/21/2009
Re: BC30577: 'AddressOf' operand must be the name of a method (without parentheses).
Ignore the >. That appeeared when I copied and paste the code into the forum :) Having looked at the msdn example of http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.formview.itemupdating.aspx , I removed OnItemUpdating ="FormView1.ItemUpdating" from the asp:formview statement. But now I'm getting Object reference not set to an instance of an object . Description: An unhandled exception occurred during the execution of the current web request. Please review the
Posted to
Visual Basic .NET
(Forum)
by
scokim
on 3/30/2009
BC30577: 'AddressOf' operand must be the name of a method (without parentheses).
Hello, I'm trying to create an update form whereby if the user leaves the textbox (actionsTextBox) blank, then a default value of "no data entered" will be automatically bound to the textbox prior to updating the sql record. I keep getting this error: Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message
Posted to
Visual Basic .NET
(Forum)
by
scokim
on 3/30/2009
Page 1 of 5 (47 items) 1
2
3
4
5
Next >
WindowsClient:
Build WPF Data Controls for Outlook Addins Easily with VS2010
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 2
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 1
Channel 9:
Channel 9 Live at PDC09: Wei Zhu (Facebook)
WindowsClient:
WPF Manipulation Basics
ASP.NET:
High CPU in .NET app using a static Generic.Dictionary
TechNet Edge:
Deploying Silverlight - Why and How
WindowsClient:
Windows Client Developer Roundup for 12/21/2009
Silverlight:
4 Calendars & Plans for 2010 / 5770
ASP.NET:
ASP.NET MVC 2 and Visual Studio 2010
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part II
Silverlight:
HVP – Core Scaffolding and Updated News
Channel 9:
TWC9: 2009 - The Year in Review
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
WindowsClient:
Mouse Gestures for Internet Explorer
Channel 9:
Controlling concurrency in Rx
Channel 9:
Dev Tools Ecosystem Summit Videos Available
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online