Click here to Skip to main content
14,773,757 members
Home » Discussions » ASP.NET
   

ASP.NET

 
AnswerRe: how do I connect? Pin
Abhijit Jana20-Jun-08 23:25
professionalAbhijit Jana20-Jun-08 23:25 
AnswerRe: how do I connect? Pin
Abhijit Jana20-Jun-08 22:18
professionalAbhijit Jana20-Jun-08 22:18 
QuestionPassing values in asp.net function from javascript Pin
needhi_p20-Jun-08 21:27
Memberneedhi_p20-Jun-08 21:27 
AnswerRe: Passing values in asp.net function from javascript Pin
Abhijit Jana20-Jun-08 22:05
professionalAbhijit Jana20-Jun-08 22:05 
Questionactivate submenu on page load Pin
ashok@techxygen20-Jun-08 21:01
Memberashok@techxygen20-Jun-08 21:01 
QuestionHow to restrict the data in drop down list control Pin
BalasubramanianK20-Jun-08 20:21
MemberBalasubramanianK20-Jun-08 20:21 
AnswerRe: How to restrict the data in drop down list control Pin
Abhijit Jana20-Jun-08 22:13
professionalAbhijit Jana20-Jun-08 22:13 
GeneralRe: How to restrict the data in drop down list control Pin
BalasubramanianK20-Jun-08 23:06
MemberBalasubramanianK20-Jun-08 23:06 
Thanks for your reply first.

But I dont get clear so far. I am coding like this. I am binding data by using dataset. This is my sample code

Dim dsCode As New DataSet
Dim strSql As String = String.Empty

strsql = "Select Code, Name From UsersList"

If sqlCon2.State = ConnectionState.Closed Then sqlCon2.Open()

Dim sdaCode As SqlDataAdapter
sdaCode = New SqlDataAdapter(strSql, sqlCon2)
sdaCode.Fill(dsCode)
ddlCode.DataSource = dsCode.Tables(0)
ddlCode.DataValueField = "Code"
ddlCode.DataTextField = "Name"
ddlCode.DataBind()

If sqlCon2.State = ConnectionState.Open Then sqlCon2.Close()

What I have to do?

Balasubramanian K.

QuestionRe: How to restrict the data in drop down list control Pin
Abhijit Jana20-Jun-08 23:10
professionalAbhijit Jana20-Jun-08 23:10 
AnswerRe: How to restrict the data in drop down list control Pin
BalasubramanianK20-Jun-08 23:20
MemberBalasubramanianK20-Jun-08 23:20 
GeneralRe: How to restrict the data in drop down list control Pin
Abhijit Jana20-Jun-08 23:26
professionalAbhijit Jana20-Jun-08 23:26 
GeneralRe: How to restrict the data in drop down list control Pin
BalasubramanianK20-Jun-08 23:32
MemberBalasubramanianK20-Jun-08 23:32 
Questionwhat is the use of this statement FormsAuthentication.SetAuthCookie(oUserID, False)........ Pin
Shaik Haneef20-Jun-08 19:23
MemberShaik Haneef20-Jun-08 19:23 
AnswerRe: what is the use of this statement FormsAuthentication.SetAuthCookie(oUserID, False)........ Pin
Sathesh Sakthivel20-Jun-08 20:00
MemberSathesh Sakthivel20-Jun-08 20:00 
QuestionDreaded "Operation Aborted" on IE7 but not IE6 Pin
astanton197820-Jun-08 11:22
Memberastanton197820-Jun-08 11:22 
QuestionShare session variables between projects Pin
Asha100920-Jun-08 10:54
MemberAsha100920-Jun-08 10:54 
AnswerRe: Share session variables between projects Pin
Abhijit Jana20-Jun-08 22:37
professionalAbhijit Jana20-Jun-08 22:37 
AnswerRe: Share session variables between projects Pin
Abhijit Jana21-Jun-08 0:20
professionalAbhijit Jana21-Jun-08 0:20 
GeneralRe: Share session variables between projects Pin
Asha100922-Jun-08 6:26
MemberAsha100922-Jun-08 6:26 
QuestionRefactoring our security - need feedback Pin
gantww20-Jun-08 9:43
Membergantww20-Jun-08 9:43 
QuestionCreating A Web From with database back-end Pin
ferronrsmith20-Jun-08 9:17
Memberferronrsmith20-Jun-08 9:17 
AnswerRe: Creating A Web From with database back-end Pin
SomeGuyThatIsMe20-Jun-08 9:34
MemberSomeGuyThatIsMe20-Jun-08 9:34 
Questionpage_load for user control not firing when address is typed in browser window Pin
chacimulch20-Jun-08 9:06
Memberchacimulch20-Jun-08 9:06 
AnswerRe: page_load for user control not firing when address is typed in browser window Pin
Shaik Haneef20-Jun-08 19:18
MemberShaik Haneef20-Jun-08 19:18 
GeneralRe: page_load for user control not firing when address is typed in browser window Pin
chacimulch23-Jun-08 5:16
Memberchacimulch23-Jun-08 5:16 

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.