Click here to Skip to main content
15,921,646 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to Write this Query Pin
N a v a n e e t h14-Mar-07 22:25
N a v a n e e t h14-Mar-07 22:25 
GeneralRe: How to Write this Query Pin
varshavmane14-Mar-07 22:37
varshavmane14-Mar-07 22:37 
GeneralRe: How to Write this Query Pin
N a v a n e e t h15-Mar-07 0:55
N a v a n e e t h15-Mar-07 0:55 
QuestionCrystalReport Design Problem Pin
siddisagar14-Mar-07 21:21
siddisagar14-Mar-07 21:21 
AnswerRe: CrystalReport Design Problem Pin
N a v a n e e t h14-Mar-07 21:32
N a v a n e e t h14-Mar-07 21:32 
Questionto put data from dropdownlist to list Pin
manugrg14-Mar-07 21:04
manugrg14-Mar-07 21:04 
AnswerRe: to put data from dropdownlist to list Pin
N a v a n e e t h14-Mar-07 21:19
N a v a n e e t h14-Mar-07 21:19 
AnswerRe: to put data from dropdownlist to list Pin
varshavmane14-Mar-07 21:24
varshavmane14-Mar-07 21:24 
Try this:
strSql = "SELECT ID , Name FROM sysTable"
objDT = objDB.ExecuteDatatable(strSql)
If objDT.Rows.Count > 0 Then
With cmb
.DataSource = objDT
.DataTextField = objDT.Columns(1).ToString
.DataValueField = objDT.Columns(0).ToString
.DataBind()
If IsDefaultValueNeeded Then
.Items.Insert(0, New ListItem("Select", -1))
End If
End With
End If

On SelectedIndexChanged of combo Fill the listbox
strSql = "Ur Query"
objDT = objDB.ExecuteDatatable(strSql)
If objDT.Rows.Count > 0 Then
'Fill ListBox With Column Display Name
With lstsource
.DataSource = objDT
.DataTextField = objDT.Columns(3).ToString
.DataValueField = objDT.Columns(0).ToString
.DataBind()
End With
Endif

hope this helps u...

QuestionGridview +array + asp.net 2.0 + c# Pin
ritu432114-Mar-07 20:51
ritu432114-Mar-07 20:51 
Questionrefresh modal dialoug box Pin
yesu prakash14-Mar-07 20:27
yesu prakash14-Mar-07 20:27 
AnswerRe: refresh modal dialoug box Pin
N a v a n e e t h14-Mar-07 21:23
N a v a n e e t h14-Mar-07 21:23 
Questionhow to print report in local mode that is repotr.rdlc Pin
mohd imran abdul aziz14-Mar-07 20:24
mohd imran abdul aziz14-Mar-07 20:24 
AnswerRe: how to print report in local mode that is repotr.rdlc Pin
N a v a n e e t h14-Mar-07 21:24
N a v a n e e t h14-Mar-07 21:24 
QuestionEncrypting Pin
samerh14-Mar-07 20:20
samerh14-Mar-07 20:20 
AnswerRe: Encrypting Pin
N a v a n e e t h14-Mar-07 21:28
N a v a n e e t h14-Mar-07 21:28 
Questionscript to chekc values of check box in grid Pin
nikhil123414-Mar-07 20:04
nikhil123414-Mar-07 20:04 
AnswerRe: script to chekc values of check box in grid Pin
Harini N K14-Mar-07 20:43
Harini N K14-Mar-07 20:43 
GeneralRe: script to chekc values of check box in grid Pin
nikhil123414-Mar-07 21:58
nikhil123414-Mar-07 21:58 
AnswerRe: script to chekc values of check box in grid Pin
samerh14-Mar-07 20:51
samerh14-Mar-07 20:51 
QuestionDifference betwen two times........... Pin
Member 387988114-Mar-07 19:54
Member 387988114-Mar-07 19:54 
AnswerRe: Difference betwen two times........... Pin
samerh14-Mar-07 20:34
samerh14-Mar-07 20:34 
GeneralRe: Difference betwen two times........... Pin
Member 387988114-Mar-07 21:46
Member 387988114-Mar-07 21:46 
AnswerRe: Difference betwen two times........... Pin
lavanyap12-Dec-08 18:07
lavanyap12-Dec-08 18:07 
Questiona strange problem Pin
yogita charhate14-Mar-07 19:48
yogita charhate14-Mar-07 19:48 
AnswerRe: a strange problem Pin
Sandeep Akhare14-Mar-07 21:37
Sandeep Akhare14-Mar-07 21:37 

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.