dataset

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • shif

    #1

    dataset

    Hi
    I am a new developer in .net, i facing a problem while retrieving data.This
    is my code, DA=Dataadapter and DS =dataset
    DA_master.Selec tCommand.Parame ters("@tr_no"). Value = Textsearch.Text
    DS_data.Clear() , DA_master.Fill( DS_data)
    Using this i can view the data in datagrid,In my textbox databinding text
    propery i gave some tr_no colmun name,but data is not showing in textbox,but
    if i am not using ds_data.clear() its appearing.i want to clear previous
    entry,so i am using ds_data.clear() .What can be the problem.how can i solve
    this,i also tried with
    Me.BindingConte xt(ds_data, "veh_mast").Pos ition = Me.BindingConte xt(ds_data,
    "veh_mast").Cou nt - 1,but no result in textbox.
    --
    Thanks
Working...