Search results for query: *

  1. B

    PopUp Window

    Can somebody help me?
  2. B

    PopUp Window

    What is the correct syntax to open a PopUp Window? (ASP.NET 2.0) and how I can close a Windows Media Player by Program Code.
  3. B

    Format a Currency Datagrid Column

    Thanks! Now I'm very clear about the theme.
  4. B

    Format a Currency Datagrid Column

    Thanks to both moderators but I have a last question: if the case is only display data (NOT EDIT DATA) like, for example, the result of searches, DG is a good and easy solution?
  5. B

    Format a Currency Datagrid Column

    Mr Kulrom: A question by simple curiosity but, simultaneously, it gives me the opportunity to learn a little more about VB.NET. If you don't use DG Control, which is the method of your preference to display data from a DB similar to a DG Control?
  6. B

    Format a Currency Datagrid Column

    The code oValue.Format("{0:n2}", Convert.ToDecimal(Container.DataItem("ColumnName"))) don´t work but the resultant idea from your two replies work very well :) Based on this idea, the code below work fine: Dim oValue As New DataGridTextBoxColumn Dim Res As Integer = oValue.MappingName =...
  7. B

    Format a Currency Datagrid Column

    Thanks Mr.Kulrom. I use this code in my project Private Sub GridColumns() Dim TSPaid As New DataGridTableStyle TSPaid.MappingName = "Payments" TSPaid.AllowSorting = True Dim oDate As New DataGridTextBoxColumn oDate.MappingName = "Date" oDate.HeaderText = "DATE" oDate.Width = 65...
  8. B

    Format a Currency Datagrid Column

    Please, what is the syntax to format a Currency Datagrid Column using by code DataGridTableStyle? For example: oPrice.Format???? (I don't know the syntax...) Thanks
  9. B

    Character Casing in a Password Textbox

    Thanks very much to both Moderators for the fast and good replies!! Now I have a very clear idea about the problem and solution. Regards!!
  10. B

    Character Casing in a Password Textbox

    Please how I can to validate or determine the Character Casing in a Password Textbox in Vb.Net (NOT Asp.NET) when the Application compare the Text write by the User with the Password in a DataBase? Thanks!
  11. B

    How to delete a Record

    Thanks very much!! Problem solved.:) Regards
  12. B

    How to delete a Record

    Thanks. I use, in agreement of your suggestion, this code: ' I define Connection and Dataset in a Module ....code........ dta = New OleDbDataAdapter("Select * from ingredients where ID= " & vId & " ", con) Dim cb As New OleDb.OleDbCommandBuilder(dta) Dim dtr As DataRow dtr =...
  13. B

    How to delete a Record

    In my Project a Recipe (table 1) have several Ingredients (Table 2) with the same ID of the Recipe. I need to delete a Ingredient record without using Primary Keys or other field as reference. Please, how I can use, for example, DataTables,DataRows,Position, etc to point the Record to delete? Or...
  14. B

    Populating a Listview from a Database

    Thanks! That's precise what I need. Regards,
  15. B

    Populating a Listview from a Database

    Anyone can tell me how I can to populate a ListView with data from a Access Database? Really, what is the syntax to Add a row, for example, from the NAME, EMAIL, etc columns? Thanks
  16. B

    Listbox

    According to your time, please don't forget the demo :) or at least, if you are busy, an little guide about how I can populate the listview with the Access DB data. (Most of the information that I have obtained, don't use databases and is very confused) Thanks...
  17. B

    Listbox

    Thanks Mr. Kulrom (and Mr. Jim too..) . Please, I wait for the demo. I'm, really, very, very novice with VB.NET and your help is gold to me :) A question: using ListView I can fill textboxes with Recipe Name, time, portions, Preparation, difficulty,etc,etc? In other words, the full info of the...
  18. B

    Listbox

    Thanks. The query now work fine but my code above don't work. The problem is: in the demo of Mr. kulrom, he use one table and I use two tables and two different items lists (One for the Recipes Names and one for the Ingredients ID). So, my code read the Index of the Combobox Items but NOT the ID...
  19. B

    Listbox

    Mr kulrom: I think that I can solve my problem based on your code with this Sub Private Sub cboRec_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboRec.SelectedIndexChanged Me.cboId.SelectedIndex = Me.cboRec.SelectedIndex Dim Flag As Integer =...
  20. B

    Listbox

    Thanks. Excellent! Only one thing: if I use a ListBox, I can have two columns, right? The exact case is: the project is a Recipes Catalogue. So, when the user click in a Recipe ID (the Name is only for information of which Recipe info load. This is the reason of two columns), a Datagrid show the...
Back
Top