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:818703
More Search Options
RSS Available
Matching Posts
Re: Skip existed items in an list and count them
Hi, A small change on integrasol code : List<int> list = new List<int>() { 1,2,3,3,5,5,7,8,5,1}; var items = list.Select(i => i).Distinct(); foreach (var item in items) { int count = (from c in list where c == item select c).Count() ; Label1.Text += item.ToString() + count + "<br/>"; } And you can perform the same operation on your RequiredItemList
Posted to
Getting Started
(Forum)
by
Dr_no
on 11/6/2009
Re: ASP.Net and Database Creation
Hi, You can find some resources on the internet : http://aspnet101.com/aspnet101/tutorials.aspx?id=39 http://www.15seconds.com/issue/050210.htm http://www.stardeveloper.com/articles/display.html?article=2003052201&page=9 For Membership: http://www.codeproject.com/KB/database/mysqlmembershipprovider.aspx http://forums.mysql.com/read.php?38,63403,63403
Posted to
Getting Started
(Forum)
by
Dr_no
on 11/6/2009
Re: C# Databinding Object fields to <asp:textbox
Hi, You can use the ObjectDataSource Control or you can bind the object directly : 1- Create a field in your page with your Customer type, it should be protected or public, private is not allowed (so the child class can access it) protected Customer _c = new Customer(); 2- this.DataBind() , as usual in data binding you should use this method .. 3- Write your binding expression, using the TextBox in your case: <asp:TextBox Text="<%# _c.FirstName %>" ID="TextBox1" runat
Posted to
Getting Started
(Forum)
by
Dr_no
on 11/5/2009
Re: Fonts and Colors issue in Beta 1
Hi, I've changed the colors (font and background) -> I restarted the VS Beta2 -> the colors are as I changed to ... I think they fixed it :), you can download and test it ...
Posted to
ASP.NET 4 Beta 2
(Forum)
by
Dr_no
on 10/25/2009
Re: multiple calendar
Hi, In the code behind you can write this in the Page_Load Method : Calendar1.VisibleDate = DateTime.Now; Calendar2.VisibleDate = DateTime.Now.Add(new TimeSpan(30,0,0,0)); Calendar3.VisibleDate = DateTime.Now.Add(new TimeSpan(60, 0, 0, 0)); This will make the first calendar shows the current month, the second shows next and the third shows after next ... If you want to show a specific month : Calendar2.VisibleDate = new DateTime(2009, 1, 1); This will show 1st of Jan. 2009 .. Hope this helps ...
Posted to
Web Forms
(Forum)
by
Dr_no
on 10/25/2009
Re: Passing gridview values(data) to textbox fields... [C#]
Hi, You can use the SelectedIndexChanged Event in GridView : protected void GridView1_SelectedIndexChanged(object sender, EventArgs e) { GridViewRow row = GridView1.SelectedRow; TextBox1.Text = row.Cells[2].Text; } Where the Cells[2] is the column position ..
Posted to
Web Forms
(Forum)
by
Dr_no
on 10/25/2009
Re: help moving data from a gridview into a text box?
Hi, You can try this : ASPX : <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="CategoryID" DataSourceID="SqlDataSource1" onselectedindexchanged="GridView1_SelectedIndexChanged"> <Columns> <asp:CommandField ShowSelectButton="True" /> <asp:TemplateField> <ItemTemplate> <asp:Label ID="Label1" runat="server" Text='<%#Eval("CategoryID"
Posted to
Getting Started
(Forum)
by
Dr_no
on 9/23/2009
Re: Visual Studio 2010 beta 2
This link may help : http://visualstudiomagazine.com/Blogs/RDN-Express/2009/09/VS2010-and-.NET-4-Beta-2-Expected-Soon.aspx
Posted to
Visual Studio 2010 Beta 1
(Forum)
by
Dr_no
on 9/17/2009
Re: Validate Dropdownlist
Hi, As mentioned above, you can use the RequiredFieldValidator or you can use CompareValidator and set the Operation to "NotEqual!=" and ControlToValidate to your DDL and ValueToCompare to the the first value (or the value you want) in the ListItem
Posted to
Web Forms
(Forum)
by
Dr_no
on 9/10/2009
Re: functions vs properties
Hi, I did not undersatnd you, do you mean the difference in performance ? The properties is compiled to CIL as methods. In your case, get_dbConnectionString() as it is just a getter But properties are the getters and setters in .NET flavour, it makes it easy to developers to read and write the code ..
Posted to
C#
(Forum)
by
Dr_no
on 6/30/2009
Page 1 of 17 (167 items) 1
2
3
4
5
Next >
...
Last »
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 1
Channel 9:
Francesco Logozzo - Static Checking with Code Contracts for .NET
Channel 9:
Channel 9 Live at PDC09: Doug McCuistion, NASA
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 3: Configuration
Channel 9:
Reading Debate with Bill Buxton
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online