Click here to Skip to main content
15,893,487 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionGridView dissapears when linking DropDown selection to it Pin
kmarchiony17-Jul-07 18:37
kmarchiony17-Jul-07 18:37 
AnswerRe: GridView dissapears when linking DropDown selection to it Pin
Michael Sync17-Jul-07 20:28
Michael Sync17-Jul-07 20:28 
AnswerRe: GridView dissapears when linking DropDown selection to it Pin
ballameharmurali17-Jul-07 20:38
ballameharmurali17-Jul-07 20:38 
Questionhow to make Gridview Editable? Pin
DKalepu17-Jul-07 18:26
DKalepu17-Jul-07 18:26 
AnswerRe: how to make Gridview Editable? Pin
Imran Khan Pathan17-Jul-07 18:35
Imran Khan Pathan17-Jul-07 18:35 
GeneralRe: how to make Gridview Editable? Pin
DKalepu17-Jul-07 19:03
DKalepu17-Jul-07 19:03 
GeneralRe: how to make Gridview Editable? Pin
Imran Khan Pathan17-Jul-07 19:29
Imran Khan Pathan17-Jul-07 19:29 
GeneralRe: how to make Gridview Editable? Pin
DKalepu17-Jul-07 19:36
DKalepu17-Jul-07 19:36 
here is my source code:


<asp:GridView ID="myGridView1" runat="server" Width="483px" CellPadding="4" ForeColor="#333333" AutoGenerateColumns="False" DataSourceID="AccessDataSource1" AllowPaging="True" OnSelectedIndexChanged="myGridView1_SelectedIndexChanged">
<Columns>
<asp:BoundField DataField="Sno" HeaderText="SNo" SortExpression="Sno"/>

<asp:TemplateField HeaderText="PartNo">
<ItemTemplate>
<asp:TextBox runat="server" ID="txtPartNo">
</asp:TextBox>
</ItemTemplate>
</asp:TemplateField>

<asp:TemplateField HeaderText="Manufacturer">
<ItemTemplate>
<asp:TextBox runat="server" ID="txtMfg">
</asp:TextBox>
</ItemTemplate>
</asp:TemplateField>

<asp:TemplateField HeaderText="Quantity">
<ItemTemplate>
<asp:TextBox runat="server" ID="txtQty">
</asp:TextBox>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<RowStyle BackColor="#EFF3FB" />
<EditRowStyle BackColor="#2461BF" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" />

</asp:GridView>
<asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/db1.mdb"
SelectCommand="SELECT [Sno] FROM [RfqInfo]" UpdateCommand="UPDATE [RfqInfo] SET [Partno] = txtPartNo.Text, [mfg] = txtMfg.Text, [qty] = txtQty.Text WHERE [Sno] = Sno">
</asp:AccessDataSource>

Is that UpdateCommand true??

Questionjavascript for dropdownlist...... Pin
Member 387988117-Jul-07 18:10
Member 387988117-Jul-07 18:10 
AnswerRe: javascript for dropdownlist...... Pin
Imran Khan Pathan17-Jul-07 19:00
Imran Khan Pathan17-Jul-07 19:00 
Questionresizing table column Pin
ankur123417-Jul-07 17:45
ankur123417-Jul-07 17:45 
AnswerRe: resizing table column Pin
N a v a n e e t h17-Jul-07 18:20
N a v a n e e t h17-Jul-07 18:20 
GeneralRe: resizing table column Pin
sidbaruah17-Jul-07 18:26
sidbaruah17-Jul-07 18:26 
Question_avascript instead of javascript Pin
Scent of a Knight17-Jul-07 14:40
Scent of a Knight17-Jul-07 14:40 
AnswerRe: _avascript instead of javascript Pin
Amit Kumar G17-Jul-07 14:47
Amit Kumar G17-Jul-07 14:47 
QuestionWebsitemap/Repeater Control Pin
Amit Kumar G17-Jul-07 14:10
Amit Kumar G17-Jul-07 14:10 
QuestionHandle MaxRequestLength error Pin
kjosh17-Jul-07 12:07
kjosh17-Jul-07 12:07 
AnswerRe: Handle MaxRequestLength error Pin
Venkatesh Mookkan17-Jul-07 16:26
Venkatesh Mookkan17-Jul-07 16:26 
Questionupload Pin
raquidd2217-Jul-07 11:54
raquidd2217-Jul-07 11:54 
Questionasp.net2/c# - skinned controls using themes Pin
foolios17-Jul-07 10:13
foolios17-Jul-07 10:13 
QuestionRemove lines from Gridview Pin
kjosh17-Jul-07 9:12
kjosh17-Jul-07 9:12 
AnswerRe: Remove lines from Gridview Pin
Tarakeshwar Reddy17-Jul-07 10:05
professionalTarakeshwar Reddy17-Jul-07 10:05 
QuestionHow to implement Audio Mixing on WebApplication Pin
raturi_raj17-Jul-07 8:29
raturi_raj17-Jul-07 8:29 
QuestionCall c# function in javascript tag Pin
keyboard warrior17-Jul-07 7:39
keyboard warrior17-Jul-07 7:39 
AnswerRe: Call c# function in javascript tag Pin
kubben17-Jul-07 8:09
kubben17-Jul-07 8:09 

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.