- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
5 Posted Topics
[code] Dim strConn As String = "Provider=SQLOLEDB.1;Password=xxxx;Persist Security Info=True;User ID=xxx;Initial Catalog=Your database name;Data Source=Your server Name" Dim strsql As String = "Your SQL Command" Dim myconn As New OleDbConnection(strConn) Dim myCommand As New OleDbDataAdapter(strsql, myconn) [/code] And don't forget to add Imports System.Data.OleDb Above your public class(On the top of …
Hi! I have some project to send my boss tomorrow, but I can't solve it by myself. I try to solve it for a long time. but I still can't. I have a gridview to retrieve some data from database to show user. what job that they don't complete it. …
I'm a newbie and I've got some problem with my project. Here's my prob. I have 2 pages. First page I have 2 dropdownlist, months and years, and some radio button. Second page I have checkboxlist and submit button. When i click on radio button in the first page(autopostback), it …
I've got the dropdownlist that has datatextfield from dataset from database. And i've the problem with my dataset If i have 1 row in dataset. My dropdownlist will have one item too. And i query on event selectedindexchange So if i have only one item in dropdownlist, it doesn't work. …
I guess ... Dropdownlist could have only one text datafield. Your sql command have 3 columns in one row not one column name | surname | age [code]sorgu = New SqlCommand("SELECT name, surname, age FROM veriler WHERE name=@name", database)[/code] [code]DropDownList2.DataSource = kisiler DropDownList2.DataTextField = "name" DropDownList2.DataTextField = "surname" DropDownList2.DataTextField = …
The End.
mojio