Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
rtutus
Aged Yak Warrior
522 Posts |
Posted - 2006-11-11 : 21:49:30
|
question: can we include both c# and vb in teh Single-File Page Modelaspx pages (that don t have a code behind)?In the aspx view, where we do:<script language=C# runat=server> .... </script>Can we include both a C# script and another <script> tag for vb.net script in the same aspx pageThank you |
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2006-11-12 : 10:15:38
|
no you can't.Go with the flow & have fun! Else fight the flow blog thingie: http://weblogs.sqlteam.com/mladenp |
 |
|
Merkin
Funky Drop Bear Fearing SQL Dude!
4970 Posts |
Posted - 2006-11-12 : 20:39:15
|
Why would you want to do that ?Damian"A foolish consistency is the hobgoblin of little minds." - Emerson |
 |
|
rtutus
Aged Yak Warrior
522 Posts |
Posted - 2006-11-13 : 00:23:00
|
just out of curiosity. or sometimes we need to maintain code that someone s started in c# and we re more comfortanble adding scripts in the page but using VB or the other way around. sorry if my question didn t make sense. |
 |
|
rtutus
Aged Yak Warrior
522 Posts |
Posted - 2006-11-14 : 00:10:46
|
can we put vb in an aspx page and c# in another aspx page (no code behind, just single file page model)Thanks |
 |
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2006-11-14 : 05:20:54
|
no you can't you can however have one C# and one VB.net project.Go with the flow & have fun! Else fight the flow blog thingie: http://weblogs.sqlteam.com/mladenp |
 |
|
chiragkhabaria
Master Smack Fu Yak Hacker
1907 Posts |
Posted - 2006-11-15 : 03:47:29
|
I guess you can do that by making an the dll in the particular language and adding the reference of it .. but its only for the class files not sure about aspx files.Chiraghttp://chirikworld.blogspot.com/ |
 |
|
|
|
|