Click here to Skip to main content
15,902,275 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionMicrosoft ASP.Net Ajax - Xhtml compliance Pin
Clickok9-Feb-07 5:18
Clickok9-Feb-07 5:18 
AnswerRe: Microsoft ASP.Net Ajax - Xhtml compliance Pin
badgrs9-Feb-07 10:00
badgrs9-Feb-07 10:00 
QuestionFormsAuthentication Pin
kaizenIT9-Feb-07 5:00
kaizenIT9-Feb-07 5:00 
AnswerRe: FormsAuthentication Pin
kubben9-Feb-07 7:06
kubben9-Feb-07 7:06 
AnswerRe: FormsAuthentication Pin
kaizenIT9-Feb-07 9:16
kaizenIT9-Feb-07 9:16 
QuestionHow to Export data from crystal report to Excel or pdf Pin
mohd imran abdul aziz9-Feb-07 3:51
mohd imran abdul aziz9-Feb-07 3:51 
AnswerRe: How to Export data from crystal report to Excel or pdf Pin
maabarca9-Feb-07 4:52
maabarca9-Feb-07 4:52 
QuestionDatagrid Pin
toanthinh9-Feb-07 3:50
toanthinh9-Feb-07 3:50 
How to update or delete direct from Grid to Database?I tried my best but fail.Please help me.I have enclosed my code. Please modify

Private Sub Grid_Customer_UpdateCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles Luoi_khach_hang.UpdateCommand
Dim Name1 As TextBox = e.Item.Cells(0).Controls(0)
Dim Name2 As TextBox = e.Item.Cells(1).Controls(0)
Dim Sex As CheckBox = e.Item.FindControl("Phai")
Dim Custom_Code As Integer = Luoi_khach_hang.DataKeys(e.Item.ItemIndex)
Dim SQL As String = "UPDATE khach_hang SET ho_khach_hang='" & Name1.Text & "',ten_khach_hang='" & name2.Text & "',gioi_tinh=" & Sex.Checked & " where mkh=" & Customer_Code
Dim Connect As OleDb.OleDbConnection = Bang_khach_hang.Connect
Connect.Open()
Dim cmd As New OleDb.OleDbCommand(sql, Connect)
Try
cmd.ExecuteNonQuery()
Catch ex As Exception
End Try
Connect.Close()
Grid_Customer.EditItemIndex = -1
Doc_danh_sach_khach_hang()
Lien_ket_du_lieu()
End Sub
AnswerRe: Datagrid Pin
postmaster@programmingknowledge.com9-Feb-07 6:18
postmaster@programmingknowledge.com9-Feb-07 6:18 
AnswerRe: Datagrid Pin
toanthinh10-Feb-07 3:26
toanthinh10-Feb-07 3:26 
GeneralRe: Datagrid Pin
toanthinh10-Feb-07 3:31
toanthinh10-Feb-07 3:31 
Question.NET Framework Pin
No-e9-Feb-07 3:06
No-e9-Feb-07 3:06 
AnswerRe: .NET Framework Pin
badgrs9-Feb-07 3:11
badgrs9-Feb-07 3:11 
AnswerRe: .NET Framework Pin
Colin Angus Mackay9-Feb-07 3:16
Colin Angus Mackay9-Feb-07 3:16 
GeneralRe: .NET Framework Pin
No-e9-Feb-07 3:45
No-e9-Feb-07 3:45 
GeneralRe: .NET Framework Pin
No-e9-Feb-07 3:58
No-e9-Feb-07 3:58 
Questionhow to draw graphs in asp.net Pin
subbu Manikonda9-Feb-07 2:38
subbu Manikonda9-Feb-07 2:38 
AnswerRe: how to draw graphs in asp.net Pin
Sylvester george9-Feb-07 2:52
Sylvester george9-Feb-07 2:52 
QuestioniFrame Pin
24891289-Feb-07 1:30
24891289-Feb-07 1:30 
AnswerRe: iFrame Pin
Bassam Saoud9-Feb-07 2:33
Bassam Saoud9-Feb-07 2:33 
GeneralRe: iFrame Pin
24891289-Feb-07 2:46
24891289-Feb-07 2:46 
GeneralRe: iFrame Pin
Paddy Boyd9-Feb-07 2:55
Paddy Boyd9-Feb-07 2:55 
AnswerRe: iFrame Pin
badgrs9-Feb-07 3:09
badgrs9-Feb-07 3:09 
QuestionPopup Calendar inside GridView Pin
Jay_se9-Feb-07 0:27
Jay_se9-Feb-07 0:27 
AnswerRe: Popup Calendar inside GridView Pin
Sylvester george9-Feb-07 0:38
Sylvester george9-Feb-07 0:38 

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.