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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Shakti SaxenaRank #618 · 3.9K reputationPosted Sep 20, 2015, 11:18 PM EDT
PradeepRank #6,279 · 271 reputationPosted Sep 20, 2015, 11:34 PM EDT
Susanta RoutRank #1,557 · 1K reputationPosted Sep 21, 2015, 1:40 AM EDT
PradeepRank #6,279 · 271 reputationPosted Sep 21, 2015, 1:56 AM EDT
{
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 RoutRank #1,557 · 1K reputationPosted Sep 21, 2015, 3:49 AM EDT
PradeepRank #6,279 · 271 reputationPosted Sep 21, 2015, 3:55 AM EDT
Susanta RoutRank #1,557 · 1K reputationPosted Sep 21, 2015, 10:15 PM EDT