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

ASP.NET

 
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 
AnswerRe: Adding controls with code Pin
minhpc_bk20-Jul-06 16:30
minhpc_bk20-Jul-06 16:30 
QuestionDeployment of web application on multiple server... Pin
hiraljv20-Jul-06 1:46
hiraljv20-Jul-06 1:46 
AnswerRe: Deployment of web application on multiple server... Pin
minhpc_bk20-Jul-06 16:32
minhpc_bk20-Jul-06 16:32 
GeneralRe: Deployment of web application on multiple server... Pin
hiraljv23-Jul-06 19:31
hiraljv23-Jul-06 19:31 
GeneralRe: Deployment of web application on multiple server... Pin
minhpc_bk23-Jul-06 19:56
minhpc_bk23-Jul-06 19:56 
GeneralRe: Deployment of web application on multiple server... Pin
hiraljv24-Jul-06 1:59
hiraljv24-Jul-06 1:59 
QuestionNeed IIS 5.0 Pin
asprajesh20-Jul-06 1:20
asprajesh20-Jul-06 1:20 
AnswerRe: Need IIS 5.0 Pin
minhpc_bk20-Jul-06 8:10
minhpc_bk20-Jul-06 8:10 
Questionlength of URL Pin
psamy20-Jul-06 1:04
psamy20-Jul-06 1:04 
AnswerRe: length of URL Pin
albCode20-Jul-06 1:15
albCode20-Jul-06 1:15 
GeneralRe: length of URL Pin
psamy20-Jul-06 1:21
psamy20-Jul-06 1:21 

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.