Click here to Skip to main content
15,889,116 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Panel to look like tab control Pin
Rahul Rajat Singh12-Jul-12 1:02
professionalRahul Rajat Singh12-Jul-12 1:02 
Questionhi Pin
ashokaru11-Jul-12 0:43
ashokaru11-Jul-12 0:43 
AnswerRe: hi Pin
Sandeep Mewara11-Jul-12 1:51
mveSandeep Mewara11-Jul-12 1:51 
AnswerRe: hi Pin
Abhinav S11-Jul-12 16:15
Abhinav S11-Jul-12 16:15 
AnswerRe: hi Pin
zhxhdean11-Jul-12 19:23
zhxhdean11-Jul-12 19:23 
AnswerRe: hi Pin
Rahul Rajat Singh12-Jul-12 0:58
professionalRahul Rajat Singh12-Jul-12 0:58 
AnswerRe: hi Pin
meeram39518-Jul-12 1:06
meeram39518-Jul-12 1:06 
Generalerror index out of range exception was unhandled by user code Pin
Member 245846710-Jul-12 20:17
Member 245846710-Jul-12 20:17 
You can for example enter the length and width of the web (VS.NET2005), when it runs out of range index error exception was unhandled by user code for chieudai

public class Tinh
{
private Int32 _quanhuyen;
private String _diachiNha;
private Double _chieudai;
private Double _chieurong;
private Double _dientichDat;
}

public Int32 Quanhuyen
{
get { return _quanhuyen; }
set { _quanhuyen = value; }
}

public String DiachiNha
{
get { return _diachiNha; }
set { _diachiNha = value; }
}

public Double Chieudai
{
get { return _chieudai; }
set { _chieudai = value; }
}

public Double Chieurong
{
get { return _chieurong; }
set { _chieurong = value; }
}

public Double DientichDat
{
get { return _dientichDat; }
set { _dientichDat = value; }
}

private Tinh DienTich(IDataReader dr, bool GetTotalRecords)
{
Tinh obj = new Tinh();
...
obj.Quanhuyen = (dr["Quanhuyen"] is DBNull) ? Int32.MinValue : (Int32)dr["Quanhuyen"];
obj.DiachiNha = (dr["DiachiNha"] is DBNull) ? String.Empty : (String)dr["DiachiNha"];
// bottom line this error index out of range exception was unhandled by user code
obj.Chieudai = (dr["Chieudai"] is DBNull) ? Double.MinValue : (Double)dr["Chieudai"];
obj.Chieurong = (dr["Chieurong"] is DBNull) ? Double.MinValue : (Double)dr["Chieurong"];
obj.DientichDat = (dr["DientichDat"] is DBNull) ? Double.MinValue : (Double)dr["DientichDat"];
if (GetTotalRecords)
obj.TotalRecords = (dr["TotalRecords"] is DBNull) ? -1 : Globals.ConvertToInt32(dr["TotalRecords"]);

return obj;
}

error index out of range exception was unhandled by user code

modified 11-Jul-12 3:04am.

GeneralRe: error index out of range exception was unhandled by user code Pin
AmitGajjar10-Jul-12 22:26
professionalAmitGajjar10-Jul-12 22:26 
GeneralRe: error index out of range exception was unhandled by user code Pin
jkirkerx11-Jul-12 18:24
professionaljkirkerx11-Jul-12 18:24 
GeneralRe: error index out of range exception was unhandled by user code Pin
Member 245846711-Jul-12 21:54
Member 245846711-Jul-12 21:54 
Questioncompare expire date with current date for validation of user Pin
gyanendragope10-Jul-12 18:25
gyanendragope10-Jul-12 18:25 
AnswerRe: compare expire date with current date for validation of user Pin
Rahul Rajat Singh10-Jul-12 19:36
professionalRahul Rajat Singh10-Jul-12 19:36 
QuestionC# web config connect to database Pin
sc steinhayse10-Jul-12 17:35
sc steinhayse10-Jul-12 17:35 
QuestionDate1904 value for the uploaded excel file in ASP.Net application Pin
indian14310-Jul-12 11:18
indian14310-Jul-12 11:18 
QuestionAdd Button in MVC3 Pin
Allikurt10-Jul-12 6:32
Allikurt10-Jul-12 6:32 
GeneralOn GridView each row update Need to show update Record in other gridview Pin
Asif20129-Jul-12 21:09
Asif20129-Jul-12 21:09 
AnswerRe: On GridView each row update Need to show update Record in other gridview Pin
Dhyanga11-Jul-12 6:11
Dhyanga11-Jul-12 6:11 
Questionoptimized load of asp.net dll Pin
sc steinhayse8-Jul-12 8:30
sc steinhayse8-Jul-12 8:30 
AnswerRe: optimized load of asp.net dll Pin
markovl9-Jul-12 21:18
markovl9-Jul-12 21:18 
GeneralRe: optimized load of asp.net dll Pin
sc steinhayse10-Jul-12 17:34
sc steinhayse10-Jul-12 17:34 
AnswerRe: optimized load of asp.net dll Pin
markovl10-Jul-12 19:45
markovl10-Jul-12 19:45 
GeneralRe: optimized load of asp.net dll Pin
sc steinhayse11-Jul-12 10:33
sc steinhayse11-Jul-12 10:33 
Questionweb app using linq to sql Pin
dcof8-Jul-12 6:16
dcof8-Jul-12 6:16 
AnswerRe: web app using linq to sql Pin
R. Giskard Reventlov9-Jul-12 5:21
R. Giskard Reventlov9-Jul-12 5:21 

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.