Click here to Skip to main content
15,888,069 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionPing sql server database table and track inserted records Pin
Ani199124-Mar-13 6:03
Ani199124-Mar-13 6:03 
General70-487 Material Pin
silentspeaker24-Mar-13 3:39
silentspeaker24-Mar-13 3:39 
QuestionRe: 70-487 Material Pin
Richard MacCutchan24-Mar-13 4:32
mveRichard MacCutchan24-Mar-13 4:32 
Questionbooked dates should appear in red color in calender Pin
Member 870181324-Mar-13 3:09
Member 870181324-Mar-13 3:09 
AnswerRe: booked dates should appear in red color in calender Pin
Sandeep Mewara24-Mar-13 5:47
mveSandeep Mewara24-Mar-13 5:47 
GeneralRe: booked dates should appear in red color in calender Pin
Member 870181324-Mar-13 23:47
Member 870181324-Mar-13 23:47 
GeneralRe: booked dates should appear in red color in calender Pin
Member 870181325-Mar-13 7:57
Member 870181325-Mar-13 7:57 
QuestionCheckbox List help Pin
Girish_Sharma23-Mar-13 22:09
Girish_Sharma23-Mar-13 22:09 
I am using Visual Studio 2012 C# ASP.NET on Windows 8 Virtual Machine. In the aspx page I am having below code :
ASP.NET
<asp:TemplateField HeaderText="Active">
 <FooterTemplate>
  <asp:CheckBoxList ID="CheckBoxList2" runat="server">
   <asp:ListItem>Act1</asp:ListItem>
   <asp:ListItem>Act2</asp:ListItem>
   <asp:ListItem>Act3</asp:ListItem>
  </asp:CheckBoxList>
 </FooterTemplate>
 <ItemTemplate >
  <asp:Label ID="Label7" runat="server" Text='<%# Eval("Active_Status") %>'></asp:Label>
  </ItemTemplate>
<EditItemTemplate >
 <asp:CheckBoxList ID="CheckBoxList2" runat="server">
 <asp:ListItem>Act1</asp:ListItem>
 <asp:ListItem>Act2</asp:ListItem>
 <asp:ListItem>Act3</asp:ListItem>
</asp:CheckBoxList>
</EditItemTemplate>
</asp:TemplateField>


In the GridView1_RowDataBound I want to write the code for checked options of checkboxlist from database table column name Active_status; i.e. in the table I am storing values like "Act1,Act2,Act3" or "Act1" or "Act2, Act3" etc. So, as user clicks on Edit link button (i.e. putting Gridview in Editmode) the options of this checkboxlist should be checked marked respectively from table. Simultaneously, I wish to update the table as user changes the check option in the table something like "Act1,Act3" if user checked marked on Act1 and Act3 check options like wise in a single string column length 50.

I tried to search in google, but no luck. I am not sure, how clear I am asking the question, but if anything confusing or left by me, please let me know.

Thanks and Regards
Girish Sharma
Questionasp.net Pin
Member 992520623-Mar-13 12:20
Member 992520623-Mar-13 12:20 
AnswerRe: asp.net Pin
David C# Hobbyist.23-Mar-13 13:41
professionalDavid C# Hobbyist.23-Mar-13 13:41 
AnswerRe: asp.net Pin
Rahul Rajat Singh24-Mar-13 19:47
professionalRahul Rajat Singh24-Mar-13 19:47 
Questionradiobutton Pin
mmmickyyy22-Mar-13 20:31
mmmickyyy22-Mar-13 20:31 
AnswerRe: radiobutton Pin
Richard MacCutchan22-Mar-13 23:51
mveRichard MacCutchan22-Mar-13 23:51 
QuestionCountdown timer Pin
Member 877289122-Mar-13 9:25
Member 877289122-Mar-13 9:25 
AnswerRe: Countdown timer Pin
dusty_dex22-Mar-13 9:56
dusty_dex22-Mar-13 9:56 
Questionprint list view Pin
atul_pune21-Mar-13 23:41
atul_pune21-Mar-13 23:41 
QuestionJquery Event in Ajax Loaded Table Only Works Once Pin
kruegs3521-Mar-13 10:10
kruegs3521-Mar-13 10:10 
AnswerRe: Jquery Event in Ajax Loaded Table Only Works Once Pin
Marco Bertschi22-Mar-13 1:38
protectorMarco Bertschi22-Mar-13 1:38 
GeneralRe: Jquery Event in Ajax Loaded Table Only Works Once Pin
kruegs3522-Mar-13 1:57
kruegs3522-Mar-13 1:57 
GeneralRe: Jquery Event in Ajax Loaded Table Only Works Once Pin
kruegs3522-Mar-13 2:40
kruegs3522-Mar-13 2:40 
GeneralRe: Jquery Event in Ajax Loaded Table Only Works Once Pin
Marco Bertschi22-Mar-13 5:16
protectorMarco Bertschi22-Mar-13 5:16 
QuestionProblem with WebMethod when it is called from Jquery Pin
Nafiseh Salmani20-Mar-13 12:50
Nafiseh Salmani20-Mar-13 12:50 
AnswerRe: Problem with WebMethod when it is called from Jquery Pin
jkirkerx20-Mar-13 16:40
professionaljkirkerx20-Mar-13 16:40 
GeneralRe: Problem with WebMethod when it is called from Jquery Pin
Nafiseh Salmani20-Mar-13 18:41
Nafiseh Salmani20-Mar-13 18:41 
GeneralRe: Problem with WebMethod when it is called from Jquery Pin
jkirkerx21-Mar-13 6:16
professionaljkirkerx21-Mar-13 6:16 

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.