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:602557
More Search Options
RSS Available
Matching Posts
Re: how to fill a databound checkboxlist in a detailsview
You are working with a gridview, where I am working with a detailsview...its not quite the same :)
Posted to
Data Presentation Controls
(Forum)
by
Peter Smith
on 11/30/2009
how to fill a databound checkboxlist in a detailsview
I have the following templatefield in my detailsview <asp:TemplateField HeaderStyle-VerticalAlign="Top" HeaderText="Roles"> <ItemTemplate> <asp:BulletedList ID="blAssignedRoles" DataSourceID="dsAssignedRoles" DataTextField="rolename" runat="server"> </asp:BulletedList> </ItemTemplate> <EditItemTemplate> <table style="width: 100%"> <tr> <td>Add/Remove user from role(s) :<
Posted to
Data Presentation Controls
(Forum)
by
Peter Smith
on 11/26/2009
Filed under: DetailsView, checkboxlist
simple db value retrieval question
I cant get a value from my db and have no idea why Dim cmd As New SqlCommand("select password from aspnet_membership where email=@email", myConnection) cmd.Parameters.Add(New SqlParameter("@email", email)) 'email is not empty and has a valid value Dim result As String = "" Try myConnection.Open() 'I tried this: Dim reader As SqlDataReader = cmd.ExecuteReader If reader.Read Then 'this is never hit!!! result = reader("password").ToString End If 'and
Posted to
Getting Started
(Forum)
by
Peter Smith
on 11/22/2009
Re: simple db value retrieval question
my bad, the code does work :)
Posted to
Getting Started
(Forum)
by
Peter Smith
on 11/22/2009
Re: Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
[quote user="jimmy q"]Check what version your application is binding to and you will either need to install the correct version or upgrade to the newer version, or add an assembly binding redirect in your config to use the new one.[/quote] How do I do these 2 things? :$ check what version my app binds to AND add an assembly binding? :$:$:$
Posted to
Getting Started
(Forum)
by
Peter Smith
on 11/21/2009
Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
I get this error NOT on default.aspx, but I do on login.aspx. why would one page act different than the other?!?! I've installed ms AJAX: http://go.microsoft.com/fwlink/?LinkID=77296 already page default.aspx is shown: <%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" title="Untitled Page" %> <asp:Content ID="Content1" ContentPlaceHolderID
Posted to
Getting Started
(Forum)
by
Peter Smith
on 11/20/2009
Windows mobile
I want to install windows mobile on a handheld device. Is there anywhere where I can download windows mobile? Do I need a license key/purchase it or is it free? Thanks!
Posted to
Mobile and Handheld Devices
(Forum)
by
Peter Smith
on 11/5/2009
detailsview with a databound radiobuttonlist not possible?!?
I have the following in a detailsview: <asp:DetailsView AutoGenerateRows="False" DataKeyNames="userid" DataSourceID="odsUserDetails" ID="dvUserDetails" runat="server"> <asp:TemplateField HeaderText="Sex"> <ItemTemplate> <asp:RadioButtonList Enabled="false" ID="sex" runat="server"> <asp:ListItem Text="Man" Value="1" /> <asp:ListItem Text="Woman" Value
Posted to
Data Presentation Controls
(Forum)
by
Peter Smith
on 11/5/2009
Re: detailsview with a databound radiobuttonlist not possible?!?
@irokhes: But how do I assign the value from the databinder to the actual control? Dim drv As DataRowView = CType(dvUserDetails.DataItem, DataRowView) Dim rbl As RadioButtonList = CType(dvUserDetails.FindControl("sex"), RadioButtonList) 'what should I do on this next line??! rbl.SelectedValue = drv.Item("sex").ToString ' DataBinder.Eval(drv.Item("sex")).ToString @IgorB: it actually looks like this: <Fields> <asp:DetailsView AutoGenerateRows="False"
Posted to
Data Presentation Controls
(Forum)
by
Peter Smith
on 11/5/2009
assign value to dynamic column in select statement
I want to assign a value to a variable in my select statement based on a retrieved column. PSEUDO CODE SELECT startdate, title, hasstarted = (startdate > getdate() as hasstarted FROM auctionobjects AS ao WHERE (id = @id) I want the bit "hasstarted" to have the value true if the selected startdate is larger than the current date...and false if smaller Ofcourse hasstarted is not an actual table column, otherwise I would have just selected that one :)
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
Peter Smith
on 10/22/2009
Page 1 of 160 (1600 items) 1
2
3
4
5
Next >
...
Last »
ASP.NET:
Building Twitter Search using the ASP.NET Ajax Library Beta – Part 1
Silverlight:
Using Azure as a Silverlight Streaming replacement
Silverlight:
Building extensible Silverlight applications with MEF
TechNet Edge:
Joachim Nässlander on Live Migration
ASP.NET:
T4MVC 2.6: MVC 2 Areas support
ASP.NET:
Script# Update - v0.5.5.0
Channel 10:
Difference between DirectX 10 and DirectX 11
Channel 10:
WHS Power Pack 3 Arrives
Channel 10:
ASUS Brings GUI to BIOS
ASP.NET:
Microsoft AJAX CDN – Now with SSL Support
Channel 9:
TWC9: XAML tools, Silverlight for Live Writer, Surface SDK,
ASP.NET:
PDC09 Talk: Building Amazing Business Applications with Silverlight 4, RIA Services and Visual Studio 2010 – Now in Visual Basic!!
Channel 9:
C9 Conversations: Brian Beckman on Complexity [C9 Conversations: Brian Beckman on Complexity]
Channel 10:
Black Friday Deals on Windows 7 Machines
Channel 10:
Holiday Shopping on Bing Cashback = Big Online Savings
Channel 10:
Black Friday Deals at the Microsoft Store
Channel 10:
Incredible Black Friday Deal: Windows 7 Notebook for $197
ASP.NET:
Presenting in Europe Next Week
TechNet Edge:
AlignIT IT Manager Podcast #30 - Straight Talk about Windows 7
WindowsClient:
You know your post rate has gone down...
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online