Jump to content
Xtreme .Net Talk

winnie

Members
  • Posts

    12
  • Joined

  • Last visited

winnie's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. yes, i am accepting changes from the dataset after updating. here are the coding where i call the db. tbI1.DataBindings.Clear() tbI2.DataBindings.Clear() tbI3.DataBindings.Clear() cmdServer_Storage = connsms.CreateCommand cmdServer_Storage.CommandText = "SELECT * FROM dbo.Server_Storage " daServer_Storage.SelectCommand = cmdServer_Storage Dim cb As SqlCommandBuilder = New SqlCommandBuilder(daServer_Storage) daServer_Storage.Fill(dsServer_Storage, "Server_Storage") tbI1.DataBindings.Add("Text", dsServer_Storage.Tables(0), "Date_Send") tbI1.Visible = False tbI2.DataBindings.Add("Text", dsServer_Storage.Tables(0), "Receiver_ID") tbI2.Visible = False tbI3.DataBindings.Add("Text", dsServer_Storage.Tables(0), "Message") tbI3.Visible = False txtInbox.Text = tbI1.Text & vbCrLf + tbI2.Text & vbCrLf + tbI3.Text[edit]added VB tags[/edit] tb1,tb2 and tb3 are textbox. i set it become invisible because i want to display all the data into one textbox (txtInbox) . can i display the data this way? are there any errors in the code or did i left out anything?? thanks a lot.
  2. hi. i am using vb.net and sql i have problems with databinding. here is the scenario: when i click on a link, i can read and delete data from the database. when i click on the link for the second time, the data will multiply itself. for example, if the first time there are 2 data, the second time will become 4 data. and so on. what is the problem here?? any help? thanks.
  3. thanks a lot. i can get it now. i really appreciate u give the details on how to do it. it helps a lot. thanks again :p
  4. i have a set list of images that allow user to choose as the background and i am using windows 2000 as the OS.
  5. hi. i am using vb.net. how can i change the form background image when the user click on a certain link? for example, i am using image a as the form background. when the user click on change image b link, the form background will change to image b while all the other functions still remain. any idea anyone? thank you.
  6. thank you everyone. my code can get the value now. i guess dotnet is very picky with the " and ' sign. thanks for the help again :p
  7. hi. i am using vb.net with sql server as database. i am using data reader to display some data from my database. here are part of my code. cd.CommandText = "SELECT *FROM Result WHERE User_ID = name " the problem is "User_ID" cannot get the value of "name" any help?? thanks.
  8. i have tried the code, but still cannot run. is "adodb.recordset" for vb6 only??
  9. my code is very messy right now. can anyone show me how to do it in a proper way??
  10. can someone show me how to write this in vb.net code?? i cant seem to get mine to work...
  11. i am using microsoft sql server. there are a few columns such as userid,password,email,DOB and etc. i thought i just have to check for userid and password. if it match, the user can login. is this the right way?
  12. hi. i am new to .net programming. i have a simple question here. how can i validate a login form using vb.net and sql? can i get sample code from somewhere?
×
×
  • Create New...