Click here to Skip to main content
15,889,862 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionCan you help me in asp.net? Thank you Pin
abglorie31-Jan-08 17:04
abglorie31-Jan-08 17:04 
AnswerRe: Can you help me in asp.net? Thank you Pin
sirisha guttikonda31-Jan-08 17:20
sirisha guttikonda31-Jan-08 17:20 
AnswerRe: Can you help me in asp.net? Thank you Pin
sivaprakas31-Jan-08 17:50
sivaprakas31-Jan-08 17:50 
AnswerRe: Can you help me in asp.net? Thank you Pin
dilipv3-Feb-08 23:26
dilipv3-Feb-08 23:26 
QuestionRetrive Asp:DropDownList Addes Items [modified] Pin
sivaprakas31-Jan-08 16:42
sivaprakas31-Jan-08 16:42 
QuestionWork on disscussion Board? Pin
Mian Awais M asood31-Jan-08 14:22
Mian Awais M asood31-Jan-08 14:22 
QuestionHow do I deal with No default member found for type "GridView" Pin
bamagrad31-Jan-08 13:18
bamagrad31-Jan-08 13:18 
GeneralDataGrid Updating Event prob when AutoGenerateEditButton used... Pin
Supriya Tonape31-Jan-08 10:44
Supriya Tonape31-Jan-08 10:44 
Hi,
I am stuck in a prob... I am editing the DataGrid where I have populated the data from DB. Now after editing the particular row I need to update it. I am able to edit but don’t know how to update it as ‘e’(GridViewUpdateEventArgs) is not giving me values...(protected void UpdatingRecord(object sender, GridViewUpdateEventArgs e))
I am copy pasting edit function (which is fine) and Update function which is not working.

protected void EditRecord(object sender, GridViewEditEventArgs e)
{

BindData(); // here I am calling function which opens the DB connection n all...
GridView1.EditIndex = e.NewEditIndex;
GridView1.DataBind();
}


Function not working or donno how to do... where ‘e’ is not giving values.. string 'str' is ‘null’ always...

protected void UpdatingRecord(object sender, GridViewUpdateEventArgs e)
{
//GridView1.UpdateRow(e.RowIndex, true); //this stmt goes into recursion...

GridViewRow row = GridView1.Rows[e.RowIndex];
string str = GridView1.Rows[e.RowIndex].Cells[1].Text; // for the time being hardcoded cell
}

I am getting 'str' as 'null'. Just tell me how to commit the row after editing it to update row coz just now while debugging I got to know that only the row which I am editing is returning ‘null’ but in watch window I changed the rowindex manually to diff row index to see if I am getting values and ‘e’ is showing all values for every column!

regards,
Supriya Tonape
GeneralVIsual studio Pin
kibromg31-Jan-08 9:09
kibromg31-Jan-08 9:09 
GeneralRe: VIsual studio [modified] Pin
Venkatesh Mookkan31-Jan-08 18:37
Venkatesh Mookkan31-Jan-08 18:37 
GeneralRe: VIsual studio Pin
dilipv8-Feb-08 1:09
dilipv8-Feb-08 1:09 
GeneralGridView that extends a class that has gridview common functions. Pin
Martin_31-Jan-08 7:45
Martin_31-Jan-08 7:45 
GeneralPersisitent authentication Pin
#realJSOP31-Jan-08 6:33
mve#realJSOP31-Jan-08 6:33 
GeneralRe: Persisitent authentication Pin
Fred_Smith31-Jan-08 10:37
Fred_Smith31-Jan-08 10:37 
GeneralData Grid Pin
kibromg31-Jan-08 5:20
kibromg31-Jan-08 5:20 
AnswerRe: Data Grid Pin
newc131-Jan-08 5:33
newc131-Jan-08 5:33 
GeneralRe: Data Grid Pin
kibromg31-Jan-08 5:52
kibromg31-Jan-08 5:52 
GeneralRe: Data Grid Pin
kibromg31-Jan-08 6:48
kibromg31-Jan-08 6:48 
Generalproblem with customErrors tag Pin
Member 468659031-Jan-08 4:06
Member 468659031-Jan-08 4:06 
GeneralRe: problem with customErrors tag Pin
newc131-Jan-08 4:59
newc131-Jan-08 4:59 
GeneralRe: problem with customErrors tag Pin
Member 468659031-Jan-08 20:59
Member 468659031-Jan-08 20:59 
Questionhow to call two javascript methods for the same onclient click event Pin
jagan12331-Jan-08 3:42
jagan12331-Jan-08 3:42 
AnswerRe: how to call two javascript methods for the same onclient click event Pin
Arun Jacob31-Jan-08 4:31
Arun Jacob31-Jan-08 4:31 
GeneralRe: how to call two javascript methods for the same onclient click event Pin
Not Active31-Jan-08 5:08
mentorNot Active31-Jan-08 5:08 
AnswerRe: how to call two javascript methods for the same onclient click event Pin
J4amieC31-Jan-08 5:08
J4amieC31-Jan-08 5:08 

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.