Click here to Skip to main content
15,915,086 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: auto update gridview Pin
Blue_Boy26-Jul-09 22:20
Blue_Boy26-Jul-09 22:20 
GeneralRe: auto update gridview Pin
haleemasher26-Jul-09 22:30
haleemasher26-Jul-09 22:30 
GeneralRe: auto update gridview Pin
Blue_Boy26-Jul-09 22:34
Blue_Boy26-Jul-09 22:34 
GeneralRe: auto update gridview Pin
haleemasher26-Jul-09 22:37
haleemasher26-Jul-09 22:37 
GeneralRe: auto update gridview Pin
Blue_Boy26-Jul-09 22:40
Blue_Boy26-Jul-09 22:40 
GeneralRe: auto update gridview Pin
haleemasher26-Jul-09 22:48
haleemasher26-Jul-09 22:48 
GeneralRe: auto update gridview Pin
Blue_Boy26-Jul-09 22:50
Blue_Boy26-Jul-09 22:50 
GeneralRe: auto update gridview Pin
haleemasher26-Jul-09 22:51
haleemasher26-Jul-09 22:51 
i use wizard not a bind method.
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            CellPadding="4" DataKeyNames="TransactionTypeID" DataSourceID="SqlDataSource2" 
            ForeColor="#333333" GridLines="None" 
            style="top: 492px; left: 323px; position: absolute; height: 133px; width: 407px" AlternatingRowStyle-HorizontalAlign="NotSet">
            <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
            <RowStyle BackColor="#E3EAEB" />
            <Columns>
                <asp:BoundField DataField="TransactionTypeID" HeaderText="Type ID" 
                    InsertVisible="False" ReadOnly="True" SortExpression="TransactionTypeID" />
                <asp:BoundField DataField="Transaction" HeaderText="Transaction" 
                    SortExpression="Transaction" />
                <asp:BoundField DataField="Description" HeaderText="Description" 
                    SortExpression="Description" />
                <asp:BoundField DataField="Category" HeaderText="Category" 
                    SortExpression="Category" />
                <asp:BoundField DataField="Active" HeaderText="Active" 
                    SortExpression="Active" />
                <asp:CommandField HeaderText="Edit" ShowEditButton="True" />
            </Columns>
            <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
            <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
            <EditRowStyle BackColor="#7C6F57" />
            <AlternatingRowStyle BackColor="White" />
        </asp:GridView>
        <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
            ConflictDetection="CompareAllValues" 
            ConnectionString="<%$ ConnectionStrings:Coupon ManagementConnectionString15 %>" 
            DeleteCommand="DELETE FROM [TransactionType] WHERE [TransactionTypeID] = @original_TransactionTypeID AND [Transaction] = @original_Transaction AND [Description] = @original_Description AND [Category] = @original_Category AND [Active] = @original_Active" 
            InsertCommand="INSERT INTO [TransactionType] ([Transaction], [Description], [Category], [Active]) VALUES (@Transaction, @Description, @Category, @Active)" 
            OldValuesParameterFormatString="original_{0}" 
            SelectCommand="SELECT * FROM [TransactionType]" 
            UpdateCommand="UPDATE [TransactionType] SET [Transaction] = @Transaction, [Description] = @Description, [Category] = @Category, [Active] = @Active WHERE [TransactionTypeID] = @original_TransactionTypeID AND [Transaction] = @original_Transaction AND [Description] = @original_Description AND [Category] = @original_Category AND [Active] = @original_Active">
            <DeleteParameters>
                <asp:Parameter Name="original_TransactionTypeID" Type="Decimal" />
                <asp:Parameter Name="original_Transaction" Type="String" />
                <asp:Parameter Name="original_Description" Type="String" />
                <asp:Parameter Name="original_Category" Type="String" />
                <asp:Parameter Name="original_Active" Type="String" />
            </DeleteParameters>
            <UpdateParameters>
                <asp:Parameter Name="Transaction" Type="String" />
                <asp:Parameter Name="Description" Type="String" />
                <asp:Parameter Name="Category" Type="String" />
                <asp:Parameter Name="Active" Type="String" />
                <asp:Parameter Name="original_TransactionTypeID" Type="Decimal" />
                <asp:Parameter Name="original_Transaction" Type="String" />
                <asp:Parameter Name="original_Description" Type="String" />
                <asp:Parameter Name="original_Category" Type="String" />
                <asp:Parameter Name="original_Active" Type="String" />
            </UpdateParameters>
            <InsertParameters>
                <asp:Parameter Name="Transaction" Type="String" />
                <asp:Parameter Name="Description" Type="String" />
                <asp:Parameter Name="Category" Type="String" />
                <asp:Parameter Name="Active" Type="String" />
            </InsertParameters>
        </asp:SqlDataSource>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:Coupon ManagementConnectionString14 %>" 
            SelectCommand="SELECT [Description] FROM [CouponTransaction]">
        </asp:SqlDataSource>

Questionhow can i display wikipedia links on my webpage..? [modified] Pin
adkalavadia26-Jul-09 22:07
adkalavadia26-Jul-09 22:07 
AnswerRe: how can i display wikipedia links on my webpage..? Pin
Christian Graus26-Jul-09 22:11
protectorChristian Graus26-Jul-09 22:11 
GeneralRe: how can i display wikipedia links on my webpage..? Pin
adkalavadia26-Jul-09 22:15
adkalavadia26-Jul-09 22:15 
GeneralRe: how can i display wikipedia links on my webpage..? Pin
Manas Bhardwaj26-Jul-09 22:20
professionalManas Bhardwaj26-Jul-09 22:20 
AnswerRe: how can i display wikipedia links on my webpage..? Pin
Abhishek Sur26-Jul-09 22:12
professionalAbhishek Sur26-Jul-09 22:12 
AnswerRe: how can i display wikipedia links on my webpage..? Pin
Baran M26-Jul-09 22:17
Baran M26-Jul-09 22:17 
GeneralRe: how can i display wikipedia links on my webpage..? Pin
adkalavadia26-Jul-09 22:26
adkalavadia26-Jul-09 22:26 
Question[Message Deleted] Pin
kheer26-Jul-09 21:33
kheer26-Jul-09 21:33 
AnswerRe: how to deploy Pin
Abhijit Jana26-Jul-09 21:34
professionalAbhijit Jana26-Jul-09 21:34 
GeneralRe: how to deploy Pin
kheer26-Jul-09 21:39
kheer26-Jul-09 21:39 
GeneralRe: how to deploy Pin
Christian Graus26-Jul-09 21:45
protectorChristian Graus26-Jul-09 21:45 
GeneralRe: how to deploy Pin
Abhijit Jana26-Jul-09 21:47
professionalAbhijit Jana26-Jul-09 21:47 
GeneralRe: how to deploy Pin
kheer26-Jul-09 21:56
kheer26-Jul-09 21:56 
GeneralRe: how to deploy Pin
Christian Graus26-Jul-09 21:57
protectorChristian Graus26-Jul-09 21:57 
AnswerRe: how to deploy Pin
Abhishek Sur26-Jul-09 21:58
professionalAbhishek Sur26-Jul-09 21:58 
QuestionHow to convert bytes to file??? Pin
nkmkrishna26-Jul-09 21:03
nkmkrishna26-Jul-09 21:03 
AnswerRe: How to convert bytes to file??? Pin
Aman Bhullar26-Jul-09 21:24
Aman Bhullar26-Jul-09 21:24 

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.