Click here to Skip to main content
15,912,204 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: how to disable previous date in the AJAX calender extended? ******** urgent ******** Pin
pmarfleet15-Mar-08 7:08
pmarfleet15-Mar-08 7:08 
AnswerRe: how to disable previous date in the AJAX calender extended? ******** urgent ******** Pin
Paul Conrad15-Mar-08 7:59
professionalPaul Conrad15-Mar-08 7:59 
AnswerRe: how to disable previous date in the AJAX calender extended? ******** urgent ******** Pin
Not Active15-Mar-08 12:54
mentorNot Active15-Mar-08 12:54 
GeneralNavigate records in textbox...... Pin
pranavcool15-Mar-08 4:26
pranavcool15-Mar-08 4:26 
GeneralRe: Navigate records in textbox...... Pin
pmarfleet15-Mar-08 7:04
pmarfleet15-Mar-08 7:04 
QuestionAssigning dynamic id for html controls in repeater Pin
muthurajaramachandran15-Mar-08 2:36
muthurajaramachandran15-Mar-08 2:36 
QuestionGridView control data calculation? Pin
Sasmi15-Mar-08 1:43
Sasmi15-Mar-08 1:43 
GeneralRe: GridView control data calculation? Pin
Herman<T>.Instance14-Apr-08 4:49
Herman<T>.Instance14-Apr-08 4:49 
Hi,

the gridview has an OnRowDataBound event. In that event you can do your thing like:
Int32 Total = 0;
Int32 ValueCol1 = 0;
Int32 ValueCol2 = 0;
Int32 Together = 0;
if (e.Row.RowType.Equals(DataControlRowType.DataRow))
            {

                try
                {
                    DataTable tabel = (DataTable)myGridView.DataSource;
                    ValueCol1 = Convert.ToInt32(tabel.Rows[e.Row.RowIndex].ItemArray[0]);
                    ValueCol2 = Convert.ToInt32(tabel.Rows[e.Row.RowIndex].ItemArray[1]);
                    Together = ValueCol1 * ValueCol2;
                    Total += Together;
                }
                catch (Exception err)
                {
                    lblError.Text = err.Message;
                }
            }
if (e.Row.RowType.Equals(DataControlRowType.Footer))
{
       e.Row.Cells[2].Text = Total.ToString();
}


for: ValueCol1 = Convert.ToInt32(tabel.Rows[e.Row.RowIndex].ItemArray[0]);
find the appropriate field in the ItemArray. Field[0] is the first displayed field
Questionhow to select the entire text in the textbox Pin
lakshmichawala15-Mar-08 0:58
lakshmichawala15-Mar-08 0:58 
GeneralCase Sensitive in sqlserver Pin
Trishul Tandel15-Mar-08 0:47
Trishul Tandel15-Mar-08 0:47 
GeneralRe: Case Sensitive in sqlserver Pin
Jintal Patel15-Mar-08 0:52
Jintal Patel15-Mar-08 0:52 
GeneralRe: Case Sensitive in sqlserver Pin
pmarfleet15-Mar-08 1:27
pmarfleet15-Mar-08 1:27 
GeneralRe: Case Sensitive in sqlserver Pin
Vasudevan Deepak Kumar15-Mar-08 4:29
Vasudevan Deepak Kumar15-Mar-08 4:29 
Questionhow i want to make one panel display when first click and hide when second click Pin
bigphish15-Mar-08 0:35
bigphish15-Mar-08 0:35 
AnswerRe: how i want to make one panel display when first click and hide when second click Pin
meghamaharshi15-Mar-08 0:42
meghamaharshi15-Mar-08 0:42 
QuestionCreate a simple custom control [modified] Pin
jinovv14-Mar-08 23:59
jinovv14-Mar-08 23:59 
GeneralRe: Create a simple custom control Pin
Abhijit Jana15-Mar-08 0:12
professionalAbhijit Jana15-Mar-08 0:12 
QuestionHow to bind RadioButtonList in a formview in insert mode. Pin
Trishul Tandel14-Mar-08 23:20
Trishul Tandel14-Mar-08 23:20 
GeneralDatagrid binding into two columns Pin
VanithaVasu14-Mar-08 23:04
VanithaVasu14-Mar-08 23:04 
Generalneed some guggession for speeding up of web page Pin
mohd imran abdul aziz14-Mar-08 22:18
mohd imran abdul aziz14-Mar-08 22:18 
GeneralRe: need some guggession for speeding up of web page Pin
pmarfleet15-Mar-08 1:32
pmarfleet15-Mar-08 1:32 
Questiondelegate Pin
Pankaj Garg14-Mar-08 21:46
Pankaj Garg14-Mar-08 21:46 
General[Out of Topic] Your signature Pin
Vasudevan Deepak Kumar15-Mar-08 4:27
Vasudevan Deepak Kumar15-Mar-08 4:27 
GeneralTable Merge [modified] Pin
md_refay14-Mar-08 21:02
md_refay14-Mar-08 21:02 
GeneralRe: Table Merge Pin
Abhijit Jana14-Mar-08 21:11
professionalAbhijit Jana14-Mar-08 21:11 

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.