User Profile

Collapse

Profile Sidebar

Collapse
achalmehra
achalmehra
Last Activity: Apr 26 '10, 11:37 AM
Joined: Apr 3 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • achalmehra
    started a topic query to find records with substring

    query to find records with substring

    hi friends. i am using VS2005 to develop a windows application.
    I have a datagrid bound to a dataset with only one database table in it.

    I have added following query to data adapter :


    SELECT MatNO, Descp, MatGrp, Type, Qlty, Unit
    FROM material_master
    WHERE (Descp LIKE '%' + @name1 + '%')


    now when i run this query with query builder the result is ok.when i saved the quer...
    See more | Go to post

  • the value in combobx is of type tinyint(SQL)
    See more | Go to post

    Leave a comment:


  • thnx friend....actua lly i had alredy solved this problem..infact the solution is the same as suggested by you.i had not bound the grid to any source.as there is one combobox in the grid when i select an item from the combobx and then I click to enter something in next cell to it in the same row then system gives an runtym error " System.FormatEx ception :Value cann't be converted to type 'System.String' "...
    See more | Go to post

    Leave a comment:


  • nice reply...bt i m nt getting u :-p .could u plz elaborate ur pint...
    See more | Go to post

    Leave a comment:


  • hi frinvale...actu ally my problem is not ony limited to populating other column according to the selection of combobox in grid.What i exactly want is that there should be an empty grid every time and we can enter the info
    I dont want to edit/display old records...
    See more | Go to post

    Leave a comment:


  • hi Frinavale..I am using Visual studio 2005 and developing a databse windows application in vb.net with SQL server2005 as database.

    I want to bit elaborate my point.what my requirement is that my user have to create bill of items.Now some times item may be one & some time it may be more.
    if there are 4 fields for the input for each item: item_no , item_name, qunatity,price
    item_no is a combobox , and other are normal...
    See more | Go to post

    Leave a comment:


  • filling columns in grid on user input event

    hi friends..i am using a grid view with one of its column as combobox.
    now what i want is that when user select some option from the combobox then some of the cells only in the same row get filled automatically according to the selected option.

    like if there are 4 fields in grid : emp_id , name , age , salary
    and id column is of type combobox then on selecting the particular emp_id from the list , its coressponding name...
    See more | Go to post

  • achalmehra
    started a topic combobox in datagrid.

    combobox in datagrid.

    hi friends, i am working in VB.net...

    i have a requirement of using a dropdown list/combobox in data grid for allowing user to select from the list.
    how can i do that.I want to have a particular column with this option available that should be filled with data from the SQL database.

    For e.g :

    if following are the fields in grid view :
    emp id , emp name , salary

    now in this...
    See more | Go to post

  • achalmehra
    replied to datagrid with multiple tables
    in .NET
    hi dear...yeahhhh i m reallly sry for that......i will try to keep it in mind next time.....but actually i was in hurry so was not able to write the what i need exactly...:(
    actually , my question is that i want to display the data from multiple tables in a single grid in VB.net .
    See more | Go to post

    Leave a comment:


  • achalmehra
    started a topic datagrid with multiple tables
    in .NET

    datagrid with multiple tables

    hi , i have two tables in my SQL database :vendorMaster and vendorData

    vendorMaster has two fields : name and id
    vendorData has two fields : id and amount.
    now i want to select the id from vendorData with maximum amount and on based of that result i will find the name from VendorMaster.

    after this i want to display these three fields in datagrid :

    id,name,amount

    where amount...
    See more | Go to post
No activity results to display
Show More
Working...