Click here to Skip to main content
15,891,253 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Deployee in Client machine Pin
The_Collector9-May-09 3:54
The_Collector9-May-09 3:54 
GeneralRe: Deployee in Client machine Pin
mdazeemuddin9-May-09 21:30
mdazeemuddin9-May-09 21:30 
QuestionDrag and drop functionality Pin
Nekkantidivya8-May-09 22:31
Nekkantidivya8-May-09 22:31 
AnswerRe: Drag and drop functionality Pin
Hristiyan9-May-09 1:03
Hristiyan9-May-09 1:03 
Questionhow i use usercontrol( 3 Dropdownlist -Date input) in formview --- please !! Pin
darkman698-May-09 21:11
darkman698-May-09 21:11 
Questionvalidation controls in asp Pin
sritha8-May-09 19:54
sritha8-May-09 19:54 
AnswerRe: validation controls in asp Pin
Kaushal Arora8-May-09 22:51
Kaushal Arora8-May-09 22:51 
QuestionPlease help me in gridview binding Pin
thileepansekaran8-May-09 17:52
thileepansekaran8-May-09 17:52 
I have grid view with teo fields.I want bind the records of particular row to the corresponding textboxes while clicking on the particular row.....I used the "onclick" command for getting clickable on that row but dont know how bind the records to their corresponding textbox...Please help me...Here is the code

<br />
 protected void Page_Load(object sender, EventArgs e)<br />
    {<br />
        if (!IsPostBack)<br />
        {<br />
            binding();<br />
<br />
        }<br />
 void binding()<br />
    {<br />
        con.Open();<br />
        cmd = new SqlCommand();<br />
        cmd.CommandType = CommandType.Text;<br />
        cmd.CommandText = "Select * from student";<br />
        cmd.Connection = con;<br />
        SqlDataAdapter ad = new SqlDataAdapter(cmd);<br />
        DataSet ds = new DataSet();<br />
        ad.Fill(ds);<br />
        GridView1.DataSource = ds.Tables[0];<br />
        GridView1.DataBind();<br />
    }<br />
    protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)<br />
    {<br />
 if (e.Row.RowType == DataControlRowType.DataRow)<br />
            {<br />
 if (e.Row.DataItemIndex == -1)<br />
            return;<br />
        e.Row.Attributes.Add("onMouseOver","this.style.cursor='hand';");<br />
        e.Row.Attributes.Add("onclick",<br />
            this.GetPostBackClientEvent(GridView1,"Select$" + e.Row.RowIndex.ToString()));    <br />
    }<br />
<br />


Thanks in advance
Thileepan Sniff | :^)
QuestionWhat is it called? Pin
misCafe8-May-09 17:16
misCafe8-May-09 17:16 
AnswerRe: What is it called? Pin
Kaushal Arora8-May-09 22:55
Kaushal Arora8-May-09 22:55 
GeneralRe: What is it called? Pin
misCafe10-May-09 14:43
misCafe10-May-09 14:43 
QuestionHow can save and read data into the session state for user name and password? Pin
Aung Paing8-May-09 17:08
Aung Paing8-May-09 17:08 
AnswerRe: How can save and read data into the session state for user name and password? Pin
ShilpaGinodiya9-May-09 2:14
ShilpaGinodiya9-May-09 2:14 
QuestionCSS on Treeview not working Pin
AndyASPVB8-May-09 13:19
AndyASPVB8-May-09 13:19 
QuestionGridview Pin
hahii8-May-09 13:03
hahii8-May-09 13:03 
AnswerRe: Gridview Pin
Christian Graus8-May-09 14:45
protectorChristian Graus8-May-09 14:45 
GeneralRe: Gridview Pin
hahii8-May-09 17:16
hahii8-May-09 17:16 
AnswerRe: Gridview Pin
Amit Patel19858-May-09 21:24
Amit Patel19858-May-09 21:24 
QuestionListview and unbound control values Pin
C. L. Phillip8-May-09 10:08
C. L. Phillip8-May-09 10:08 
AnswerRe: Listview and unbound control values Pin
Atif Shahbaz8-May-09 21:55
Atif Shahbaz8-May-09 21:55 
GeneralRe: Listview and unbound control values Pin
C. L. Phillip11-May-09 3:12
C. L. Phillip11-May-09 3:12 
Questionmenu items Pin
hahii8-May-09 9:32
hahii8-May-09 9:32 
QuestionObject Expected error Pin
yasBinder8-May-09 9:07
yasBinder8-May-09 9:07 
AnswerRe: Object Expected error Pin
Christian Graus8-May-09 14:47
protectorChristian Graus8-May-09 14:47 
Questionhow to access cross domain using JSON ajax Pin
hannahwill8-May-09 5:12
hannahwill8-May-09 5:12 

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.