emp_id |name|1 2 3 4 5 6 7 8 9............latst date of month.
001 |Rohon|L A P A A P P P P P.........
002 |Rabi |A A A A A A A A A A......
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Susanta RoutPosted Sep 22, 2015, 2:15 AM
PradeepPosted Sep 21, 2015, 7:55 AM
Susanta RoutPosted Sep 21, 2015, 7:49 AM
PradeepPosted Sep 21, 2015, 5:56 AM
{
if (!IsPostBack)
{
bindRepeater();
}
}
public void bindRepeater()
{
using (SqlConnection con = new SqlConnection("Data Source=RapidProgramming;Integrated Security=true;Initial Catalog=RPDB"))//connection string of your data base
{
con.Open();
SqlCommand cmd = new SqlCommand("Select * FROM [YOUR TABLE]", con);
SqlDataReader dr = cmd.ExecuteReader();
Repeater1.DataSource = dr;
Repeater1.DataBind();
con.Close();
}
}
Susanta RoutPosted Sep 21, 2015, 5:40 AM
PradeepPosted Sep 21, 2015, 3:34 AM
Shakti SaxenaPosted Sep 21, 2015, 3:18 AM