Click here to Skip to main content
15,892,298 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Log out in closing Pin
Abhijit Jana15-Jan-09 5:05
professionalAbhijit Jana15-Jan-09 5:05 
JokeRe: Log out in closing Pin
ahmed eldeghedy15-Jan-09 21:21
professionalahmed eldeghedy15-Jan-09 21:21 
QuestionCreating a web page using dynamic data from xml file? Pin
Suj_7815-Jan-09 1:57
Suj_7815-Jan-09 1:57 
AnswerRe: Creating a web page using dynamic data from xml file? Pin
Not Active15-Jan-09 2:03
mentorNot Active15-Jan-09 2:03 
QuestionAdding RequiredFieldValidtors programmatically Pin
meeram39515-Jan-09 0:41
meeram39515-Jan-09 0:41 
AnswerRe: Adding RequiredFieldValidtors programmatically Pin
Abhijit Jana15-Jan-09 1:03
professionalAbhijit Jana15-Jan-09 1:03 
AnswerRe: Adding RequiredFieldValidtors programmatically Pin
SachinKumar M15-Jan-09 1:10
SachinKumar M15-Jan-09 1:10 
QuestionGridview Rowcommand Problem Pin
soniasan14-Jan-09 23:57
soniasan14-Jan-09 23:57 
In Gridview
CaseNo ,HearingDate,To,CC,BCC
this data is shown. CaseNo is Primary Key
I am having button "SendMail" in that grid view.

In gridview Rowcommand Event i write this code
if i click on first row send mail command button then
Label9.text get First caseno t.e. "LER/111"

Simillarly i want To,CC BCC Cell value of that row
How i can able to get that
<br />
Protected Sub MailDetailsGridView_RowCommand(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewCommandEventArgs) Handles MailDetailsGridView.RowCommand<br />
        ''Code Added For The Send Mail........<br />
        If (e.CommandName = "SendMail") Then<br />
           <br />
            Label9.Text = e.CommandArgument.ToString()<br />
<br />
            Dim row As GridViewRow<br />
            row = CType(CType(e.CommandSource, Control).NamingContainer, GridViewRow)<br />
            Dim email As String = CType(row.Cells(6), DataControlFieldCell).Text<br />
<br />
            If (row.RowType = DataControlRowType.DataRow) Then<br />
                Dim txtCCMail As TextBox<br />
                Dim ToMail As String<br />
                txtCCMail = row.Cells(6).Controls(0).FindControl("ToTextBox")<br />
                ToMail = txtCCMail.Text<br />
            End If<br />
        End If<br />
<br />
    End Sub<br />
<br />

AnswerRe: Gridview Rowcommand Problem Pin
Rajeesh MP15-Jan-09 1:24
Rajeesh MP15-Jan-09 1:24 
AnswerRe: Gridview Rowcommand Problem Pin
Rajeesh MP15-Jan-09 1:25
Rajeesh MP15-Jan-09 1:25 
QuestionAsp.net application deployment, on Webserver Pin
Hassan Akhtar Ali14-Jan-09 23:55
Hassan Akhtar Ali14-Jan-09 23:55 
AnswerRe: Asp.net application deployment, on Webserver Pin
Rajeesh MP15-Jan-09 1:54
Rajeesh MP15-Jan-09 1:54 
GeneralRe: Asp.net application deployment, on Webserver Pin
Hassan Akhtar Ali15-Jan-09 20:28
Hassan Akhtar Ali15-Jan-09 20:28 
Questionfinding a text from a gridview Pin
sandhya1414-Jan-09 23:33
sandhya1414-Jan-09 23:33 
AnswerRe: finding a text from a gridview Pin
sandhya1415-Jan-09 21:03
sandhya1415-Jan-09 21:03 
Questiondownload problem from Secure Sockets Layer enabled site(https) Pin
DotnetRafi14-Jan-09 23:30
DotnetRafi14-Jan-09 23:30 
QuestionGetting Current website connections through .net Pin
markymark8214-Jan-09 23:26
markymark8214-Jan-09 23:26 
AnswerRe: Getting Current website connections through .net Pin
NeverHeardOfMe15-Jan-09 0:41
NeverHeardOfMe15-Jan-09 0:41 
GeneralRe: Getting Current website connections through .net Pin
markymark8215-Jan-09 0:42
markymark8215-Jan-09 0:42 
QuestionGridview selection Pin
bishwambhar_sen14-Jan-09 23:08
bishwambhar_sen14-Jan-09 23:08 
AnswerRe: Gridview selection Pin
_AK_15-Jan-09 0:01
_AK_15-Jan-09 0:01 
AnswerRe: Gridview selection Pin
Rajeesh MP15-Jan-09 1:57
Rajeesh MP15-Jan-09 1:57 
Questionpage refresh problem Pin
bhavna432114-Jan-09 21:44
bhavna432114-Jan-09 21:44 
AnswerRe: page refresh problem Pin
N a v a n e e t h14-Jan-09 21:54
N a v a n e e t h14-Jan-09 21:54 
GeneralRe: page refresh problem Pin
bhavna432114-Jan-09 21:57
bhavna432114-Jan-09 21:57 

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.