Vector7
Posts
-
Javascript in ASP.NET -
ASP.NET used in PocketPC IE / Large data problemI am using ASP.NET application in a PocketPc IE Webbrowser. The main page redirects to a new one, which creates a list of large data ( for example 100 entries ). At the bottom you can find a "Back" Button. As long as the list is short, the List page redirects to its main page fast. But if it's long then the browser is "thinking" and finally give me an error message "Site cannot be found". Don't know what the problem is.
-
DropDownList Part IIAfter changing the item of a DDL, there is still the old value in when I ask for SelectedIndex. Are there any solutions for this problem ?
-
SQL UPDATE Multiple Paramsthx, works:)
-
SQL UPDATE Multiple ParamsHello, I have a problem with this code here.
cmd.CommandText = "UPDATE DBPROF SET (ID,NAME,PROF) = " + "(?,?,?) WHERE (rowguid = '"+strGUID+"')"; cmd.Parameters.Add(@"ID",dID); cmd.Parameters.Add(@"NAME",strName); cmd.Parameters.Add(@"PROF",strPROF);
Why this code isn't working for updating db ? also values instead "?" don't work:(@ID,@NAME,@PROF)
-
ASP.NET DropDownList SelectedIndexYes, ViewState is enabled.
-
ASP.NET DropDownList SelectedIndexI have a problem with the DropDownList in ASP.NET. After the Event SelectedIndexChanged is fired, the new selected index will be not processed. There is still the old value inside. Has anybody an answer for this problem ?
-
Server Object - Where to find the Dll ?Excuse me for wondering why you're trying to access the Server property when you posted in the ADO/ADO.NET forum. Next time please use the appropriate forum, i.e. the ASP.NET forum. Because I am developing a DB Application, where I need this in the connectionstring.
-
UNC required ???Have a problem with the Server.MapPath command. This works on the local ServerA Server.MapPath("\FSDIR\WORK\track.mdb"); If I want access it from ServerB, programm requires UNC path. This is UNC, isn't it ? He doesn't accept \\ServerB Server.MapPath("\\ServerB\FSDIR\WORK\track.mdb"); Background : I have a Connectionstring and need access to an external server. Is there another method to do this ? Has anybody an example for a connectionstring which handles external access ?
-
Server Object - Where to find the Dll ?I have read it, but still not the correct hint. This is what I've looked for : HttpContext.Current.Server.MapPath :) Because I didn't found the Server object, I thought I need an explicit IIS dll. But now I found this in the web by chance ( all other places show System.MapPath instead the right ASP.NET Version ).
-
Server Object - Where to find the Dll ?Hello, thx for response. Yes I am working on an ASP.NET project and need the MapPath Method. But if I cannot instantiate it, i have no possibilities accessing it ?
-
Server Object - Where to find the Dll ?Hello, I want to use the command Server.MapPath and need the Server object. Where I can found it for reference ?
-
Loop through ErrorYou are close to the problem, but i want get all error messages from all risen errors there. In the last message I have wrote an example for SQL tasks. Here it works, because you can assign a specific error, so I think it shpuld be possible to loop within all possible errors ( I need the name for the element and elements-> foreach(element in elements))
-
Loop through ErrorHi, Here is one example for SQLError try { some code } catch(SqlException ex) { foreach(SqlError sqlError in ex.Errors) { some code } } Sometimes you get more than one exeption at the same time ( especially SQL for example )
-
Loop through Errortry { some code } catch(Exception ex) { some code } How can I loop with "forEach" statement through all exceptions ?
-
Copy files, not folders ?Hello, how I am able to filter directories and copy real files only ? C:\Temp\Subfolder\ C:\Temp\readme.txt (Copy only readme.txt, not the Subfolder) I am using foreach(string Element in Files) for getting all elements in a directory.
-
Strange action in ASP.NET - Cache ?Hello, I have one server and one development PC. On the server the ASP.NET Webservice is running and on my PC I am developing the solution. For general testing I copy the whole directory to the server and overwrite the old source. The strange thing here is, that the ASP.NET Project on the server side is still using the old code. Even if I am overwriting again and again. Yes, the code behind the page is the actual one, but the server use the old source and I don't know where he get it from ? I use Internet Explorer for testing webpages ( I have deleteted all cached files ... ) I restarted IIS ( doesn't work ) What the hell is the problem here ?
-
Passing data from a static method?wrong variable declaration public static string result;
-
Textboxcontrol with lines only ?Does anybody know how to develop this kind of control ? The author of this article said, he only need a few lines to get this result. http://www.devbuzz.com/images/zinc_resco_cf_ctrls_002.gif[^]
-
Strange SQL Query doesn't accept NULLHi, I don't know why you're not getting anything for the case where the TYP is specified but not the colour, since that shouldn't cause a problem. Because there are cases in life where you have to accept nulls. Beside your response I have found a further solution. Instead TYP I have to write CARS.TYP and CARS.COLOR CARS is the Table ... and finally it works with the table prefix ;) Unbelievable ...