Click here to Skip to main content
15,891,473 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionconverting dataview to dataset in .net2003 Pin
suresh_0016-Oct-08 5:11
suresh_0016-Oct-08 5:11 
AnswerRe: converting dataview to dataset in .net2003 Pin
thomasa6-Oct-08 5:16
thomasa6-Oct-08 5:16 
Questionis it possible that i upload mywebsite on apachi server Pin
UD(IA)6-Oct-08 4:30
UD(IA)6-Oct-08 4:30 
AnswerRe: is it possible that i upload mywebsite on apachi server Pin
eyeseetee6-Oct-08 4:33
eyeseetee6-Oct-08 4:33 
AnswerRe: is it possible that i upload mywebsite on apachi server Pin
Vasudevan Deepak Kumar6-Oct-08 8:35
Vasudevan Deepak Kumar6-Oct-08 8:35 
QuestionGood tutorial on moving items from one listbox to another Pin
eyeseetee6-Oct-08 4:24
eyeseetee6-Oct-08 4:24 
QuestionProblem with viewstate for listitems Pin
eyeseetee6-Oct-08 3:44
eyeseetee6-Oct-08 3:44 
AnswerRe: Problem with viewstate for listitems [modified] Pin
thomasa6-Oct-08 4:18
thomasa6-Oct-08 4:18 
Seems to me that there there are no selected items when the button is click'ed.
if(lb1.SelectedItem != null)
{
ViewState["items"] = lb1.SelectedItem.Value;
}


If the listbox allso has multiselect = true, you will allso get a problem.
if so you should use
string strValues = "";
foreach(ListItem li in lb1.Items)
{
if(li.Selected)
{
strValuse+=li.Value;
}
}




Hope it helps
Thomas

modified on Monday, October 6, 2008 10:31 AM

GeneralRe: Problem with viewstate for listitems Pin
eyeseetee6-Oct-08 4:33
eyeseetee6-Oct-08 4:33 
GeneralRe: Problem with viewstate for listitems [modified] Pin
thomasa6-Oct-08 4:50
thomasa6-Oct-08 4:50 
GeneralRe: Problem with viewstate for listitems Pin
eyeseetee6-Oct-08 5:02
eyeseetee6-Oct-08 5:02 
GeneralRe: Problem with viewstate for listitems Pin
eyeseetee6-Oct-08 4:55
eyeseetee6-Oct-08 4:55 
GeneralRe: Problem with viewstate for listitems Pin
Sandeep Akhare6-Oct-08 19:01
Sandeep Akhare6-Oct-08 19:01 
AnswerRe: Problem with viewstate for listitems Pin
Sneha Bisht6-Oct-08 21:40
Sneha Bisht6-Oct-08 21:40 
GeneralRe: Problem with viewstate for listitems Pin
eyeseetee6-Oct-08 22:45
eyeseetee6-Oct-08 22:45 
GeneralRe: Problem with viewstate for listitems Pin
thomasa6-Oct-08 23:29
thomasa6-Oct-08 23:29 
Questionget user name from group which created by us in active directory Pin
Piyush Vardhan Singh6-Oct-08 3:41
Piyush Vardhan Singh6-Oct-08 3:41 
AnswerRe: get user name from group which created by us in active directory Pin
Abhijit Jana6-Oct-08 4:08
professionalAbhijit Jana6-Oct-08 4:08 
AnswerRe: get user name from group which created by us in active directory Pin
Brij6-Oct-08 4:31
mentorBrij6-Oct-08 4:31 
QuestionReporting Pin
Anoop Brijmohun6-Oct-08 3:35
Anoop Brijmohun6-Oct-08 3:35 
Questionhtml coding in stored procedure Pin
eyeseetee6-Oct-08 2:35
eyeseetee6-Oct-08 2:35 
AnswerRe: html coding in stored procedure Pin
Jaffer Mumtaz6-Oct-08 2:43
Jaffer Mumtaz6-Oct-08 2:43 
GeneralRe: html coding in stored procedure Pin
eyeseetee6-Oct-08 3:07
eyeseetee6-Oct-08 3:07 
GeneralRe: html coding in stored procedure Pin
Ashfield6-Oct-08 4:45
Ashfield6-Oct-08 4:45 
AnswerRe: html coding in stored procedure Pin
J4amieC6-Oct-08 5:15
J4amieC6-Oct-08 5:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.