Hi there,
I am pretty new to asp.net
can anyone tell me how extract a variable form a webrequest, say if i have
http://www.domain.com/test.aspx?value1=abc&value2=xyz
thanks! :)
hi there,
I want to return an xml document from a cs.net file.
Can anyone point me to the standard .net libraries that I can use in order to do this?
Much appriciated,
:)
Hi there,
mysqldump over network is working just fine like the following.
mysqldump -ukzu -p jokes | mysql -h 192.168.1.190 -ukzu -p jokes
I was wondering how I would copy a table in "jokes" instead of the whole db. Say if my table name was named "people" in the jokes table.
Thanks! :)
Hi there, in the following code, I am trying to connect to my sql server from C# aspx code. However, when I run it, i seem to get the following error.
In my sql server security/login setting, I have testuser to access the Northwind db and permit db role as public.
any sort of input is...
Hi there,
I have a c sharp file that reads in a text file and add the fields to my MYSQL server db.
My table is defined as:
"CREATE TABLE images(hotelID int, Name varchar(40), Caption varchar(20), URL varchar(100), Supplier varchar(20), Width int, Height int, ByteSize int, ThumbNailURL...
Hi there,
I am currently porting a code form Mysql to MSSQL,
In mysql the following sql statement works fine:
"DROP TABLE IF EXISTS "+tableName
but when I run it against MSSQL, they are saying that they dont allow an IF there:
Does anyone know how I should go about implementing this?
Thanks :)
Hi there,
I know in Unix, the head command can be used to show the first few lines of a file. However, what if we want to show only a specific line of it. Say if we wanted to show line 5 of a file named test.txt, is there any command that does this?
thanks!
Hi there, I have a script that splits the fileds seperated by a special character. The code works fine when the character is , but does not when I have a textfile seperated by |
My code is as follows. Can anyone give me some hints ?
Thanks :)
open(FILE, "test.txt") or die "$!";
my $string...
This works in apache but for some reason not in IIS6 (windows2003). I am using PHP4.* on both systems.
I have tried the IP address instead of localhost but I still get the same reasult .....
any input will be much appriciated.
Thanks!
// establish db connection
$dbcnx =...
Hi there, I am trying to do a db copy over a network using the following command
mysqldump --opt db_name | mysql -h 'other_hostname' db_name
but whatever I put in the 'other_host' part, whether it is an IP address or a valid domain name, I get unknown Mysql server host error.
Another...
Hi I think I am pretty close, but basically I have a streamReader that reads the xml file
StreamReader xmlStream = getXMLFromServer(url);
while (xmlStream.Peek() != -1) {
Console.WriteLine(reader.ReadLine());
}
and what i need to do is to save this entire stream as a xml file in...
Hi there,
I need to convert the fllowing Jscript asp snipplet into a C# function, but I can't seem to find how I can create this serverxmlhttp object in my C# desktop app function.
Any hlep is much appriciated
var xmlhttp = Server.CreateObject("Msxml2.SERVERXMLHTTP.4.0"); \...
Hi there,
What I am trying to do now is to read in a directory that contains about ~100 xml files and store their name into an dynamic ArrayList collection.
Does anyone have a clue how I can do this is C# ?
I am quite a newbie to this language.
Thanks !
Hi there,
I have a xml document that is passed from the server like so:
xmldoc = getXMLFromServer(url);
and I need to store the value of the deptAirp element into a string variable with JScript
<info>
<record> 23</record>
<deptAirpt> LAS </deptAirp>
</info>
Thanks :)
Hi there,
I have written a applicaiton that reads in a text file and then parses each line to store a record in MySQL.
I'm having problem with only this one file where when I open with notepad, there is no new line and instead the line breaker character is replaced with a number like 105788...
Hi there,
I am trying to loop through my xml file and create a variable "count"
The code I have is
<xsl:for-each select="hotel/images/image">
<a href="javascript:void(0);" onClick="slideshow('slideshow.php?id=4110&count=count')" target="_blank">
<img src="{ThumbnailURL}" border="0"/>
</a>...
Hi there I have the following code and this is part of my xsl output. However, I get an error saying that the </head> tag is not closed.
Do you know how I would like a external css to my xslt output?
<head>
<LINK rel="stylesheet" href="main.css" type="text/css">
</head>
Hi there,
I need to show an XML element value in a javascript function like so.
function CreateWindow() {
myWindow = window.open("", "tinyWindow", 'width=600,height=500');
myWindow.document.title="<xsl:valueof select="hotel/Name"/>";
}
But this does not seem to work.
I have also tried...
Hi there,
I have a main HTML file, and what I am trying to do is to have a link, and when this link is clicked on, a new pop up window will jump up with the code that is defined in my main HTML window.
Any help is much appriciated.
Thanks :)
Hi there,
I am able to sccessfully open a connection to MySql db. but when I try to execute the following code, I get an error
string tableName="images";
OdbcConnection MyConnection = new OdbcConnection(MyConString);
MyConnection.Open();
OdbcCommand MyCommand = new OdbcCommand("DROP TABLE IF...
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.