470,594 Members | 1,231 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,594 developers. It's quick & easy.

Need Suggestions Related to AJAX in ASP.NET

navneetkaur
hello every1

i am developing web application.its at the edge of completion...bt i want to add ajax to it...i have added at some places bt problem is with 1 page in this am displaying some records in a table 'd am doing this dynamically depending on records row of tables are increased...we can add new records 'd as well as delete old records...bt i need at the same time this shd be reflected in table so when i add/update i jst use
Server.Transfer("page.aspx");
bt nw i want to add/update thro ajax but i am nt able to do.....

please some1 help me....

m waiting fr ur reply....
Sep 17 '07 #1
2 957
hello every1

i am developing web application.its at the edge of completion...bt i want to add ajax to it...i have added at some places bt problem is with 1 page in this am displaying some records in a table 'd am doing this dynamically depending on records row of tables are increased...we can add new records 'd as well as delete old records...bt i need at the same time this shd be reflected in table so when i add/update i jst use
Server.Transfer("page.aspx");
bt nw i want to add/update thro ajax but i am nt able to do.....

please some1 help me....

m waiting fr ur reply....
Hello Navneet
I think there is no need of Server.Transfer
when u do write code for add.delete.update in some button click
& say UpdatePanel.Update()
the change will reflect in the table
if the case is different pls give in detail .If i can i do help for u

Thanks & Regards,
Srilakshmi.M
Software Developer
Sep 17 '07 #2
hello Srilakshmim
actually i am doing update 'd add through datareader....even i hv tried dataset bt it is not updating at the same time...so frm the vry begining where i need to do like that i jst use server.transfer....

i am jst write down my code fr add

SqlCommand cmd;
conn.Open();
string str;
str = "delete from tbl_per_grant where Emp123= '" + e_code + "'";
cmd = new SqlCommand(str, conn);
int temp = cmd.ExecuteNonQuery();
conn.Close();
return temp;

this is done on business logic....
plz reply me....
m waiting.....
so plz tell me solution
Sep 17 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

6 posts views Thread by Kate | last post: by
3 posts views Thread by OJ | last post: by
3 posts views Thread by Jeff | last post: by
3 posts views Thread by Jonathan Wood | last post: by
6 posts views Thread by shapper | last post: by
4 posts views Thread by FutureShock | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.