Click here to Skip to main content
15,914,109 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: client side leave event of textbox in asp.net Pin
Mike Ellison28-Jul-09 18:51
Mike Ellison28-Jul-09 18:51 
AnswerRe: client side leave event of textbox in asp.net Pin
Brij28-Jul-09 18:56
mentorBrij28-Jul-09 18:56 
QuestionRecievingDate is neither a DataColumn nor a DataRelation for table . Pin
haleemasher28-Jul-09 17:51
haleemasher28-Jul-09 17:51 
AnswerRe: RecievingDate is neither a DataColumn nor a DataRelation for table . Pin
Abhijit Jana28-Jul-09 17:54
professionalAbhijit Jana28-Jul-09 17:54 
GeneralRe: RecievingDate is neither a DataColumn nor a DataRelation for table . Pin
haleemasher28-Jul-09 18:02
haleemasher28-Jul-09 18:02 
QuestionCreate class properties on the fly from xml Pin
crystal915428-Jul-09 17:34
crystal915428-Jul-09 17:34 
AnswerRe: Create class properties on the fly from xml Pin
Mike Ellison28-Jul-09 18:49
Mike Ellison28-Jul-09 18:49 
QuestionException has been thrown by the target of an invocation. Pin
haleemasher28-Jul-09 17:10
haleemasher28-Jul-09 17:10 
when i run this program i got an erroe "Exception has been thrown by the target of an invocation."
how to debug it?
        <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
            AutoGenerateColumns="False" CellPadding="4" 
            DataSourceID="SqlDataSource1" ForeColor="#333333" GridLines="None" 
            style="z-index: 1; top: 413px; left: 285px; position: absolute; height: 172px; width: 476px; margin-right: 88px" 
            onrowcancelingedit="GridView1_RowCancelingEdit" 
            OnRowUpdating="UpdateRecord" 
            onrowediting="GridView1_RowEditing" PageSize="5">
            <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
            <RowStyle BackColor="#E3EAEB" />
            <Columns>
            
               <asp:TemplateField HeaderText="Date" HeaderStyle-HorizontalAlign="Left" SortExpression="RecievingDate">
               <ItemTemplate >
               <asp:Label ID="lbl1" runat ="server" Text ='<%# Bind("[RecievingDate]") %>'></asp:Label>               </ItemTemplate>

 <EditItemTemplate>
   <asp:TextBox ID="txtDate" Width="100px" runat="server" Text='<%# Bind("[RecievingDate]") %>'></asp:TextBox>
 </EditItemTemplate>
</asp:TemplateField>

<asp:TemplateField HeaderText="Coupon" SortExpression="CouponName">

 <EditItemTemplate>
  <asp:TextBox ID="txtcoupon"  Width="100px" runat="server" Text='<%# Bind("[CouponName]") %>'></asp:TextBox>
 </EditItemTemplate>

  <ItemTemplate>
    <asp:Label ID="lblcoupon1" Width="100px" runat="server" Text='<%# Bind("[CouponName]") %>'></asp:Label>
  </ItemTemplate>
  
</asp:TemplateField>

<asp:TemplateField HeaderText="Serial Start" SortExpression="Serial_Start">
  <EditItemTemplate>
   <asp:TextBox ID="txtstart"  Width="100px" runat="server" Text='<%# Bind("[Serial_Start]") %>'></asp:TextBox>
  </EditItemTemplate>

   <ItemTemplate>
     <asp:Label ID="lblstart1"  Width="100px" runat="server" Text='<%# Bind("[Serial_Start]") %>'></asp:Label>
   </ItemTemplate>
</asp:TemplateField>


<asp:TemplateField HeaderText="End" SortExpression="Serial_End">

         <EditItemTemplate>
            <asp:TextBox ID="txtend" Width="100px" runat="server" Text='<%# Bind("[Serial_End]") %>'></asp:TextBox>
         </EditItemTemplate>

         <ItemTemplate>
            <asp:Label ID="lblend1" Width="100px" runat="server" Text='<%# Bind("[Serial_End]") %>'></asp:Label>
         </ItemTemplate>
   
      
