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:870684
More Search Options
RSS Available
Matching Posts
Re: delete all records at once with linq
Deleting all records by linq and llbl can be done as follows: protected void Delete_Click(object sender, CommandEventArgs e) { using (DataAccessAdapter adapter = new DataAccessAdapter()) { LinqMetaData metaData = new LinqMetaData(adapter); int Id = Convert.ToInt32(e.CommandArgument.ToString()); TagEntity tag = (from c in metaData.Tag where c.TagId == Id select c).Single<TagEntity>(); adapter.DeleteEntity(tag); } }
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
iiig2000
on 5/30/2009
Re: Session
Check to see if session exists in c# as follows: if (Session["UserId"]!="") { lblMessage.Text = "User already logged in"; }
Posted to
State Management
(Forum)
by
iiig2000
on 5/30/2009
Re: TFS and the Dev Environment?
Pros: Reliable version control store that scales. Cons: Can't just pick up and move like VSS and some of the sophistication can be initially confusing.
Posted to
Visual Studio 2008
(Forum)
by
iiig2000
on 5/21/2009
Re: Validation summary message
Make the EnableClientScript=false in the page directive.Then do the following: private void btnSubmit_Click( object sender, System.EventArgs e) 2 { 3 try 4 { 5 Page.Validate(); 8 throw new ApplicationException(); 9 } 10 catch 11 { 13 CustomSummary.AddErrorMessage( "15 Required fields are missing data" ); 14 } 15 }
Posted to
Web Forms
(Forum)
by
iiig2000
on 5/21/2009
Re: theme trouble?
protected void Page_PreInit(object sender, EventArgs e) { Page.Theme = ""; }
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
iiig2000
on 5/21/2009
Re: Button CSS tip
You can do the following also: <asp:Button ID="Button1" runat="server" Text="Run Report" CssClass="btnSaveDraft"/> and then in the css you can write the class as : input.btnSaveDraft{ float:left; margin:0 0 0 10px; width:92px; height:22px; color:#FFFFFF; background:url(images/btnSearchOffer.gif) 0 0 no-repeat #0668BA; cursor:pointer; border:none; font:normal 12px/20px "Trebuchet MS", Helvetica, sans-serif; padding :0 0 2px 0; }
Posted to
Tips & Tricks
(Forum)
by
iiig2000
on 5/19/2009
Re: Linq and Data Source Object
You can use Devex reporting feature with linq and set the report datasource to the datatable that the linq query returns.
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
iiig2000
on 5/19/2009
Re: Adimin Password not working
You can do the following things: 1) On Submit_Click event of the login form submit button write code to test if a user with this username and password exists or not ,if not then throw a errormessage.In this way you will be able to determine whether your entered login details are correct or you have actually mistyped it.
Posted to
Club Web Site Starter Kit
(Forum)
by
iiig2000
on 5/19/2009
Re: css file inheritence
using the @import rule .
Posted to
Web Forms
(Forum)
by
iiig2000
on 5/19/2009
Re: Need Help To Start A New Project In .net
it can be done using devex reporting feature with asp.net
Posted to
Enterprise Services Integration
(Forum)
by
iiig2000
on 5/19/2009
Page 1 of 1 (10 items)
WindowsClient:
Windows Client Developer Roundup for 12/28/2009
WindowsClient:
Snoop with 64 bit support
ASP.NET:
jQuery Hide/Close Link
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
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
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online