TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
tgd
NA
14
0
What's wrong with this? (ComboBox Filling)
Oct 14 2003 4:53 AM
Some help, please... SqlCommand cmd = GlobalVar.Connection.CreateCommand(); cmd.CommandType = CommandType.Text; cmd.CommandText = "SELECT CurrSymb FROM GNCurrency ORDER BY CurrSymb"; SqlDataAdapter da = new SqlDataAdapter(); DataSet ds = new DataSet(); da.SelectCommand = cmd; da.Fill(ds, "Moneda"); cboValuta.DataSource = ds; for(int i = 0; i < ds.Tables["Moneda"].Rows.Count; i++) { cboValuta.Text = ds.Tables["Moneda"].Rows[i]["CurrSymb"].ToString(); }
Reply
Answers (
4
)
why does this code throw the exception
Decimal data type