</asp:TemplateField>

        <asp:TemplateField HeaderText="Recieved By" SortExpression="Recieved_By">

            <EditItemTemplate>

                <asp:TextBox ID="txtby" Width="100px" runat="server" Text='<%# Bind("[Recieved_By]") %>'></asp:TextBox>

            </EditItemTemplate>

   <ItemTemplate >

       <asp:Label ID="lblby1" Width="100px" runat="server" Text='<%# Bind("[Recieved_By]") %>'></asp:Label>

   </ItemTemplate>


</asp:TemplateField>




               
<asp:TemplateField HeaderText="Edit" ShowHeader="False"> 
<EditItemTemplate> 

<asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="True" CommandName="Update" Text="Update"></asp:LinkButton> 

<asp:LinkButton ID="LinkButton2" runat="server" CausesValidation="False" CommandName="Cancel" Text="Cancel"></asp:LinkButton> 

</EditItemTemplate> 
<ItemTemplate> 

<asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Edit" Text="Edit"></asp:LinkButton> 

</ItemTemplate>
</asp:TemplateField>

            </Columns>
            
            <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
            <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" 
                Height="4px" />
            <EditRowStyle BackColor="#7C6F57" />
            <AlternatingRowStyle BackColor="White" />
        </asp:GridView> 

QuestionDatatable problem Pin
Jagz W28-Jul-09 16:41
professionalJagz W28-Jul-09 16:41 
AnswerRe: Datatable problem Pin
N a v a n e e t h28-Jul-09 16:46
N a v a n e e t h28-Jul-09 16:46 
GeneralRe: Datatable problem Pin
Jagz W28-Jul-09 16:49
professionalJagz W28-Jul-09 16:49 
GeneralRe: Datatable problem Pin
Abhijit Jana28-Jul-09 17:52
professionalAbhijit Jana28-Jul-09 17:52 
QuestionHow to bypass ISA Server programmatically? Pin
just3ala228-Jul-09 8:02
just3ala228-Jul-09 8:02 
QuestionWeb page is not runing!!!!! Pin
zeeShan anSari28-Jul-09 7:51
zeeShan anSari28-Jul-09 7:51 
AnswerRe: Web page is not runing!!!!! Pin
zeeShan anSari28-Jul-09 8:08
zeeShan anSari28-Jul-09 8:08 
AnswerRe: Web page is not runing!!!!! Pin
Abhijit Jana28-Jul-09 8:34
professionalAbhijit Jana28-Jul-09 8:34 
AnswerRe: Web page is not runing!!!!! Pin
N a v a n e e t h28-Jul-09 15:50
N a v a n e e t h28-Jul-09 15:50 
QuestionDesign using MVP pattern Pin
Cybernate28-Jul-09 5:15
Cybernate28-Jul-09 5:15 
AnswerRe: Design using MVP pattern Pin
Jeremy Likness28-Jul-09 9:22
professionalJeremy Likness28-Jul-09 9:22 
GeneralRe: Design using MVP pattern [modified] Pin
Cybernate28-Jul-09 9:54
Cybernate28-Jul-09 9:54 
AnswerRe: Design using MVP pattern Pin
N a v a n e e t h28-Jul-09 15:55
N a v a n e e t h28-Jul-09 15:55 
GeneralRe: Design using MVP pattern Pin
Cybernate28-Jul-09 16:21
Cybernate28-Jul-09 16:21 
Questionuser availability Pin
gora1234528-Jul-09 4:43
gora1234528-Jul-09 4:43 
AnswerRe: user availability Pin
Vimalsoft(Pty) Ltd28-Jul-09 4:49
professionalVimalsoft(Pty) Ltd28-Jul-09 4:49 
GeneralRe: user availability Pin
gora1234528-Jul-09 5:32
gora1234528-Jul-09 5:32 

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.