Click here to Skip to main content
15,910,234 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to upload a resume in word format in a asp.net application Pin
nareshss30-May-07 0:47
nareshss30-May-07 0:47 
QuestionCheck the Given date is sunday or not..., Pin
Member 387988129-May-07 21:32
Member 387988129-May-07 21:32 
AnswerRe: Check the Given date is sunday or not..., Pin
Luka Grabarevic29-May-07 23:13
Luka Grabarevic29-May-07 23:13 
AnswerRe: Check the Given date is sunday or not..., Pin
Venk25929-May-07 23:28
Venk25929-May-07 23:28 
AnswerRe: Check the Given date is sunday or not..., Pin
Prakash_Mishra29-May-07 23:36
Prakash_Mishra29-May-07 23:36 
Questionusing ASP.net - convert sql table into xml data Pin
nareshss29-May-07 21:27
nareshss29-May-07 21:27 
AnswerRe: using ASP.net - convert sql table into xml data Pin
Tamimi - Code29-May-07 21:35
Tamimi - Code29-May-07 21:35 
Questioninserting multiple rows at a time Pin
yuvachandra29-May-07 21:12
yuvachandra29-May-07 21:12 
Hi all
actually on my webpage am displaying some data on the datagrid row wise...as per the project requirement am exposing the data to be editable(displaying in the text boxex) by making use of the itemtempale ...and am keeping one button outside the datagird.and while cliking on the button i am updating the entire datagrid by accepting what ever the data is modified

i.e by calling like

foreach(DataGridItem itm in DataGrid1.Items)
{
string st,st1,st2;
st=((Label)itm.Cells[0].FindControl("lblAccountId")).Text;
st1=((TextBox)itm.Cells[1].FindControl("AccCode")).Text;
st2=((TextBox)itm.Cells[2].FindControl("Descrip")).Text;
dataAdapter=new SqlDataAdapter("update AccountCode set AccountCode='" + st1 + "',Description='" + st2 + "'where AccountId=" + st,con);
dataAdapter.Fill(ds,"contentTable");
}
Know what the problem is...there was somany records like (100+ in the database)..if i did like this,it took a database interaction
to update each row ...i.e,for the single click it will take 100+ times of database interaction...
bcz of performance resion i want to avoid these interactions...i want the updation to be done by making single interaction with the database(i.e i want to handle all the datagrid data and take the updation at single time)......Plz help me out ,,or let me have some articles related to this....

regards
yuva

AnswerRe: inserting multiple rows at a time Pin
Laxmikant Lad29-May-07 21:20
Laxmikant Lad29-May-07 21:20 
Question[Message Deleted] Pin
Junior Boy29-May-07 21:01
Junior Boy29-May-07 21:01 
AnswerRe: Convert VB .NET to C# .NET Pin
Jay_se29-May-07 21:07
Jay_se29-May-07 21:07 
GeneralRe: Convert VB .NET to C# .NET Pin
Junior Boy29-May-07 21:17
Junior Boy29-May-07 21:17 
AnswerRe: Convert VB .NET to C# .NET Pin
Christian Graus29-May-07 21:26
protectorChristian Graus29-May-07 21:26 
GeneralRe: Convert VB .NET to C# .NET Pin
Junior Boy29-May-07 21:57
Junior Boy29-May-07 21:57 
AnswerRe: Convert VB .NET to C# .NET Pin
Steven J Jowett29-May-07 22:20
Steven J Jowett29-May-07 22:20 
GeneralRe: Convert VB .NET to C# .NET Pin
Guffa29-May-07 23:46
Guffa29-May-07 23:46 
QuestionPassword field lost their values Pin
suveenmohan29-May-07 20:42
suveenmohan29-May-07 20:42 
AnswerRe: Password field lost their values Pin
marky77729-May-07 20:46
marky77729-May-07 20:46 
GeneralRe: Password field lost their values Pin
suveenmohan29-May-07 21:49
suveenmohan29-May-07 21:49 
GeneralRe: Password field lost their values Pin
marky77729-May-07 21:59
marky77729-May-07 21:59 
QuestionFile Download problem.... Pin
manjunath hindupur29-May-07 20:32
manjunath hindupur29-May-07 20:32 
QuestionRequest .Form for a Div tag Pin
Senthil_M29-May-07 20:28
Senthil_M29-May-07 20:28 
AnswerRe: Request .Form for a Div tag Pin
Guffa29-May-07 21:39
Guffa29-May-07 21:39 
Questiongrid view Pin
mahendra nath reddy29-May-07 20:24
mahendra nath reddy29-May-07 20:24 
Questionhow to place controls one below another Pin
harithadotnet29-May-07 20:19
harithadotnet29-May-07 20:19 

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.