Search:

Type: Posts; User: asp.net

Search: Search took 0.03 seconds.

  1. Replies
    17
    Views
    5,734

    Re: [RESOLVED] Update Table from Datatable?

    But what i do now is follwing the code given above and i face some problems! I juz want to share the problems i faced here. Nothing's wrong wat. But anyway thanks.
  2. Replies
    12
    Views
    940

    Re: comparison problem

    Yes, the date is datetime format. I alr solved it by using other data type :p
    thanks anyway.
  3. Replies
    17
    Views
    5,734

    Re: [RESOLVED] Update Table from Datatable?

    Error is showed when below code is wrote.Anyone can help?

    cmd.ExecuteNonQuery()
  4. Replies
    12
    Views
    940

    Re: comparison problem

    It cant add data into database.
  5. Replies
    12
    Views
    940

    Re: comparison problem

    My problem almostly done .But this line i shud add at where? any comment?

    cmd.CommandText = "INSERT INTO Booking (Username,BookingType,BDay,BMonth,BYear,BTime)Values ('" & txtResName.Text & "','"...
  6. Replies
    12
    Views
    940

    Re: comparison problem

    But now i dun hv any error messages come out.That's the biggest problem!
  7. Replies
    12
    Views
    940

    Re: comparison problem

    Still cannot, is it maybe my database stores date and time as "datetime" data type. Will there a problem cause it?
  8. Replies
    12
    Views
    940

    comparison problem

    Private Sub btnSubmit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSubmit.Click

    Dim objUserDetail As MemberDetail

    Dim myReader As SqlDataReader
    ...
  9. Replies
    3
    Views
    594

    Re: [urgent]choose from radio button list

    I know buthen my case is radio button list!
    it cant run what ".Checked" things..
  10. Replies
    3
    Views
    594

    [RESOLVED]choose from radio button list

    Let say my radiobutton list called "rdoGender", inside got "Female" and "Male".
    How i gonna assign the work if "Female" is selected?


    If rdoGender.SelectedItem.Text = "Male" Then
    ....

    End...
  11. Replies
    4
    Views
    577

    Re: [RESOLVED] Session variable problem

    Can i know how we check there is what stored inside the session?
  12. Replies
    4
    Views
    677

    Re: [help]update data problem

    The errors wont display out anymore.But now the problem is if my radio button list :
    rdogender.SelectedItem.Value ="M" but my rdogender.SelectedItem.Test = "Male" in vb page.
    I stored the value...
  13. Replies
    4
    Views
    677

    Re: [help]update data problem

    Erm, u mean must fill in with some data in the database? But i got value inside the drop down list, juz dunno what's wrong with this error, it still can't solve now.
  14. Replies
    4
    Views
    677

    [help]update data problem

    cmd.CommandText = "UPDATE Employee SET EmpAddress=@EmpAddress, EmpCity =@EmpCity, EmpZipCode=@EmpZip, WHERE Username = @username"
    cmd.Parameters.Add("@username",...
  15. Replies
    17
    Views
    5,734

    Re: [RESOLVED] Update Table from Datatable?

    Can i ask what thing can i replace with "da"?
  16. Replies
    17
    Views
    5,734

    Re: [RESOLVED] Update Table from Datatable?

    let say now i follow ur code, what thing else i have to add in? anyone can help me how to add those DataAdapter and dataReaderwith my connection. Thanks.
  17. Replies
    2
    Views
    554

    Re: [help] update data to Sql Server

    anyone here can guild me how to use dataAdapter n dataReader these things?add at where? tq.
  18. Replies
    2
    Views
    554

    Re: [help] update data to Sql Server

    What's wrong with my code? Y i cannot update, cannot run.Search for help, Thanks.
  19. Replies
    2
    Views
    554

    [help] update data to Sql Server

    Hi, this time I wan to update tables in my database called "Table". and a session called "MemberDetail" which just contains "id" and "password". Now i want to update the info of Address and City in...
  20. Replies
    17
    Views
    5,734

    Re: [RESOLVED] Update Table from Datatable?

    Another question: Ur session("AgentNum") includes the Address, City, State and all things u wana update? or juz only include the ID inside the session is enough?
  21. Replies
    17
    Views
    5,734

    Re: [RESOLVED] Update Table from Datatable?

    May i ask "sSQL" is what in ur database?
  22. Replies
    11
    Views
    810

    Re: {urgent} login and passwords

    any sample codes can provide me arr?
  23. Replies
    11
    Views
    810

    Re: {urgent} login and passwords

    Here is my login page. Can anyone here kindly tell me how to add Session in every page, so that the user cannot surf the pages inside if cant log in successful.Thanks.
  24. Replies
    11
    Views
    810

    Re: {urgent} login and passwords

    erm, what i mean the JavaScript in html page and the javaScript in vb page. Is there any differences?
  25. Replies
    11
    Views
    810

    {urgent} login and passwords

    Anyone here can guild me how to do login and passwords page in before user get in navigate the web pages? Any sample codes or links can provided? :cry:

    I need VB code as well. and i want to ask...
  26. Replies
    21
    Views
    1,592

    Re: [help] submit data to database problem

    lol i alr decide to use table to replace frameset..coz frameset hard to maintain leh...>.<
  27. Replies
    21
    Views
    1,592

    Re: [help] submit data to database problem

    I add in totally same as ur code into my vb page,inside button_click function. Is it anything i left? Y it got error when i click the button to link to 'booking.aspx' with IE? anyway,i use vb as...
  28. Replies
    21
    Views
    1,592

    Re: [help] submit data to database problem

    Hi, Thanks first n I would like to ask, where shud I add this codes to? inside vb code page? or html page?
  29. Replies
    21
    Views
    1,592

    Re: [help] submit data to database problem

    I would like to ask that, when i click a button to run then it displays "done, but there is an error in page" under the bar of IE. The above code is to come out a message box when user does not key...
  30. Replies
    21
    Views
    1,592

    Re: [help] submit data to database problem

    lol, really need direct it with JavaScript?
    I use framesets because i feel it is easy to maintain n look more tidy,if compare to table.
  31. Replies
    21
    Views
    1,592

    Re: [help] submit data to database problem

    Sorry again,


    if I use "frameset" in asp.net and i wan to direct the page to "booking.aspx" in frame name called "middle". What code should i add in the above codes? Can anyone helps me? Thanks...
  32. Replies
    21
    Views
    1,592

    Re: [help] submit data to database problem

    Public Gender As String

    If radMale.Checked = True Then
    Gender = "M"
    Else
    Gender = "F"
    End If

    SqlCommand.CommandText = "INSERT INTO Gender2 (code)"
  33. Replies
    21
    Views
    1,592

    Re: [help] submit data to database problem

    Well, Hi all,
    Can i ask another question? How to declare Radio button in asp.net? Thanks.
  34. Replies
    21
    Views
    1,592

    Re: [help] submit data to database problem

    I now temporary solved the problem...with the method is does not open too many entries in the tables.
  35. Replies
    21
    Views
    1,592

    Re: [help] submit data to database problem

    Error is occurred :
  36. Replies
    21
    Views
    1,592

    Re: [help] submit data to database problem

    Thanks!
    But now I done all but still cannot save data to my SQL server 2000. Here is my code, can anyone helps me see what happen here?
  37. Replies
    21
    Views
    1,592

    Re: [help] submit data to database problem

    Thanks for reply.
    But i met another problem


    BUT it turns green from


    What happen? Thanks.
  38. Replies
    21
    Views
    1,592

    [help] submit data to database problem

    Hi, I'm newbie in ASP.NET. :)
    I met some problems when i want to save my data into my database which is SQL Server 2000. My database name is 'greenview'. There is no error found when i debug, juz...
  39. Replies
    7
    Views
    39,393

    Re: Forms Authentication Example

    Hi, I'm newbie in asp.net. Can I know what this "?" meant by? and the [forms name=".DEMOAPP"] can be replaced by what name? it must be a cookie?
Results 1 to 39 of 39



Click Here to Expand Forum to Full Width