I am doing some time consuming calculation in one of my routines which is called during the node expand event of the treeview. I want this routine to be called during Page_Load event itself so I don't have to make the users wait for long when they click and expand the treeview. The problem is...
I need to pass the name value obtained from a treeview_nodeexpand event to a tabstrip_tabclick event. I am able to get the value of the name but i am unable to pass it in the tabstrip_tabclick event. How can i do this? Both the controls for treeview and tabstrip are set for autopostback = true
da = New SqlDataAdapter("Select Busunit from Product where name = @prod", dbcon)
da.SelectCommand.Parameters.Add("@prod",sqlDbType.VarChar, 24).Value = "prod"
da.Fill(ds, "Product")
In the above code, I am passing the value of prod to the sql in da and then filling the dataset in the last line...
I am using a thirdparty treeview control on my webpage. I am binding the root nodes in the page_load however I need to bind the child nodes in the nodeexpand event of the treeview, I need to create a datarelation between the parent and the child nodes in order to be able to associate child nodes...
I am trying to connect to a security database to get the logged on user's rights in my code. However, when I am debugging in the immediate window I get the following error which says could not connect to the database. Where is the problem. The web.config file contains the database connection...
I need to add two new columns in the database table during the import process. These two columns do not exist in the text file that I am importing into the sql server. How could i do this? One of these columns has to be the current year.
I need to compare two tables say t1 and t2 on a column called P and add whatever is missing in t1 to P in t1 in one single script. Can someone help me?
I am creating a TreeView in my webform using RAD controls from Telerik, Right now I need to load only the root nodes of the tree from my sql server database table using a simple select query. When I databind my RadTreeview I can see the correct number of root nodes but instead of the data, I...
I am creating a DTS package in which I need to create as many excel files using DTS as there are business units in my SQL table. This table has other columns for emplid, emplname and managername. I need to figure out how business units can be used to separate data into different tables and then...
I am creating a DTS package in which I need to create as many excel files using DTS as there are business units in my SQL table. This table has other columns for emplid, emplname and managername. I need to figure out how business units can be used to separate data into different tables and then...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.