Click here to Skip to main content
15,904,339 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionCreating Popup menu dynamically Pin
Rajiya22-May-07 5:50
Rajiya22-May-07 5:50 
QuestionAjax Progress barr Pin
Krrish22-May-07 5:35
Krrish22-May-07 5:35 
QuestionWSH setdefaultprinter doesn't work. Why? Pin
orinoco7722-May-07 5:22
orinoco7722-May-07 5:22 
QuestionASP.NET Social Network Features - Any Tutorials? Pin
JackChase22-May-07 5:16
JackChase22-May-07 5:16 
QuestionActiveDirectory Pin
vmsrdy22-May-07 3:57
vmsrdy22-May-07 3:57 
AnswerRe: ActiveDirectory Pin
Not Active22-May-07 4:40
mentorNot Active22-May-07 4:40 
Questiongridview Pin
s.a.Rahman22-May-07 3:38
s.a.Rahman22-May-07 3:38 
AnswerRe: gridview Pin
Sherin Iranimose22-May-07 18:10
Sherin Iranimose22-May-07 18:10 
Hi,

Add Three template fields(for example label) to the grid view.
Bound the first 2 template fields to your table fields.

Then add "RowDataBound" Event handler to the grid view.
Add following code snippet into your RowDataBound event handler
Dim gr As GridViewRow = e.Row
  If (gr.DataItemIndex <> -1) Then 'Not a header cell
    Dim cell1 As Label = gr.FindControl("Label1") 'First cell's label ID
    Dim cell2 As Label = gr.FindControl("Label2") 'Second cell's label ID
    Dim cell3 As Label = gr.FindControl("Label3") 'third cell's label ID,   here store result
    'You want to convert the "cell1.Text, cell2.Text" to integer for addition
    cell3.Text = cell1.Text + cell2.Text 'change this to your expression
  End If





To succeed, we must first believe that we can.
Sherin Iranimose




QuestionTime formating Pin
Rajiya22-May-07 3:02
Rajiya22-May-07 3:02 
AnswerRe: Time formating Pin
kubben22-May-07 3:05
kubben22-May-07 3:05 
GeneralRe: Time formating Pin
Rajiya22-May-07 5:53
Rajiya22-May-07 5:53 
GeneralRe: Time formating Pin
kubben22-May-07 5:59
kubben22-May-07 5:59 
GeneralRe: Time formating Pin
Steven J Jowett22-May-07 6:05
Steven J Jowett22-May-07 6:05 
AnswerRe: Time formating Pin
deep723-May-07 2:37
deep723-May-07 2:37 
QuestionPositioning of controls based on Arabic culture Pin
deep722-May-07 2:29
deep722-May-07 2:29 
AnswerRe: Positioning of controls based on Arabic culture Pin
Sherin Iranimose22-May-07 2:40
Sherin Iranimose22-May-07 2:40 
AnswerRe: Positioning of controls based on Arabic culture Pin
Sherin Iranimose22-May-07 2:52
Sherin Iranimose22-May-07 2:52 
GeneralRe: Positioning of controls based on Arabic culture Pin
deep722-May-07 3:17
deep722-May-07 3:17 
GeneralRe: Positioning of controls based on Arabic culture Pin
Sherin Iranimose22-May-07 18:23
Sherin Iranimose22-May-07 18:23 
GeneralRe: Positioning of controls based on Arabic culture Pin
deep723-May-07 0:43
deep723-May-07 0:43 
Questionusing XMLHttpRequest as Native Script Object in IE Pin
248912822-May-07 2:23
248912822-May-07 2:23 
Questionhow to Host webapplication into website. Pin
Sophia Rekhi22-May-07 1:51
Sophia Rekhi22-May-07 1:51 
AnswerRe: how to Host webapplication into website. Pin
N a v a n e e t h22-May-07 2:55
N a v a n e e t h22-May-07 2:55 
AnswerRe: how to Host webapplication into website. Pin
kubben22-May-07 3:03
kubben22-May-07 3:03 
Questiongmail to .net web application Pin
praveenanand22-May-07 1:33
praveenanand22-May-07 1:33 

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.