Error while using Script Manager
"Only one instance of a Script Manager can be added to the page. " Such Error occurs when I use Script Manager in my vb.net 2005 application. What should I Do? ...
"Only one instance of a Script Manager can be added to the page. " Such Error occurs when I use Script Manager in my vb.net 2005 application. What should I Do? ...
Here's a link to a tiny VB.Net 2008 sample: http://www.4shared.com/file/255391716/26c45c1e/UserControlTest.html And, a C# sample: http://www.4shared.com/file/255392906/27f4efbb/UserControlTestCHash.html Apologies but its a free hoster, so you have to wait 10 seconds. First here's the steps to replicate, then I'll explain what the p...
Is there any reason to favor one of these approaches over the other when inserting into a generic dictionary with the possibility of a key conflict? I'm building an in-memory version of a static collection so in the case of a conflict it doesn't matter whether the old or new value is used. If Not mySettings.ContainsKey(key) Then myS...
My application produces this error System.Data.SqlClient.SqlException: Login failed for user..This started after I added a stored proc in my dbml file. It works fine in my local enviroment, but throws that error when deploy to staging sever. the user it displays is foreign to me ...
Hi, I'm using LINQ to SQL to select some columns from one table. I want to get rid of the duplicate result also. Dim customer = (From cus In db.Customers Select cus.CustomerId, cus.CustomerName).Distinct Result: 1 David 2 James 1 David 3 Smith 2 James 5 Joe Wanted result: 1 David 2 James 3 Smith 5 Joe Can ...
I have an sql query with sql datareader. i put a for loop for the data reader. now when the data starts coming in from the query i want it to export to excel in the for loop. here's my code Try Dim SqlStr As String = "", dr As SqlDataReader = Nothing ConnectDB(Cnn) Str = "query" SqlCmd = New SqlComma...
i wrote a module of a connection to DB with OleDB and the 'sub UpdateClients' doesn't work, the DB don't update. what's missing or wrong? this line -> "daClient.Update(dsClient, "CLUB_CLIENT")" -> dosen't work (sorry about my english, i'm not so good) the database doesn't update after this line (like i expected) what's missing in ...
If the database is not Oracle, it is MS SQl 2008. My task: if Oracle, add two more parameters when calling a stored proc. Oracle and MSFT stored procs are generated; Oracle ones have 3 extra parameters: Vret_val out number, Vparam2 in out number, Vparam3 in out number, ... the rest (The are not actually named Vparam2 and Vparam3, but...
Thanks for your help guys, I've managed to solve the problem now. It was merely a matter calling loops at the right point in time. ...
I'm trying to make sense of a big data dump of XML that I need to write to a database using some VB.net code. I'm looking for some help getting started with the parsing code, specifically how to access the attribute values. <Product ID="523233" UserTypeID="Property" ParentID="523232"> <Name>My Property ...
I am a C# programmer but dabbling in VB.Net because everybody else in my team uses it. In the interests of professional development I would like to shrink the following If... Else... statement. If cmd.Parameters("@whenUpdated").Equals(DBNull.Value) Then item.WhenUpdated = Nothing Else item.WhenUpdated = cmd.Parameters("@whenUpda...
I may be SOL on this but I thought I would give throw it out for possible solutions. I am writing a computer access control service to help me control my kids' computer use. Plan on open sourcing it when I have it working. It is written in VB.Net and needs to work on XP through 7. I am running into all sorts of security and desktop acc...
How do I attach a file with a very unfriendly name (like a file with a session Id number in it) but have it attached as another name? The file name in question has the session ID in it to avoid clashes name on the web server but when I attach it to the file, a friendlier name is preferable. Is there a way to attach the file with the u...
Can anyone please help me how can I create a CSS file for my VB.net Web application? ...
I am using VB.NET vb 2008 . I am trying to create text boxes dynammically and remove them here is the code i have written so far Private Sub setTextBox() Dim num As Integer Dim pos As Integer num = Len(word) temp = String.Copy(word) Dim intcount As Integer remove() GuessBox....
i have 532.016 i want to get only 532 part in vb.net how can i do that ...
I am currently working with an IPhone API which consist of about 40 pages of aspx along with their respective aspx.vb pages. They are all partial classes because the API continues to add other phone platforms to it. Currently I have them residing just in a folder. /API/0.1 and /API/1.0 ... How would I call the functions from those IPho...
Hi folks, I've got a calendar control on a text box I'm just wondering how I can trigger a sub when a date is chosen on the calendar? There is a OnClientDateSelection changed in the extenders properties but im not sure how to use this. Any help most appreciated! -- Jonesy ...
I want to be able to add scripting functionality to my application. One of the language bindings I am considering is C# (and possibly VB.Net). The challenge is this: My application is developed in C++ My application runs on Linux I am aware of Mono, but I dont know (as yet), what is required to allow my C++ appliaction (running on l...
Naming classes is sometimes hard. What do you think name of the class should be? I originally created the class to use as a cache but can see its may have other uses. Example code to use the class. Dim cache = New NamePendingDictionary(Of String, Sample) Dim value = cache("a", Function() New Sample()) And here is the class that need...