|
when I insert a new row to the database (the adding controls are in the same page) I want after the adding action the grid view to retrieve the updated data from database
adding DataBind or GridView.DataBind() after the insertion does not do the trick.
Shimi
|
|
|
|
|
I think you want to refresh the page only when the user Changes the data in the Grid view Just do 2 things
1. Store the data Edited by the user
2. bind the grid view with data source
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
can you provide the line which refreshes the gridview against the database please?
(I'm using an ObjectDataSource to a webservice database, and the database is sometimes updated by other external applications, I want the user to have a refresh button which retrieves the data from db anew).
the GridView.DataBind() doesn't help.
I prefer to do it by the ASP.NET CLR code rather then by javascript.
best regards
Shimi
modified on Friday, February 8, 2008 2:13 AM
|
|
|
|
|
hi
what is sqldatahandler,it is avialable in ASP2.0 or SQL server 2000 or SQL server 2005
plz reply
regards
saravanan
Known Is Drop.Unknown Is Ocean
|
|
|
|
|
|
Hi Friends.
I m using ASP.Net 2.0 to make a secure application which include giving permissions to a specific directory..
i m using FileIOPermission class to give permissions
FileIOPermission _FileIOPermission = new FileIOPermission(FileIOPermissionAccess.NoAccess, @"d:\");
_FileIOPermission.Demand(_FileIOPermission);
can anybody tell me y it is not working..and suggest me any alternative way to do this...
Thanx in Advance.
Amit Metkar
3i-infotech, Mumbai.
|
|
|
|
|
how can I rewrite url dynamically in .net Application.
thanks
You get the best out of others when you give the best of yourself.
|
|
|
|
|
trilokharry wrote: rewrite url dynamically
What do you mean by rewrite dynamically ?
|
|
|
|
|
I want to show different URL in browser
which is not a original.
how can I do using glabal.asax
You get the best out of others when you give the best of yourself.
|
|
|
|
|
Hi!
Look here[^]
May be this will help you.
Regards.
"Save water,It's precious"
|
|
|
|
|
hi,this is vasanthi,
i tried this one ,but i didn't get correct solution,i tried almost all the solutions,basically what i want is i don't want to display the query string value in the URL.i get that value from the database,then how can i hide or rewrite that url.pl z help me out
Thanks in advance.
|
|
|
|
|
hi all i have some audio file on my server i will retrive it and i want to play that in aspx page so how to do that i am working onn asp.net 2.0 using c#
please send me link where i will get example...please
Thanks & Regards,
Prashant B. Lavate
Software Engineer
Mobile : +919423872257
Pune(India)
|
|
|
|
|
Please don't post a message twice.
"Save water,It's precious"
|
|
|
|
|
hi all i have some audio file on my server i will retrive it and i want to play that in aspx page so how to do that i am working onn asp.net 2.0 using c#
Thanks & Regards,
Prashant B. Lavate
Software Engineer
Mobile : +919423872257
Pune(India)
|
|
|
|
|
Use the embed tag to embed objects. Browser will identify what type of player it should choose to play the content.
|
|
|
|
|
any example please
Thanks & Regards,
Prashant B. Lavate
Software Engineer
Mobile : +919423872257
Pune(India)
|
|
|
|
|
|
hi all
can u plz help me in creating dll.
i have a web application and i have written all my functions and methods in business layer class.now i want to make this class as dll.
how can i do this???
thanks in advance.
siri
|
|
|
|
|
If your business classes is in a class library project, DLLs will be created automatically when application is build. If your business classes are in app_code directory or inside website, use Publish website option which will create dlls.
|
|
|
|
|
Hi Sirisha!
Look Here[^]
I hope it will help you.
Regards.
"Save water,It's precious"
|
|
|
|
|
sirisha guttikonda wrote: i have a web application and i have written all my functions and methods in business layer class.now i want to make this class as dll.
Use ClassLibrary.
when they build, it will create the Dll.
you can access them using NameSpace !!!
|
|
|
|
|
How to display results from webservice method in a webform?i.e.when calling a webmethod asynchronously from a webpage ,how can i display it in web page whenever the result come.Avoid using timer to check for its completion.....
|
|
|
|
|
Add the webServices From AddWebReferences
Check the name what you give at the time of adding it.
by default "localhost"
now in web form
using localhost ;
in code if class is "Services"
Service s=new Services();
s.method1();
|
|
|
|
|
Thanks..
But the actual question is=> How to display results from webservice method in a webform when they are called ia asynchronous fashion?
The problem is that when the result came,the page will be rendered to the client.thus it is unable return the result to the client.Also we couldn't able to use polling.Would u plz giv me another solution?
|
|
|
|
|
syamooo wrote: The problem is that when the result came,the page will be rendered to the client.thus it is unable return the result to the client.
I am not clear about this point !!!can you kindly explain in details scenario ???
Thanks
|
|
|
|