Click here to Skip to main content
15,908,015 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Gridview values + storing them in database Pin
N a v a n e e t h17-Jul-07 20:44
N a v a n e e t h17-Jul-07 20:44 
GeneralRe: Gridview values + storing them in database Pin
Amit.Amit.Amit...17-Jul-07 21:00
Amit.Amit.Amit...17-Jul-07 21:00 
GeneralRe: Gridview values + storing them in database Pin
N a v a n e e t h17-Jul-07 21:09
N a v a n e e t h17-Jul-07 21:09 
GeneralRe: Gridview values + storing them in database Pin
Amit.Amit.Amit...17-Jul-07 21:21
Amit.Amit.Amit...17-Jul-07 21:21 
GeneralRe: Gridview values + storing them in database Pin
N a v a n e e t h17-Jul-07 21:30
N a v a n e e t h17-Jul-07 21:30 
GeneralRe: Gridview values + storing them in database Pin
Amit.Amit.Amit...17-Jul-07 22:19
Amit.Amit.Amit...17-Jul-07 22:19 
GeneralRe: Gridview values + storing them in database Pin
DKalepu17-Jul-07 21:46
DKalepu17-Jul-07 21:46 
AnswerRe: Gridview values + storing them in database Pin
Amit.Amit.Amit...17-Jul-07 20:54
Amit.Amit.Amit...17-Jul-07 20:54 
U must have multiple rows in that GridView, so make a foreach loop like this.

foreach (GridViewRow dgRow in myGridView1.Rows)
{
string strPK = myGridView1.DataKeys[dgRow.RowIndex].Value.ToString();
string str = ((TextBox)dgRow.FindControl("txtText")).Text.ToString();
//like this u will get all cells values and PK field ..
//Now U can Update this data from Gridview of each row
//to DataBase
}

Smile | :) Smile | :) Smile | :) Smile | :) Smile | :)

Amit Metkar
3i-infotech, Mumbai.
GeneralRe: Gridview values + storing them in database Pin
DKalepu17-Jul-07 21:04
DKalepu17-Jul-07 21:04 
GeneralRe: Gridview values + storing them in database Pin
Amit.Amit.Amit...17-Jul-07 22:14
Amit.Amit.Amit...17-Jul-07 22:14 
AnswerRe: Gridview values + storing them in database Pin
chapathi17-Jul-07 22:47
chapathi17-Jul-07 22:47 
QuestionBrowse for files Pin
Hari_101017-Jul-07 20:06
Hari_101017-Jul-07 20:06 
AnswerRe: Browse for files Pin
Vasudevan Deepak Kumar17-Jul-07 20:12
Vasudevan Deepak Kumar17-Jul-07 20:12 
GeneralRe: Browse for files Pin
Hari_101017-Jul-07 20:34
Hari_101017-Jul-07 20:34 
AnswerRe: Browse for files Pin
N a v a n e e t h17-Jul-07 20:39
N a v a n e e t h17-Jul-07 20:39 
GeneralRe: Browse for files Pin
Hari_101017-Jul-07 20:55
Hari_101017-Jul-07 20:55 
GeneralRe: Browse for files Pin
N a v a n e e t h17-Jul-07 21:11
N a v a n e e t h17-Jul-07 21:11 
GeneralRe: Browse for files Pin
Hari_101017-Jul-07 21:19
Hari_101017-Jul-07 21:19 
GeneralRe: Browse for files Pin
N a v a n e e t h17-Jul-07 21:26
N a v a n e e t h17-Jul-07 21:26 
AnswerRe: Browse for files Pin
Sathesh Sakthivel17-Jul-07 20:40
Sathesh Sakthivel17-Jul-07 20:40 
QuestionDropdownlist to be made Invisible when its holding data Pin
codingrocks17-Jul-07 19:59
codingrocks17-Jul-07 19:59 
AnswerRe: Dropdownlist to be made Invisible when its holding data Pin
gauthee17-Jul-07 20:02
gauthee17-Jul-07 20:02 
GeneralRe: Dropdownlist to be made Invisible when its holding data Pin
codingrocks17-Jul-07 20:11
codingrocks17-Jul-07 20:11 
GeneralRe: Dropdownlist to be made Invisible when its holding data Pin
Michael Sync17-Jul-07 20:15
Michael Sync17-Jul-07 20:15 
GeneralMade the dropdownlist invisible...javascript code attached Pin
codingrocks17-Jul-07 20:21
codingrocks17-Jul-07 20:21 

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.