Search results for query: *

  1. kfirba

    Question Querying a dataset

    LINQ? What's that?
  2. kfirba

    Question Querying a dataset

    how do I query the dataset with more than 1 table, I mean, using the JOIN statement. if I want to select data only from 1 table, it's easy, I can do it with the select method and give the parameters in the function. How do I query more than 1 table to get result from more than 1 table, making...
  3. kfirba

    Question Querying a dataset

    thanks I have just found those tutorials by Microsoft and il going through them. There is only 1 thing which I can't understand, what they do is: result(rowIndex)(columnName) = "value" or result(rowIndex).Delete() why they do: result(rowIndex)(columnName) and not...
  4. kfirba

    Question Querying a dataset

    Not sure i have fully understood that. When you wrote "DataTable.Select" the DataTable is the name of the DtaTable that I'm querying? Is it like: "Names.Select()"? and what exactly the variable result holds? Could you provide me an example and show me how do I then use the variable result...
  5. kfirba

    Question Querying a dataset

    Hello! Is it possible querying a dataset instead of the Database? When I create a query in the designer, I think that when I activate the query, I actually querying the Database and not the Dataset. In addition, lets say I want to find some record in the dataset from Table called "books" how...
  6. kfirba

    Question Printing forms

    BUMP this is really important >.<
  7. kfirba

    Question Printing forms

    Hello! I have scroll-able form which I would like to print. I have already tried using this code: Private Sub btnPrint_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPrint.Click Me.PrintForm.PrintAction = Printing.PrintAction.PrintToPreview...
  8. kfirba

    Question Bolding certain characters in a label

    I have tried to use richtextbox but i couldn't get what I want bolded, because when I tried to read the richtextbox content and replace characters, I have received an error. The richtextbox is being made at run-time and I add it into a panel and after I add it into a panel, I tried to bold some...
  9. kfirba

    Question Bolding certain characters in a label

    Hello! I'm creating labels with text that I get from a query. I want to bold certain characters in the output. Let's say the user searches for "AD" and one of the result is "DAD" I want to bold the AD in the word to be like that: "DAD" is it possible? this is how I generate the label...
  10. kfirba

    Question How to allow scrolling in a panel and at the same time allow text changing in a TB

    Oh, I see. But, what I'm doing is that whenever the user enter the search box, the focus set to the panel. I will find a way to make it work ;) Thanks a lot!
  11. kfirba

    Question How to allow scrolling in a panel and at the same time allow text changing in a TB

    Thanks! There is a slightly problem. It seems like when I press a key it double add it to the text box. I will find a way to solve that. I just needed an idea, and you gave me the idea. Thanks!
  12. kfirba

    Question Add a DataTable to the current DataSet

    Oh, thanks a lot! That's exactly what I need! Have a nice day!
  13. kfirba

    Question Add a DataTable to the current DataSet

    Hello! I have a Database with 5 tables. At the beggining, I used only 4 tables, and now I see that I need another table, I need 5. I have added the fifth table to the Database, but, how do I add it to the current DataSet that I have in my program? I don't want to re-create my whole program...
  14. kfirba

    Question How to allow scrolling in a panel and at the same time allow text changing in a TB

    Hello! I got a program for movies rental. In the program, when you start typing something in the search box, I used a Panel to hold the SQL results of the movies name. Everything works perfect. There is one slightly problem. If I want to allow the user to scroll with the mouse wheel in the...
  15. kfirba

    Question How to set TableLayoutPanel cell's size programitacally

    I will do my research on that ;)
  16. kfirba

    Question How to set TableLayoutPanel cell's size programitacally

    Don't want to annoy you but, UserControl is a component just like windows form? When I right click on the project file, and then press Add, am I going to find the UserControl in there? If that so, I will have to do a small research about that
  17. kfirba

    Question How to set TableLayoutPanel cell's size programitacally

    I guess that is a code way to do it. Just to make it clearer, you created the flow panel and the picture box and the label at design? And if so, you are creating an instance of those everytime and adding that into a flow panel? I can't try it at the moment since I'm not home yet, but I'm gonna...
  18. kfirba

    Question How to enable scrolling with the Mouse Wheel?

    Oh, now I see! Well, my TableLayoutPanel is being created at run time, so I will just add a handler for the Panel. Yes it does, thanks! sorry for that I annoyed you.
  19. kfirba

    Question How to enable scrolling with the Mouse Wheel?

    I'm not sure we are talking about the same thing. Let me re-explain myself, I have a TableLayoutPanel with a certain height. When the content passes the height, scroll bars appears. In order to scroll down and up, I have to click and drag the scroll bar, or click on the little arrows. When I...
  20. kfirba

    Question How to enable scrolling with the Mouse Wheel?

    I how to do the event. I don't know the code that the event is going to have... Creating a handler is easy, but I don't know what will the MouseEnter event will contain, how it's gonna handle the mouse wheel?
Back
Top