Click here to Skip to main content
15,899,124 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionhow to display numbers in words Pin
Pawan Kiran9-May-09 3:11
Pawan Kiran9-May-09 3:11 
AnswerRe: how to display numbers in words Pin
Abhijit Jana9-May-09 3:24
professionalAbhijit Jana9-May-09 3:24 
AnswerRe: how to display numbers in words Pin
Ramesh Swaminathan9-May-09 3:29
Ramesh Swaminathan9-May-09 3:29 
QuestionASPX using third party UI OCX file Pin
The_Collector9-May-09 3:08
The_Collector9-May-09 3:08 
AnswerRe: ASPX using third party UI OCX file Pin
Ramesh Swaminathan9-May-09 3:34
Ramesh Swaminathan9-May-09 3:34 
GeneralRe: ASPX using third party UI OCX file Pin
The_Collector9-May-09 3:49
The_Collector9-May-09 3:49 
GeneralRe: ASPX using third party UI OCX file Pin
The_Collector15-May-09 22:52
The_Collector15-May-09 22:52 
Questioncapture Gridview cell value to an integer variable Pin
Pawan Kiran9-May-09 2:44
Pawan Kiran9-May-09 2:44 
I have a gridview
i want to capture the gridview cell value to a int varible.
i wrote the code as below

int s=0;
for (int i = 0; i < GvFeeTransaction.Rows.Count - 1; i++)
            {
                  CheckBox c = ((CheckBox)(GvFeeTransaction.Rows[i].FindControl("ChkSelect")));
                  if (c.Checked)
                  {
                        if (GvFeeTransaction.Rows[i].Cells[4].Text.Trim() != " ")
                        {
                              s = s + int.Parse(GvFeeTransaction.Rows[i].Cells[4].Text);
                              s = s + Convert.ToInt32(GvFeeTransaction.Rows[i].Cells[4].Text);
                              s =s+(int)(GvFeeTransaction.Rows[i].Cells[4].Text);
                        }
                        else
                        {
                              s = s + 0;
                        }
                       
                  }
            }

nothing is working perfectly means int.parse,convert.toint32,(int)-------
it is showing

Input string was not in a correct format.

i want the sol for this one
i need the answer let me know the exact sol from u.
AnswerRe: capture Gridview cell value to an integer variable Pin
Ramesh Swaminathan9-May-09 3:42
Ramesh Swaminathan9-May-09 3:42 
AnswerRe: capture Gridview cell value to an integer variable Pin
AlexeiXX39-May-09 17:18
AlexeiXX39-May-09 17:18 
QuestionBrowse ASP.NET app on windows mobile Pin
sunit_829-May-09 1:03
sunit_829-May-09 1:03 
AnswerRe: Browse ASP.NET app on windows mobile Pin
AlexeiXX39-May-09 17:20
AlexeiXX39-May-09 17:20 
GeneralRe: Browse ASP.NET app on windows mobile Pin
sunit_8210-May-09 20:19
sunit_8210-May-09 20:19 
QuestionHow to select area on a panel Pin
Nekkantidivya9-May-09 0:34
Nekkantidivya9-May-09 0:34 
AnswerRe: How to select area on a panel Pin
Christian Graus9-May-09 10:29
protectorChristian Graus9-May-09 10:29 
AnswerRe: How to select area on a panel Pin
Yusuf9-May-09 11:15
Yusuf9-May-09 11:15 
Questiongenerate html control object based on the given string Pin
Maxy558-May-09 23:57
Maxy558-May-09 23:57 
AnswerRe: generate html control object based on the given string Pin
AhsanS9-May-09 0:09
AhsanS9-May-09 0:09 
GeneralRe: generate html control object based on the given string Pin
Maxy559-May-09 0:25
Maxy559-May-09 0:25 
Questiongridview Pin
sritha8-May-09 23:52
sritha8-May-09 23:52 
AnswerRe: gridview Pin
Blue_Boy8-May-09 23:55
Blue_Boy8-May-09 23:55 
AnswerRe: gridview Pin
Christian Graus9-May-09 10:38
protectorChristian Graus9-May-09 10:38 
AnswerRe: gridview Pin
EssamDev9-May-09 12:28
EssamDev9-May-09 12:28 
Question[newbie] Text size problem Pin
jon-808-May-09 23:50
professionaljon-808-May-09 23:50 
AnswerRe: [newbie] Text size problem Pin
AhsanS9-May-09 0:13
AhsanS9-May-09 0:13 

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.