Click here to Skip to main content
15,908,455 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: append the listitems as a comma seperated string Pin
Malcolm Smart1-Aug-07 3:05
Malcolm Smart1-Aug-07 3:05 
GeneralRe: append the listitems as a comma seperated string Pin
BasharatAli1-Aug-07 3:06
BasharatAli1-Aug-07 3:06 
GeneralRe: append the listitems as a comma seperated string Pin
n_gchaitra1-Aug-07 3:33
n_gchaitra1-Aug-07 3:33 
GeneralRe: append the listitems as a comma seperated string Pin
jc.net1-Aug-07 3:08
jc.net1-Aug-07 3:08 
GeneralRe: append the listitems as a comma seperated string Pin
n_gchaitra1-Aug-07 3:36
n_gchaitra1-Aug-07 3:36 
GeneralRe: append the listitems as a comma seperated string Pin
n_gchaitra2-Aug-07 21:28
n_gchaitra2-Aug-07 21:28 
AnswerRe: append the listitems as a comma seperated string Pin
Nand Kumar Das1-Aug-07 3:07
Nand Kumar Das1-Aug-07 3:07 
GeneralRe: append the listitems as a comma seperated string Pin
n_gchaitra2-Aug-07 22:09
n_gchaitra2-Aug-07 22:09 
I have one more doubt. This is regarding bindng of listbox.

Let us assume I store A B C D in from listbox2. It stores as A,B,C,D . When i bind the data to listbox it comes as the same. But i want to display each value in different row. How to do this? I tried split function but no use. Here is the code snippet i have used to bind the data to listbox, lstselectedemployees is the listbox.

Dim sql As String = "Select * from A_desktops where assetcode='" & TextBox1.Text & "'"
Dim da As New SqlDataAdapter(sql, dbconn)
Dim ds As New DataSet()
da.Fill(ds, "a_desktops")
lstselectedemployees.DataSource = ds.Tables("a_desktops").DefaultView
lstselectedemployees.SelectedIndex = 0
lstselectedemployees.DataTextField = "swinstalled"
Page.DataBind()




Chaitra N

AnswerRe: append the listitems as a comma seperated string Pin
#realJSOP1-Aug-07 3:24
professional#realJSOP1-Aug-07 3:24 
GeneralRe: append the listitems as a comma seperated string Pin
jc.net1-Aug-07 3:40
jc.net1-Aug-07 3:40 
QuestionConverting code Pin
SirNathaniel1-Aug-07 2:03
SirNathaniel1-Aug-07 2:03 
AnswerRe: Converting code Pin
BasharatAli1-Aug-07 2:18
BasharatAli1-Aug-07 2:18 
GeneralRe: Converting code Pin
SirNathaniel1-Aug-07 6:53
SirNathaniel1-Aug-07 6:53 
AnswerRe: Converting code Pin
Dave Doknjas1-Aug-07 14:04
Dave Doknjas1-Aug-07 14:04 
QuestionCannot open any more Tables Pin
Khan.Bangash1-Aug-07 1:15
Khan.Bangash1-Aug-07 1:15 
AnswerRe: Cannot open any more Tables Pin
_mubashir1-Aug-07 1:59
_mubashir1-Aug-07 1:59 
GeneralRe: Cannot open any more Tables Pin
Khan.Bangash1-Aug-07 2:04
Khan.Bangash1-Aug-07 2:04 
GeneralRe: Cannot open any more Tables Pin
_mubashir1-Aug-07 2:13
_mubashir1-Aug-07 2:13 
GeneralRe: Cannot open any more Tables Pin
Khan.Bangash1-Aug-07 2:22
Khan.Bangash1-Aug-07 2:22 
GeneralRe: Cannot open any more Tables Pin
_mubashir1-Aug-07 2:27
_mubashir1-Aug-07 2:27 
GeneralRe: Cannot open any more Tables Pin
Khan.Bangash1-Aug-07 2:41
Khan.Bangash1-Aug-07 2:41 
GeneralRe: Cannot open any more Tables Pin
_mubashir1-Aug-07 5:34
_mubashir1-Aug-07 5:34 
GeneralRe: Cannot open any more Tables Pin
Khan.Bangash1-Aug-07 5:53
Khan.Bangash1-Aug-07 5:53 
GeneralRe: Cannot open any more Tables Pin
_mubashir1-Aug-07 6:01
_mubashir1-Aug-07 6:01 
Questionexception classes Pin
pavanteja1-Aug-07 0:53
pavanteja1-Aug-07 0:53 

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.