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:682147
More Search Options
RSS Available
Matching Posts
Re: having integer with 1000 separator
thought you might give following a try too int val = 50000; Console.WriteLine(val.ToString("N0")); if you want decimals lets say 2 places then use N2 instead of N0 thanks, satish.
Posted to
Getting Started
(Forum)
by
satish_nagdev
on 11/19/2008
a small code piece on Gridview Custom Paging using Generics and few tricks
Hi people, I've posted a very basic article ASP.NET Gridview Custom Paging using Generics and few tricks on my blog, please feel free to share your thoughts. Regards, Satish
Posted to
Free For All
(Forum)
by
satish_nagdev
on 7/28/2008
Filed under: ASP.NET Gridview Custom Paging using Generics and few tricks
Re: retrieve data on TreeView Node Click Event
I'm not 100% sure what you are trying to do, but from what I understand http://www.codeproject.com/KB/aspnet/ihatetomato.aspx has what you might find usefull. Thanks, Satish.
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
satish_nagdev
on 7/24/2008
Re: difference between a.Equals(b) and a == b?
Karan, reference simply put is address of memory location where data for the object is stored. .NET maintains reference using HashCode per my knowledge if you run obj.GetHashCode() in situations like A a = new A(); A b = a; you'll get same value which is basically both instances are pointing to same memory location.
Posted to
Getting Started
(Forum)
by
satish_nagdev
on 7/23/2008
Re: Multiple line alert
[quote user="jesibl"] And to call this function I use: String myMessage = "Hello \n" +; "there!"; Alert.Show(myMessage); What could I be doing wrong? [/quote] replace with this String myMessage =@"Hello \n" + "there!"; Alert.Show(myMessage); if you won't put @ '\' won't be treated as part of string i.e. escape sequence. in this case we want \n to be part of string that will be sent to alert, that in turn will be interpreted properly
Posted to
Client Side Web Development
(Forum)
by
satish_nagdev
on 7/23/2008
Re: difference between a.Equals(b) and a == b?
Hi Karan, its very basic question, one checks equality of values and other checks the equality of references. class Class1 { static void Main( string [] args) { A a = new A(20); A a1 = new A(30); A a2 = a1; A b = new A(20); Console.WriteLine( string .Format("a.Equals(a1) = {0}", a.Equals(a1))); Console.WriteLine( string .Format("a2==a1 = {0}", a2==a1)); Console.WriteLine( string .Format("b.Equals(a) = {0}", a.Equals(b))); Console.WriteLine( string .Format("b==a
Posted to
Getting Started
(Forum)
by
satish_nagdev
on 7/18/2008
Re: getting the primary key of the newly inserted row
[quote user="gurly"] SqlCommand cmd2 = new SqlCommand( "INSERT INTO EstimateDetails (CostingID, MajorCategoryID, MaterialID, Quantity, UnitMeasureID, UnitPrice, LaborCost, TotalUnitCost, TotalAmount, SubTotal) VALUES (@CostingID'" + MajCatID + "','" + MatID + "','" + qty + "','" + DDL.SelectedValue + "','" + UPrice + "','" + LCost + "','" + totalUCost + "','"
Posted to
Data Presentation Controls
(Forum)
by
satish_nagdev
on 7/15/2008
Re: getting the primary key of the newly inserted row
use scope_identity() as its more preferred . http://msdn.microsoft.com/en-us/library/aa259185(SQL.80).aspx secondly, you are closing the connection in for loop. put code in try/catch
Posted to
Data Presentation Controls
(Forum)
by
satish_nagdev
on 7/15/2008
Re: Problem with updating Chinese text in sql server
Hi, what data type you are using? I would use nvarchar. please check this http://msdn.microsoft.com/en-us/library/bb330962.aspx#intlftrql2005_topic2 Thanks SN
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
satish_nagdev
on 7/4/2008
Re: generating html table from datatable & sending it as body of email.
Hi TaffyLewis, my bad i forgot to mention its .NET 1.1 code, did you set the BodyFormat as that is main step anyway following is .NET 2.0 version if you are working on 2.0 ====================== import System.Net.Mail; dt.Columns.Add ( new DataColumn ( "PID" )); dt.Columns.Add( new DataColumn ( "Name" )); DataRow dr = dt.NewRow(); dr[0] = 1; dr[1] = "Satish" ; dt.Rows.Add(dr); MailMessage mm = new MailMessage ( "a@b.com" , "a@b.com" ); StringBuilder
Posted to
Tips & Tricks
(Forum)
by
satish_nagdev
on 3/13/2008
Page 1 of 142 (1419 items) 1
2
3
4
5
Next >
...
Last »
Channel 9:
TWC9: XAML tools, Silverlight for Live Writer, Surface SDK,
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...
Silverlight:
Geek Profiles – Scott Guthrie
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 9 of 13
TechNet Edge:
Managing Your Virtual World - Tech Focus November 2009 Part 2
ASP.NET:
Silverlight and RIA Services: Implementing Search
Channel 9:
C9 Lectures: Brian Beckman - Covariance and Contravariance in Physics 1 of 1
Channel 9:
Set Your Data Free
Channel 9:
Implementing a Silverlight SharePoint WebPart with Visual Studio 2010
WindowsClient:
New WPF Showcase Addition: Enterprise
Channel 9:
Reactive Extensions API in depth: Contract
WindowsClient:
Concluding "New WPF Features" Series
WindowsClient:
Introduction to TestApi – Part 5: Managed Code Fault Injection APIs
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online