hi!
i have this datatable:
adpt = New OleDbDataAdapter("select * from design where id=2", cnn)
adpt.fill(header)
header.Rows(0).Item("font") = lbl.Font
header.Rows(0).Item("fore_color") = lbl.ForeColor
header.Rows(0).Item("font_size") = lbl.Font.Size
header.Rows(0).Item("italic") =...
anoter question
thanx,it helped.
but now i have another question. i wrote this "shell" command to open a asp.net file to be run as a web page.
for example. i have in directory:
c:\inetpub\wwwroot\odshir
a solution. the start up file is main_page.aspx
i want the asp.net to be run.
i wrote...
hi!
i have an openfiledialog.
i want only the name+postfix of the file.
in asp.net i have this code:
sFileName = Right(Submit1.PostedFile.FileName.Trim, _Len(Submit1.PostedFile.FileName.Trim) - i)
(i can write openfiledialog.filename.trim instead of submit1.postfile.filename)
but in vb.net...
doesnt help
i still get the message:
(i had the dataadopter!)
An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in system.data.dll
what i wrote
i didn't understand the answer there. is there something less complicated?
i wrote like that:
sql = "update categories set checked = 1 where id=2"
datacmd = New OleDbCommand(sql, cnn)
datacmd.ExecuteNonQuery()
but at runtime I get:
An unhandled exception of type...
i am tryning to update my access database, but i get this error message:
An unhandled exception of type 'System.InvalidOperationException' occurred in system.data.dll
Additional information: Update requires a valid UpdateCommand when passed DataRow collection with modified rows.
i want to thank you
thanx a million for the code. it helped alot.
i have a simple question:
how do i run a webapplication on the local host, with the "shell" command?
for example:
shell("c:\inetpub\wwwroot\odshir\......")
i also want the start up page to be shown first as i programmed in the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.