senthilselvan durairaj


{ City } chennai
< Country > india
* Profession *
User No # 5650
Total Questions Posted # 0
Total Answers Posted # 3

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 52
Users Marked my Answers as Wrong # 7
Questions / { senthilselvan durairaj }
Questions Answers Category Views Company eMail




Answers / { senthilselvan durairaj }

Question { 12654 }

Why is catch(Exception) almost always a bad idea?


Answer

if you know what kind of error may occur in that block mean
, will it be right to use catch block without handling the
proper validation?

Is This Answer Correct ?    2 Yes 1 No

Question { 26757 }

Is string a value type or a reference type?


Answer

string is a reference type.

string str = "hello";
char x = str[1];

here what we do is handling the memory.
which type allows you to handle the memory is reference types.

Is This Answer Correct ?    26 Yes 1 No


Question { HP, 19519 }

How do you bind array to gridview? Will it works?


Answer

int[] arr = { 1, 2, 3, 4, 5, 6, 7, 8 };
GridView1.DataSource = arr;
GridView1.DataBind();

try this.

Is This Answer Correct ?    24 Yes 5 No