Click here to Skip to main content
15,917,456 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: how to solve the ScriptResource.axd exception problem? Pin
PIEBALDconsult12-Jul-12 3:59
mvePIEBALDconsult12-Jul-12 3:59 
Questionweb app places you on logon page after 3 minutes Pin
dcof11-Jul-12 12:21
dcof11-Jul-12 12:21 
AnswerRe: web app places you on logon page after 3 minutes Pin
R. Giskard Reventlov11-Jul-12 12:32
R. Giskard Reventlov11-Jul-12 12:32 
GeneralRe: web app places you on logon page after 3 minutes Pin
dcof11-Jul-12 16:08
dcof11-Jul-12 16:08 
GeneralRe: web app places you on logon page after 3 minutes Pin
Parwej Ahamad12-Jul-12 2:40
professionalParwej Ahamad12-Jul-12 2:40 
AnswerRe: web app places you on logon page after 3 minutes Pin
jkirkerx12-Jul-12 8:13
professionaljkirkerx12-Jul-12 8:13 
QuestionPanel to look like tab control Pin
byka11-Jul-12 8:47
byka11-Jul-12 8:47 
AnswerRe: Panel to look like tab control Pin
R. Giskard Reventlov11-Jul-12 10:46
R. Giskard Reventlov11-Jul-12 10:46 
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 

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.