Click here to Skip to main content
15,887,083 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralSpeaking of a soap box Pin
Ennis Ray Lynch, Jr.30-Aug-10 5:03
Ennis Ray Lynch, Jr.30-Aug-10 5:03 
GeneralRe: reference server by name, not address Pin
vijaylumar30-Aug-10 19:21
vijaylumar30-Aug-10 19:21 
AnswerRe: Connecting to Database Pin
T M Gray30-Aug-10 8:27
T M Gray30-Aug-10 8:27 
QuestionRelationShip Betweem dataset Pin
Member 387988129-Aug-10 20:41
Member 387988129-Aug-10 20:41 
AnswerRe: RelationShip Betweem dataset Pin
Ankur\m/30-Aug-10 0:37
professionalAnkur\m/30-Aug-10 0:37 
QuestionHow to ignore -ve value while sorting generic list in c#. Pin
rahul.net1129-Aug-10 20:06
rahul.net1129-Aug-10 20:06 
AnswerRe: How to ignore -ve value while sorting generic list in c#. [modified] Pin
Prosanta Kundu online29-Aug-10 23:21
Prosanta Kundu online29-Aug-10 23:21 
AnswerRe: How to ignore -ve value while sorting generic list in c#. Pin
cramteke30-Aug-10 0:04
cramteke30-Aug-10 0:04 
you can do some thing like this

public partial class _Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        List<decimal> lstIntCol = new List<decimal>();
        lstIntCol.Add(0.3M);
        lstIntCol.Add(0.2M);
        lstIntCol.Add(-0.3M);
        lstIntCol.Sort(new decimalComparer());
        foreach (decimal d in lstIntCol)
        {
            Response.Write(d.ToString() + "--");
        }
    }
}

public class decimalComparer : System.Collections.Generic.IComparer<decimal>
{

    #region IComparer<decimal> Members

    public int Compare(decimal x, decimal y)
    {
        return decimal.Compare(Math.Abs(y),Math.Abs(x));
    }

    #endregion
}

Generalfile does not begin with '%PDF-'. Pin
Member 279485929-Aug-10 19:24
Member 279485929-Aug-10 19:24 
GeneralRe: file does not begin with '%PDF-'. Pin
alejandro fon30-Nov-10 12:37
alejandro fon30-Nov-10 12:37 
Question2 sql exceptions Pin
benams28-Aug-10 18:08
benams28-Aug-10 18:08 
AnswerRe: 2 sql exceptions Pin
Abhijit Jana28-Aug-10 18:27
professionalAbhijit Jana28-Aug-10 18:27 
GeneralRe: 2 sql exceptions Pin
benams28-Aug-10 18:53
benams28-Aug-10 18:53 
QuestionHow can i get .net job in UK Pin
anoop_m8328-Aug-10 12:29
anoop_m8328-Aug-10 12:29 
AnswerRe: How can i get .net job in UK Pin
Not Active28-Aug-10 14:03
mentorNot Active28-Aug-10 14:03 
AnswerRe: How can i get .net job in UK Pin
Sandeep Mewara28-Aug-10 21:28
mveSandeep Mewara28-Aug-10 21:28 
QuestionPaypal Integration Pin
gautamamit828-Aug-10 2:16
gautamamit828-Aug-10 2:16 
AnswerRe: Paypal Integration Pin
dan!sh 28-Aug-10 4:02
professional dan!sh 28-Aug-10 4:02 
AnswerRe: Paypal Integration Pin
raju melveetilpurayil28-Aug-10 12:25
professionalraju melveetilpurayil28-Aug-10 12:25 
QuestionClass definition [modified] Pin
future383928-Aug-10 1:42
future383928-Aug-10 1:42 
AnswerRe: Class definition [modified] Pin
dan!sh 28-Aug-10 4:00
professional dan!sh 28-Aug-10 4:00 
AnswerRe: Class definition Pin
Yusuf28-Aug-10 4:54
Yusuf28-Aug-10 4:54 
AnswerRe: Class definition Pin
Not Active28-Aug-10 11:31
mentorNot Active28-Aug-10 11:31 
QuestionJQuery not working in user control [modified] Pin
afsal qureshi27-Aug-10 23:52
afsal qureshi27-Aug-10 23:52 
AnswerRe: JQuery not working in user control Pin
Abhijit Jana28-Aug-10 0:01
professionalAbhijit Jana28-Aug-10 0:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.