Click here to Skip to main content
15,884,388 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Caching interop calls - not good Pin
Malcolm Smart20-Jul-06 23:33
Malcolm Smart20-Jul-06 23:33 
GeneralRe: Caching interop calls - not good Pin
Dustin Metzgar21-Jul-06 3:28
Dustin Metzgar21-Jul-06 3:28 
QuestionHTML Problem Pin
venkatasivaramaprasad20-Jul-06 2:29
venkatasivaramaprasad20-Jul-06 2:29 
AnswerRe: HTML Problem Pin
Malcolm Smart20-Jul-06 3:08
Malcolm Smart20-Jul-06 3:08 
QuestionHey guy , Web.config file Pin
Mohammed Amine20-Jul-06 2:02
Mohammed Amine20-Jul-06 2:02 
AnswerRe: Hey guy , Web.config file Pin
_AK_20-Jul-06 2:14
_AK_20-Jul-06 2:14 
GeneralRe: Hey guy , Web.config file Pin
Mohammed Amine20-Jul-06 2:22
Mohammed Amine20-Jul-06 2:22 
GeneralRe: Hey guy , Web.config file Pin
_AK_20-Jul-06 2:23
_AK_20-Jul-06 2:23 
GeneralRe: Hey guy , Web.config file Pin
Mohammed Amine20-Jul-06 2:43
Mohammed Amine20-Jul-06 2:43 
GeneralRe: Hey guy , Web.config file Pin
_AK_20-Jul-06 2:46
_AK_20-Jul-06 2:46 
GeneralRe: Hey guy , Web.config file Pin
Mohammed Amine20-Jul-06 4:36
Mohammed Amine20-Jul-06 4:36 
GeneralRe: Hey guy , Web.config file Pin
Mohammed Amine20-Jul-06 4:51
Mohammed Amine20-Jul-06 4:51 
GeneralRe: Hey guy , Web.config file Pin
Malcolm Smart20-Jul-06 3:10
Malcolm Smart20-Jul-06 3:10 
GeneralRe: Hey guy , Web.config file Pin
Mohammed Amine20-Jul-06 4:39
Mohammed Amine20-Jul-06 4:39 
GeneralRe: Hey guy , Web.config file Pin
Not Active20-Jul-06 5:08
mentorNot Active20-Jul-06 5:08 
GeneralRe: Hey guy , Web.config file Pin
Mohammed Amine20-Jul-06 5:24
Mohammed Amine20-Jul-06 5:24 
GeneralRe: Hey guy , Web.config file Pin
Not Active20-Jul-06 5:42
mentorNot Active20-Jul-06 5:42 
GeneralRe: Hey guy , Web.config file Pin
_AK_20-Jul-06 19:19
_AK_20-Jul-06 19:19 
QuestionNeed Help With GridView [modified] Pin
bluewavestrider20-Jul-06 1:53
bluewavestrider20-Jul-06 1:53 
Good day Y'all. I'm having a problem using a GridView with Edit Functionality. As can be seen below, I'm
using an SqlDataSource control to connect to a MySQL Odbc provider.

<asp:GridView ID="GridView1"
AutoGenerateColumns="false"
AutoGenerateEditButton="true"
DataSourceID="Hotel"
DataKeyNames="reservation_id" runat="server">
<Columns>
<asp:BoundField DataField="reservation_id" ReadOnly="True" HeaderText="ID" />
<asp:BoundField DataField="room_type" HeaderText="Client ID" />
<asp:BoundField DataField="room_number" HeaderText="Room Type" />
</Columns>
</asp:GridView>

<asp:SqlDataSource ID="Hotel" runat="server"
ConnectionString="Dsn=Hotel"
ProviderName="System.Data.Odbc"
SelectCommand="SELECT reservation_id, room_type, room_number FROM reservations WHERE room_number IS NULL;"
UpdateCommand="UPDATE reservations SET room_type=@room_type, room_number=@room_number WHERE reservation_id=@reservation_id;">
</asp:SqlDataSource>

Problem is that when I view the web page and edit a row, after clicking on the Update Linkbutton, the
GridView as well as the MySQL monitor shows no updates. I'll appreciate any help.

Live in fragments no longer. Only connect.

-- modified at 8:17 Thursday 20th July, 2006
AnswerRe: Need Help With GridView Pin
Paddy Boyd20-Jul-06 1:59
Paddy Boyd20-Jul-06 1:59 
GeneralRe: Need Help With GridView Pin
bluewavestrider20-Jul-06 2:16
bluewavestrider20-Jul-06 2:16 
AnswerRe: Need Help With GridView Pin
minhpc_bk20-Jul-06 8:00
minhpc_bk20-Jul-06 8:00 
GeneralRe: Need Help With GridView Pin
bluewavestrider21-Jul-06 4:52
bluewavestrider21-Jul-06 4:52 
GeneralRe: Need Help With GridView Pin
minhpc_bk21-Jul-06 16:04
minhpc_bk21-Jul-06 16:04 
QuestionAdding controls with code Pin
Mohammed Amine20-Jul-06 1:47
Mohammed Amine20-Jul-06 1:47 

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.