Search results for query: *

  1. J

    Question 'Conversion from string to type double is not valid' error!

    I only have a basic knowledge in SQL. Not quite familiar with SPs n stuff yet. but hey, thanks.. :)
  2. J

    Question 'Conversion from string to type double is not valid' error!

    I understand. Separate numbers from the prefix letter. I'll try it out that way. :) I know. Writing an SP was my first idea. Even tried too. But my knowledge proven to be not enough. hehe.. (I will definitely get back to it again, this is just another way I thought of doing it in the meantime)...
  3. J

    Question 'Conversion from string to type double is not valid' error!

    I wanna perform a function like this. When you save a record, I need the primary key of that record to be auto-generated (X001). Say, when you create a new record and save it, it should be saved like X002 automatically. So to test this before I implement that on this project I'm working on, I...
  4. J

    Question Data loading FROM the grid

    still stuck... :/ I got the general idea from ur article and thanks for that. But I'm still a little bit stuck. :confused: Okay I'll give u the picture of the program I'm working on. There's a Main menu (which is a MDI container). And there is a form called frmCourseMaster as a children...
  5. J

    Question How to select values from database in textboxes and move them on buttons

    First and foremost, I’m not a VB.NET pro so bare with me. :) And secondly, this isn’t a web based program but since ur thread has 0 replies, I thought of sharing this might give you at least a slight idea on how to accomplish what ur asking. This is a little windows based program which I’ve...
  6. J

    Question Textbox validation

    hmm... I see ur point. Thanks for clearing it up.
  7. J

    Question Data loading FROM the grid

    hello everyone, Okay so I have a grid loaded with data. What I wanna do is when you double click on the row header, the data in that row should load into a form with textboxes. I've chosen the RowHeaderMouseDoubleClick as the evnt for this but dunno how to start. a little help with some example...
  8. J

    Question Textbox validation

    ah no matter. I fixed it :) Wrote the following under the TextChanged event. If Char.IsLetter(txtFindName.Text) Then MsgBox("Doesn't accept") txtFindName.Text = "" End If This is easier than the ASCII thing, I must say. Thanks. cheers! :D I.J
  9. J

    Question Textbox validation

    I tried out it ur way y'day. It works fine except for a little problem. I wrote this code for the KeyPress event. The thing is, it fires (the msgbox pops up) when I enter the 2nd letter. When I enter the 1st one, it doesn't throw the error. any idea?? I tried it on KeyDown, GotFocus events...
  10. J

    Question Textbox validation

    It will come in handy. I'll keep that in mind :) thanks for that.
  11. J

    Question Textbox validation

    my solution :) Thanks for ur info. the example program is helpful :) btw this is the method I've mentioned earlier. about ASCII codes. Private Sub txtFindName_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtFindName.KeyPress If...
  12. J

    Question Textbox validation

    hello, I need some suggestions on this one. Is there any way to validate textboxes?? Like for some, you can only insert numeric characters, for others only alphabetical characters? And I wanna validate em at da keypress event. I know how to do it using coding on ASCII keys. But can anyone give...
  13. J

    Question Visual Basic.NET with SQL help!

    wow...I didn't know that! awesomeness! Thanks alot again. :D I'll switch to that method right away!
  14. J

    Question Visual Basic.NET with SQL help!

    ****! I completely forgot to do that!! oh man, I'm such an idiot! I'll fix it up now. Thank you so much :) well, using data adapters is the only way I know. If you could tell me a few alternatives, I'll look em up for sure. :)
  15. J

    Question Visual Basic.NET with SQL help!

    Hello everyone :) Okay, first off I'm kinda new to programming. Still in the learning phase. :) Started by learning some VB.NET. I've been creating this little program. It's a school/institute managment system kind of a thing. not very cool though. hehe.. Anyways, I'm having a little trouble...
Back
Top