Click here to Skip to main content
15,867,835 members
Home / Discussions / C#
   

C#

 
QuestionIntermittent problem with design-time display of inherited UserControls in VS 2013 Pin
BillWoodruff19-Mar-16 4:36
professionalBillWoodruff19-Mar-16 4:36 
AnswerRe: Intermittent problem with design-time display of inherited UserControls in VS 2013 Pin
OriginalGriff19-Mar-16 5:23
mveOriginalGriff19-Mar-16 5:23 
GeneralRe: Intermittent problem with design-time display of inherited UserControls in VS 2013 Pin
BillWoodruff19-Mar-16 8:30
professionalBillWoodruff19-Mar-16 8:30 
Questionproblem asked in SIEMENS. Pin
Member 1240313019-Mar-16 0:27
Member 1240313019-Mar-16 0:27 
GeneralRe: problem asked in SIEMENS. Pin
Sascha Lefèvre19-Mar-16 0:32
professionalSascha Lefèvre19-Mar-16 0:32 
AnswerRe: problem asked in SIEMENS. Pin
Richard MacCutchan19-Mar-16 0:37
mveRichard MacCutchan19-Mar-16 0:37 
AnswerRe: problem asked in SIEMENS. Pin
Patrice T19-Mar-16 12:05
mvePatrice T19-Mar-16 12:05 
Questionsorting records in datagrid Pin
Engr. Yange18-Mar-16 20:05
Engr. Yange18-Mar-16 20:05 
Pls, how can I sort records on a datagrid using d fourth column. Then generate serial numbers in d fifth column after sorting. view my code sample
<asp:gridview id="grid" runat="server" autogeneratecolumns="False"
="" headerstyle-bordercolor="#996633" width="98%" allowpaging="True" backcolor="White" bordercolor="#999999" borderstyle="Solid" borderwidth="1px" cellpadding="3" forecolor="Black" onpageindexchanging="grid_PageIndexChanging" pagesize="20" allowsorting="True" onrowediting="grid_RowEditing" onrowupdating="grid_RowUpdating">
<alternatingrowstyle backcolor="#CCCCCC">
<columns>
<asp:boundfield headertext="Reg. No"
="" controlstyle-width="10%" datafield="AdmNo" sortexpression="AdmNo">
<controlstyle width="20%">
<itemstyle width="10%">

<asp:boundfield headertext="Ass(1)"
="" controlstyle-width="10%" datafield="Ass1" sortexpression="Ass1">
<controlstyle width="15%">
<itemstyle width="10%">

<asp:boundfield headertext="Ass(2)"
="" controlstyle-width="10%" datafield="Ass2" sortexpression="Ass2">
<controlstyle width="15%">
<itemstyle width="10%">

<asp:boundfield headertext="Test(1)"
="" controlstyle-width="15%" datafield="Test1" sortexpression="Test1">
<controlstyle width="15%">
                    <ItemStyle Width="10%" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText ="Test(2)" 
                        ControlStyle-Width = "5%" DataField="Test2" SortExpression="Test2" >

<controlstyle width="5%">
<itemstyle width="10%">

<asp:boundfield headertext="Exams"
="" controlstyle-width="35%" datafield="Exams" sortexpression="Exams">
<controlstyle width="15%">
<itemstyle width="10%">

<asp:boundfield headertext="Total"
="" controlstyle-width="5%" datafield="Total" sortexpression="Total">
<controlstyle width="5%">
<itemstyle width="5%">

<asp:boundfield headertext="Grade"
="" controlstyle-width="5%" datafield="Grade" sortexpression="Grade">
<controlstyle width="5%">
<itemstyle width="10%">

<asp:boundfield headertext="Remark"
="" controlstyle-width="5%" datafield="Remark" sortexpression="Remark">
<controlstyle width="5%">
<itemstyle width="10%">

<asp:boundfield headertext="Position"
="" controlstyle-width="5%" datafield="ClassPosition">
<controlstyle width="5%">
<itemstyle width="10%">

<asp:commandfield showeditbutton="True" showcancelbutton="False"
="" buttontype="Button">

                    <FooterStyle BackColor="#CCCCCC" />

<headerstyle bordercolor="#996633" backcolor="Black" forecolor="White" font-bold="True">
<pagerstyle backcolor="#990000" forecolor="White" horizontalalign="Center">
<selectedrowstyle backcolor="#000099" font-bold="True" forecolor="White">
<sorteddescendingcellstyle backcolor="#CAC9C9">


-- modified 21-Mar-16 8:30am.
AnswerRe: sorting records in datagrid Pin
Mycroft Holmes18-Mar-16 21:43
professionalMycroft Holmes18-Mar-16 21:43 
QuestionIs there a better way in Rx? Pin
Matt T Heffron18-Mar-16 13:06
professionalMatt T Heffron18-Mar-16 13:06 
AnswerRe: Is there a better way in Rx? Pin
Kenneth Haugland18-Mar-16 16:02
mvaKenneth Haugland18-Mar-16 16:02 
AnswerRe: Is there a better way in Rx? Pin
Kenneth Haugland20-Mar-16 18:56
mvaKenneth Haugland20-Mar-16 18:56 
GeneralRe: Is there a better way in Rx? Pin
Matt T Heffron21-Mar-16 7:08
professionalMatt T Heffron21-Mar-16 7:08 
GeneralRe: Is there a better way in Rx? Pin
Kenneth Haugland21-Mar-16 7:47
mvaKenneth Haugland21-Mar-16 7:47 
GeneralRe: Is there a better way in Rx? Pin
Matt T Heffron21-Mar-16 9:53
professionalMatt T Heffron21-Mar-16 9:53 
GeneralRe: Is there a better way in Rx? Pin
Matt T Heffron21-Mar-16 7:10
professionalMatt T Heffron21-Mar-16 7:10 
QuestionX Number Of Results Per Line Pin
MadDashCoder18-Mar-16 11:16
MadDashCoder18-Mar-16 11:16 
QuestionRe: X Number Of Results Per Line Pin
CHill6018-Mar-16 11:50
mveCHill6018-Mar-16 11:50 
AnswerRe: X Number Of Results Per Line Pin
MadDashCoder18-Mar-16 12:44
MadDashCoder18-Mar-16 12:44 
AnswerRe: X Number Of Results Per Line Pin
Richard Andrew x6418-Mar-16 12:42
professionalRichard Andrew x6418-Mar-16 12:42 
AnswerRe: X Number Of Results Per Line Pin
Sascha Lefèvre18-Mar-16 14:45
professionalSascha Lefèvre18-Mar-16 14:45 
GeneralRe: X Number Of Results Per Line Pin
Brisingr Aerowing18-Mar-16 15:08
professionalBrisingr Aerowing18-Mar-16 15:08 
GeneralRe: X Number Of Results Per Line Pin
Luc Pattyn19-Mar-16 14:12
sitebuilderLuc Pattyn19-Mar-16 14:12 
GeneralRe: X Number Of Results Per Line Pin
Brisingr Aerowing19-Mar-16 20:30
professionalBrisingr Aerowing19-Mar-16 20:30 
AnswerRe: X Number Of Results Per Line Pin
Richard Deeming21-Mar-16 2:50
mveRichard Deeming21-Mar-16 2:50 

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.