I have a ListBox set as Multiselect. I am populating the table thruough asp.net code. But I am using another dataset to get the items that should be selected. The only item that ends up selected is the last item in the dataset. The code I am using for setting the selected items is:
DataSet ds1 = SqlHelper.Execu teDataset(ConnS tr, "StoredProd ", Parm);
lbRequestTime.S electionMode = ListSelectionMo de.Multiple;...
User Profile
Collapse
-
Setting multiple items as selected in a ListBox with c#
-
It appears that this is for windows forms and not Web Apps. and that this is for .NetFramework 3.5. If that is correct...do you know of anything that will work with a web App and in .NetFrameWork 1.x?
I am building a wrapper that will be attached to both Classic asp as well as .Net 1.x and .Net 2.0 web applications.
Thank you for your quick reply....Doug... -
Can the App pool User name be retrieved with a web app.
I am writing an intranet web application and would like to retrieve the user name of the app. pool. (Not the user name of the user hitting the web app).
Is this possible? And if so could you post the code
I am using .net 1.x with c#.
Thanks in advance, Doug
No activity results to display
Show More
Leave a comment: