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
baskaran chellasamy
NA
114
151k
what is the problem with this code in c#
Jul 27 2012 8:43 AM
hello friends
this is my code to get data from database table.
try
{
Dob
.open();
SqlCommand
cmd6 =
new
SqlCommand
(
"sp_combo1"
,
Dob
.con);
cmd6.CommandType =
CommandType
.StoredProcedure;
SqlDataAdapter
sda =
new
SqlDataAdapter
();
sda.SelectCommand = cmd6;
DataSet
ds =
new
DataSet
();
sda.Fill(ds);
DataTable
dt = ds.Tables[
"Acadamic_year"
];
return
dt;
What is the error in this code.dateset does not getting table from database.
Reply
Answers (
4
)
C #
Hi, How Can I Remove Duplicate Lines From a textBox in C#?