Click here to Skip to main content
15,898,877 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Problem In Sending EMail via VC# 2005. Pin
Tarakeshwar Reddy30-Apr-07 8:25
professionalTarakeshwar Reddy30-Apr-07 8:25 
GeneralRe: Problem In Sending EMail via VC# 2005. Pin
kubben30-Apr-07 9:39
kubben30-Apr-07 9:39 
QuestionLive Chat Project..! Pin
wEb GuRu...30-Apr-07 6:57
wEb GuRu...30-Apr-07 6:57 
AnswerRe: Live Chat Project..! Pin
kirthikirthi30-Apr-07 19:12
kirthikirthi30-Apr-07 19:12 
QuestionIIS Problem Pin
TheMajorRager30-Apr-07 5:55
TheMajorRager30-Apr-07 5:55 
QuestionASP.NET/AJAX Accordion Control (close content) Pin
captoreg30-Apr-07 4:43
captoreg30-Apr-07 4:43 
QuestioncheckBoxLists Pin
satyanarayana raju30-Apr-07 4:12
satyanarayana raju30-Apr-07 4:12 
AnswerRe: checkBoxLists Pin
Mayank Parmar30-Apr-07 22:46
professionalMayank Parmar30-Apr-07 22:46 
dt_News = SqlHelper.ExecuteDatatable(SqlHelper.ConnectionString, CommandType.Text, "select newsletter_type_id,newsletter_type_name from newsletter_type_master");
chkNews.DataTextField = "newsletter_type_name";
chkNews.DataValueField = "newsletter_type_id";
chkNews.DataSource = dt_News;
chkNews.DataBind();


/////////Get and display checked newsletter
dt_NewsClicked = SqlHelper.ExecuteDatatable(SqlHelper.ConnectionString, CommandType.Text,
"select newsletter_type_id from user_newsletter_type where user_id='"+userId+"'");
int w = dt_NewsClicked.Rows.Count;
int[] newsChecked = new int[20];
for (int i = 0; i < dt_NewsClicked.Rows.Count;i++)
{
newsChecked[i] = Convert.ToInt32(dt_NewsClicked.Rows[i]["newsletter_type_id"].ToString());
}
for (int a = 0; a < w ; a++)
{
chkNews.Items[newsChecked[a]-1].Selected = true;
}

------------------------------------------------------------------------
note : I use free SQLHelper Class to connect with database.
chkNews is my Checkbox group.

Regards,
Mayank Parmar
Senior Software Engineer
Amba Tech
Gandhinagar, India

Questionvalidation +asp.net 2.0 + c# Pin
ritu432130-Apr-07 3:35
ritu432130-Apr-07 3:35 
AnswerRe: validation +asp.net 2.0 + c# Pin
MoustafaS30-Apr-07 4:13
MoustafaS30-Apr-07 4:13 
QuestionCan you help me for CSS Pin
mghiassi30-Apr-07 2:53
mghiassi30-Apr-07 2:53 
AnswerRe: Can you help me for CSS Pin
badgrs30-Apr-07 5:01
badgrs30-Apr-07 5:01 
QuestionMap overlay of wmf icon and drag online Pin
Mazumdar30-Apr-07 2:47
Mazumdar30-Apr-07 2:47 
Questionhow to iterate in a controls loop in asp.net 2.0? Pin
Tridip Bhattacharjee30-Apr-07 1:33
professionalTridip Bhattacharjee30-Apr-07 1:33 
AnswerRe: how to iterate in a controls loop in asp.net 2.0? Pin
kubben30-Apr-07 2:15
kubben30-Apr-07 2:15 
QuestionGet path in DLL rather than from ASP.NET Pin
mail57235230-Apr-07 1:22
mail57235230-Apr-07 1:22 
AnswerRe: Get path in DLL rather than from ASP.NET Pin
Jesse Squire30-Apr-07 1:57
Jesse Squire30-Apr-07 1:57 
AnswerRe: Get path in DLL rather than from ASP.NET Pin
FinishedOnTime30-Apr-07 9:11
FinishedOnTime30-Apr-07 9:11 
Questionhow to floating image box on right side o f bottom of page in asp.net Pin
Piyush Vardhan Singh30-Apr-07 0:44
Piyush Vardhan Singh30-Apr-07 0:44 
AnswerRe: how to floating image box on right side o f bottom of page in asp.net Pin
Jesse Squire30-Apr-07 2:03
Jesse Squire30-Apr-07 2:03 
AnswerRe: how to floating image box on right side o f bottom of page in asp.net Pin
Arun.Immanuel30-Apr-07 2:44
Arun.Immanuel30-Apr-07 2:44 
GeneralRe: how to floating image box on right side o f bottom of page in asp.net Pin
Piyush Vardhan Singh30-Apr-07 3:10
Piyush Vardhan Singh30-Apr-07 3:10 
GeneralRe: how to floating image box on right side o f bottom of page in asp.net Pin
Arun.Immanuel30-Apr-07 4:02
Arun.Immanuel30-Apr-07 4:02 
GeneralRe: how to floating image box on right side o f bottom of page in asp.net Pin
badgrs30-Apr-07 5:03
badgrs30-Apr-07 5:03 
Questionurgent help is required Pin
speedy_gonzalas30-Apr-07 0:42
speedy_gonzalas30-Apr-07 0:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.