Click here to Skip to main content
12,444,366 members (49,921 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: ASP.NET C#3.5
Dear Experts ,
plz help me about my code..
I tried sooo lot but i am not getting ..

plz suggest me the c# code...
my design code is..
source code.

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table >
                <tr>
                    <td>
                        <asp:Panel ID="pnlSearchJobType" runat="server" GroupingText="Filter">
                            <table width="100%">
                                <tr>
                                    <td width="100">
                                        &nbsp;
                                    </td>
                                    <td width="150">
                                        Job Type
                                    </td>
                                    <td width="20">
                                        :
                                    </td>
                                    <td>
                                                                        <asp:DropDownList ID="ddlobype" runat="server"
                                    AppendDataBoundItems="True" Width="135px" SkinID="DDListNormal">
                                    <asp:ListItem Selected="True" Value="-1">--- ALL ---</asp:ListItem>
                                </asp:DropDownList>
                                    </td>
                                    <td align="right" width="100">
                                        <asp:Button ID="btnSearch" runat="server"
                                            Text="Search" Height="26px" />
                                    </td>
                                    <td width="100">
                                    </td>
                                </tr>
                            </table>
                        </asp:Panel>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Panel ID="Panel1" runat="server" Width="100%"  GroupingText="Job Type List">
                            <asp:GridView ID="gvJobType" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                                DataSourceID="objDsJobType" SkinID="SkinGrid" Width="100%" OnPageIndexChanging="gvJobType_PageIndexChanging"
 
                                OnRowDataBound="gvJobType_RowDataBound">
                                <Columns>
 
                                    <asp:TemplateField HeaderText="JobTypeId" InsertVisible="False" SortExpression="JobTypeId"
                                        Visible="False">
                                        <ItemTemplate>
                                            <asp:Label ID="lblItemJobTypeId" runat="server" Text='<%# Bind("JobTypeId") %>'></asp:Label>
                                        </ItemTemplate>
 
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Job Type" SortExpression="JobType">
                                        <ItemTemplate>
                                            <asp:Label ID="lblItemJobType" runat="server" Text='<%# Bind("JobType") %>'>
Posted 27-Sep-12 23:34pm
Updated 28-Sep-12 0:57am
v2
Comments
n.podbielski 28-Sep-12 5:52am
   
1. You should use proper English.
2. Ask you question with more specific information about what you trying to do exactly.
Member 9376025 28-Sep-12 6:50am
   
for the above i want to retrieve the data in gridview..
Gopinath_Rajan 1-Oct-12 6:06am
   
What you want actually, i didn't get your question

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160811.3 | Last Updated 28 Sep 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100