Click here to Skip to main content
15,923,087 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionwhat windows version that can run application designed by VB.Net Pin
roitha8-May-06 15:48
roitha8-May-06 15:48 
AnswerRe: what windows version that can run application designed by VB.Net Pin
Steve Pullan8-May-06 17:10
Steve Pullan8-May-06 17:10 
AnswerRe: what windows version that can run application designed by VB.Net Pin
Mekong River8-May-06 22:47
Mekong River8-May-06 22:47 
Questionopen MDIChild Pin
roitha8-May-06 15:37
roitha8-May-06 15:37 
AnswerRe: open MDIChild Pin
minhnguyen088-May-06 18:05
minhnguyen088-May-06 18:05 
AnswerRe: open MDIChild Pin
meconomou8-May-06 23:07
meconomou8-May-06 23:07 
QuestionDisable linkbutton in datarid control Pin
newvb068-May-06 13:22
newvb068-May-06 13:22 
QuestionDataAdapter can you tell me ?? Pin
Mohammed Amine8-May-06 13:03
Mohammed Amine8-May-06 13:03 
well , i think i have to be stupide to get the correct answear of ma question

i'm a beginner & i thaught i know what is dataadapter but today morning i know that i no nothing may be

i wanna make sure please if you can help

well i won't right a story this is the code :

private sub AddTable (Str as String,TbName as String)
Cmd.commandtext = Str
Adapter = new sqldataadapter(Cmd)
Adapter.Fill(DtSet,"Room")
End Sub

with this methode i create a datatable

UpdtData(Adp as sqldataadapter,tbN as string)
CmdBuilder = new SqlCommandBuilder(Adp)
Adp.Update(DtSet,"Room")
Dtset.clear
Adp.Fill(DtSet,"Room")
End sub

with this methode i update the DB

i just create all the datatables with the same methode that mean i use the same command & the same adapter to fill the data set is that wrong ??

what i know is that the data adapter is just a bridge or not a bridge it uses the command to access DB extract rows & fill the dataset that mean he don't have tables in on something

then why it don't want to update in the DB ??

i built two data tables with the same methode AddTable()

but when i wanted just to update one table "Room"
UpdtData(Adapter,"Room")

it threw an exception

i hope you understood me

may you help ??

try to be good if you can't be the best
AnswerRe: DataAdapter can you tell me ?? Pin
meconomou8-May-06 14:23
meconomou8-May-06 14:23 
GeneralRe: DataAdapter can you tell me ?? Pin
Mohammed Amine8-May-06 21:50
Mohammed Amine8-May-06 21:50 
QuestionHow do you create a subform? Pin
penguin50008-May-06 11:08
penguin50008-May-06 11:08 
AnswerRe: How do you create a subform? Pin
meconomou8-May-06 14:45
meconomou8-May-06 14:45 
GeneralRe: How do you create a subform? Pin
penguin50008-May-06 19:25
penguin50008-May-06 19:25 
GeneralRe: How do you create a subform? Pin
meconomou8-May-06 22:57
meconomou8-May-06 22:57 
QuestionVS2005, Updating the ReportViewer/Report datasource at runtime Pin
Mark Gorcz8-May-06 10:47
Mark Gorcz8-May-06 10:47 
QuestionOverride the Paint Function Pin
dassouki8-May-06 10:42
dassouki8-May-06 10:42 
Questiondynamic context menu Pin
meconomou8-May-06 9:13
meconomou8-May-06 9:13 
AnswerRe: dynamic context menu Pin
Rizwan Bashir9-May-06 1:44
Rizwan Bashir9-May-06 1:44 
GeneralRe: dynamic context menu Pin
meconomou9-May-06 2:55
meconomou9-May-06 2:55 
GeneralRe: dynamic context menu Pin
Rizwan Bashir9-May-06 4:23
Rizwan Bashir9-May-06 4:23 
GeneralRe: dynamic context menu Pin
meconomou9-May-06 4:40
meconomou9-May-06 4:40 
GeneralRe: dynamic context menu Pin
Rizwan Bashir9-May-06 21:37
Rizwan Bashir9-May-06 21:37 
GeneralRe: dynamic context menu Pin
meconomou10-May-06 13:26
meconomou10-May-06 13:26 
QuestionAppend .tif* Files Pin
james_holokai028-May-06 8:02
james_holokai028-May-06 8:02 
AnswerRe: Append .tif* Files Pin
Rizwan Bashir9-May-06 1:49
Rizwan Bashir9-May-06 1:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.