I have a button on Page 1 that executes a Stored Procedure. On page 2 I have a Datagrid to display the results from the Stored Procedure. I have setup a DataSet and now I need to bind the datagrid to the button.
How do configure the ObjectDataSource so that I am able to bind the controls from page 1 to the datagrid in page 2?
Hmm...you can't?! Why do you need to do that? Either use a query string parameter or put the datagrid and objectdatasource on the same page. If the data source is empty the datagrid won't get rendered.
I've just made a basic asp webpage in VS2005 that just gets some values from a sql database and displays them. Everything was worknig fine. Then I loaded the project up to make some additions and now it wont compile. I get 87 errors, most of them saying something like:
Error 1 Error in project-level import 'System.Web.UI.HtmlControls' at 'System.Web.UI.HtmlControls' : 'System' is ambiguous. vbc :
actually i added my tree view on scroll and i want that when nodes of tree are expanded and tree view's size becomes greater than panel's size then automatically scroll bars should be applied on it.
I have done it by writing "overflow:scroll" in style property of panel.Now when size exceeds auto scroll bars become visible and work goes fine but one problem is that two vertical scroll bars are visible i think one of panel and other of tree view but i have not set scroll bar on tree view and second problem is that when i click plus sign of tree view placed in panel it is expanded and act normally uptil no scroll bars are applied but as soon as scroll is aplied and whenever i move scroll down and then i click on plus,node is not expanded.Hope u understand what i mean to say, i mean uptil my panel is in default position my tree placed on it is working fine but when scrolls are applied and i move my scroll down and then after clicking on tree node it doesnot act normally,may be it is refreshed again and something else i cant understand.
and i m making application in C# asp.net web application.
I'm note sure about the node expanding problem but I think the two scroll bars are caused because of CSS inheritance. All child elements of the Panel will inherit the overflow:scroll property (meaning the TreeView container div). I think thats how it works anyway, not 100% sure.
It was very much helpful, I have a problem with the values on x- axis.
I need to display the DateTime parameter here.Such as data for 10 days. I am not able to control that value. I mean on the graph I need same time to be desplayed on each day, Secondly I am not able to control the data that is displayed.
I have more of a design type of question.
Can anyone tell me if it is possible to :
I have a win 32 dll and a C# web service. Instead of creating a c# client, i would like to use my win 32 dll as the client. I use this dll for other things that are all file related. Is it possible for me to make the dll the client and to be able to call the c# web service and send and receive data from it? If so, does anyone have any examples of how to turn an already existing win 32 dll into a client accessing a c# web service?
With VisualStudio.Net, i'm using an installer class with a custom action
on my setup project to ask the user a serial number. A "Textboxes"
dialog on the "user interface" provides the serial number string to an
overrided version of then install procedure, inside my installer class.
My problem is that the install sub is able to verify the serial number
entered, but then i can't stop/cancel the installation procedure.
When I tried to convert to Windows app to Web Application i get an error saying
"Error 4 'ASP.satori_recherche_aspx.GetTypeHashCode()': no suitable method found to override c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\websatoricontact\5f44883e\69c9d6e5\App_Web_ujyjcgyh.8.cs 3177
can anyone solve me it
Last Visit: 31-Dec-99 18:00 Last Update: 24-Sep-23 18:33