using (SqlConnection con = new SqlConnection(constr))
{
using (SqlCommand cmd = new SqlCommand(query))
{
using (SqlDataAdapter sda = new SqlDataAdapter())
{
cmd.CommandType = CommandType.Text;
cmd.Connection = con;
sda.SelectCommand = cmd;
sda.Fill(dt);
}
}
return dt;
}
}
0
Khaja MoizuddinRank #270 · 9.4K reputationPosted Dec 10, 2016, 8:30 PM EST
0
http://www.c-sharpcorner.com/forums/how-to-create-star-rating-using-asp-netc-sharp2
http://www.dotnetawesome.com/2013/12/how-to-implement-5-star-rating-system-inside-gridview.html
https://www.codeproject.com/articles/9117/c-star-rating-control
http://stackoverflow.com/questions/9195561/create-a-5-star-rating-control-with-hover-images-without-javascript
http://stackoverflow.com/questions/37221576/wilson-score-for-1-5-star-rating-in-c-sharp
http://stackoverflow.com/questions/19632358/star-rating-in-asp-net
Hope this helps you
0
Suvendu Shekhar GiriRank #546 · 4.4K reputationPosted Dec 10, 2016, 12:58 AM EST
Salman BegRank #284 · 8.8K reputationPosted Dec 10, 2016, 1:17 AM EST
Amit Kumar SinghRank #562 · 4.3K reputationPosted Dec 10, 2016, 1:45 AM EST
2.http://www.aspdotnet-suresh.com/2011/05/ajax-rating-control-sample-with.html
3.http://www.aspsnippets.com/Articles/ASPNet-AJAX-Rating-Control-Example.aspx
Devendra KumarRank #3,132 · 457 reputationPosted Dec 10, 2016, 1:01 AM EST
Manas MohapatraRank #182 · 13.2K reputationPosted Dec 10, 2016, 1:52 AM EST
Devendra KumarRank #3,132 · 457 reputationPosted Dec 10, 2016, 1:53 AM EST
Devendra KumarRank #3,132 · 457 reputationPosted Dec 10, 2016, 1:56 AM EST
Manas Mohapatra sir thanks for rply
Ananth GRank #1,176 · 1.5K reputationPosted Dec 10, 2016, 11:30 AM EST
Khaja MoizuddinRank #270 · 9.4K reputationPosted Dec 10, 2016, 8:30 PM EST
Suvendu Shekhar GiriRank #546 · 4.4K reputationPosted Dec 10, 2016, 12:58 AM EST
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts