Click here to Skip to main content
15,893,790 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: xmlns question Pin
Mark Salsbery21-Jun-09 7:47
Mark Salsbery21-Jun-09 7:47 
AnswerRe: xmlns question Pin
SteveTheThread22-Jun-09 0:18
SteveTheThread22-Jun-09 0:18 
QuestionWeb browser application having database Pin
Rits11038918-Jun-09 21:34
Rits11038918-Jun-09 21:34 
AnswerRe: Web browser application having database Pin
Christian Graus18-Jun-09 23:54
protectorChristian Graus18-Jun-09 23:54 
GeneralRe: Web browser application having database Pin
#realJSOP19-Jun-09 0:11
mve#realJSOP19-Jun-09 0:11 
GeneralRe: Web browser application having database Pin
Rits11038919-Jun-09 0:27
Rits11038919-Jun-09 0:27 
GeneralRe: Web browser application having database Pin
Christian Graus19-Jun-09 11:00
protectorChristian Graus19-Jun-09 11:00 
GeneralRe: Web browser application having database Pin
Rits11038919-Jun-09 0:24
Rits11038919-Jun-09 0:24 
I have problem that the database created in WPF web browser application cant open.It provides an error.
The following code is written in the page2.xaml.vb under the event button1_click of button1

imports system.data
imports syste.data.sqlclient

dim sqlconnection1 as new sqlconnection(my.settings.database1connectionstring)
dim dr as sqldatareader
dim sqlcommand1 as sqlcommand

try
sqlconnection1.open()
sqlcommand1=new sqlcommand("select FirstName from Table1",sqlconnection1)
dr=sqlcommand1.executereader()
while dr.read()
combobox1.items.add(dr(0))
end while
dr.close()
catch ex as exception
msgbox ex.message
end try
sqlconnection1.close()

THE ABOVE CODE GENRATE THE FOLLOWING ERROR AT RUNTIME
REQUEST FOR THE PERMISSION OF TYPE 'system.sqlclient.sqlclientpermission,system.data,version=2.0.0.0,culture=neutral,publickeytoken=b77a5c561394e089 failed.

please tell me what should i do.

thanks in advance...... Big Grin | :-D Wink | ;) Cry | :(( WTF | :WTF: Cool | :cool:
GeneralRe: Web browser application having database Pin
Christian Graus19-Jun-09 10:59
protectorChristian Graus19-Jun-09 10:59 
GeneralRe: Web browser application having database Pin
Rits11038920-Jun-09 1:27
Rits11038920-Jun-09 1:27 
QuestionSilverlight XAML controls [modified] Pin
Kamal Gurnani18-Jun-09 20:35
Kamal Gurnani18-Jun-09 20:35 
AnswerRe: Silverlight XAML controls Pin
Mark Salsbery19-Jun-09 7:22
Mark Salsbery19-Jun-09 7:22 
QuestionElementHost and Transparency Pin
Firedragonweb18-Jun-09 8:36
Firedragonweb18-Jun-09 8:36 
AnswerRe: ElementHost and Transparency Pin
Gideon Engelberth18-Jun-09 12:58
Gideon Engelberth18-Jun-09 12:58 
GeneralRe: ElementHost and Transparency Pin
Firedragonweb19-Jun-09 1:40
Firedragonweb19-Jun-09 1:40 
QuestionAssign names to ModelVisual3D's in code-behind Pin
Etienne_12317-Jun-09 23:54
Etienne_12317-Jun-09 23:54 
AnswerRe: Assign names to ModelVisual3D's in code-behind Pin
#realJSOP18-Jun-09 2:26
mve#realJSOP18-Jun-09 2:26 
GeneralRe: Assign names to ModelVisual3D's in code-behind Pin
Etienne_12318-Jun-09 4:34
Etienne_12318-Jun-09 4:34 
GeneralRe: Assign names to ModelVisual3D's in code-behind Pin
Ray Cassick18-Jun-09 12:43
Ray Cassick18-Jun-09 12:43 
GeneralRe: Assign names to ModelVisual3D's in code-behind Pin
Pete O'Hanlon19-Jun-09 1:00
mvePete O'Hanlon19-Jun-09 1:00 
GeneralRe: Assign names to ModelVisual3D's in code-behind Pin
Etienne_12319-Jun-09 1:32
Etienne_12319-Jun-09 1:32 
GeneralRe: Assign names to ModelVisual3D's in code-behind Pin
Etienne_12321-Jun-09 10:45
Etienne_12321-Jun-09 10:45 
GeneralRe: Assign names to ModelVisual3D's in code-behind Pin
limbique10-Jun-10 8:50
limbique10-Jun-10 8:50 
GeneralRe: Assign names to ModelVisual3D's in code-behind Pin
Etienne_12310-Jun-10 9:46
Etienne_12310-Jun-10 9:46 
AnswerRe: Assign names to ModelVisual3D's in code-behind Pin
Insincere Dave18-Jun-09 16:16
Insincere Dave18-Jun-09 16:16 

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.