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

ASP.NET

 
QuestionDesign Time Error: "File could not be loaded into Designer" [modified] Pin
Blumen29-May-07 4:33
Blumen29-May-07 4:33 
Questionasp.net1.1 - marquee text [modified] Pin
sanaziuse29-May-07 4:11
sanaziuse29-May-07 4:11 
AnswerRe: asp.net1.1 - marquee text Pin
Christian Graus29-May-07 13:48
protectorChristian Graus29-May-07 13:48 
GeneralRe: asp.net1.1 - marquee text Pin
sanaziuse29-May-07 21:16
sanaziuse29-May-07 21:16 
QuestionReading a Text Files in ASP.NET Pin
.NET- India 29-May-07 3:44
.NET- India 29-May-07 3:44 
AnswerRe: Reading a Text Files in ASP.NET Pin
Not Active29-May-07 3:55
mentorNot Active29-May-07 3:55 
Questionhow to Customize createuserwizard control Pin
mohd imran abdul aziz29-May-07 3:35
mohd imran abdul aziz29-May-07 3:35 
QuestionMinimizing the interactions with the database Pin
yuvachandra29-May-07 3:27
yuvachandra29-May-07 3:27 
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: Minimizing the interactions with the database Pin
Not Active29-May-07 4:05
mentorNot Active29-May-07 4:05 
QuestionMenu control help Pin
eric_tran29-May-07 3:10
eric_tran29-May-07 3:10 
Questioninclude class file Pin
kvijayajyothy29-May-07 3:00
kvijayajyothy29-May-07 3:00 
AnswerStop asking the same question! Pin
leckey29-May-07 3:35
leckey29-May-07 3:35 
GeneralRe: got error Pin
kvijayajyothy29-May-07 5:02
kvijayajyothy29-May-07 5:02 
Questioninclude class file in aspx source file Pin
kvijayajyothy29-May-07 2:58
kvijayajyothy29-May-07 2:58 
Questioninclude class file in aspx source file Pin
kvijayajyothy29-May-07 2:55
kvijayajyothy29-May-07 2:55 
Questioninclude file in aspx* Pin
kvijayajyothy29-May-07 2:54
kvijayajyothy29-May-07 2:54 
QuestionCapturing the button click event Pin
Rajiya29-May-07 2:18
Rajiya29-May-07 2:18 
AnswerRe: Capturing the button click event Pin
Chetan Ranpariya29-May-07 2:22
Chetan Ranpariya29-May-07 2:22 
AnswerRe: Capturing the button click event Pin
Sandeep Akhare29-May-07 2:31
Sandeep Akhare29-May-07 2:31 
GeneralRe: Capturing the button click event Pin
Rajiya29-May-07 2:47
Rajiya29-May-07 2:47 
GeneralRe: Capturing the button click event Pin
Sandeep Akhare29-May-07 2:59
Sandeep Akhare29-May-07 2:59 
QuestionRich Text Editor Pin
248912829-May-07 1:32
248912829-May-07 1:32 
AnswerRe: Rich Text Editor Pin
Sathesh Sakthivel29-May-07 1:41
Sathesh Sakthivel29-May-07 1:41 
GeneralRe: Rich Text Editor Pin
248912829-May-07 1:58
248912829-May-07 1:58 
GeneralRe: Rich Text Editor Pin
Sathesh Sakthivel29-May-07 2:17
Sathesh Sakthivel29-May-07 2:17 

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.