Hi everyone.
I am using perlsax for parsing xml files. I want to enforce my parser to see dtd and I want it to return error when an undefined element or etc. occured in my XML file. But perlsax doesn't see the DTD as reference. I am trying to use DTDHandler of it. But couldn't get the solution...
Hi all.
I am using parser.pm for parsing my xml files. But I have a problem with the output of parser. That is about the encoding. I use the encoding parameter as ISO-8859-9 for Turkish characters. But it converts the output to UTF8 encoding.
I also wonder whether parser.pm uses xml::sax::base...
Hi all.
I am trying to get a reference to a subroutine in a module. But I can't. I am trying something like this:
$my_var = \$my_module->sub_in_module;
this assigns a scalar value in $my_var not a code reference. Could you help me what to do?
Thanks
Hi all.
I have problem with fetching from database using fetchrow_hashref function.
In fact I can fetch data but if my query returns null from db fetchrow_hashref function returns a null hash reference. So I am unable to use the field names of query which would be returned.
Is there any way to...
Hi all.
I have tried some ways to communicate any child control and ascx file with aspx file or any parent files. I have tried for something like this:
I created a class and defined some simple properties within it. At runtime I created instances of that class and add into any ascx file which...
I would like to know whether we can use a string as a reserved keyword. For example I hold "and" keyword in a variable and I want to use it in an if statement like:
if ("($myX == $myY) ".$ao." ($myY < $myZ)")
and here I want the interpreter to understand $ao...
I have small problem. I want to show a link contains a query string parameter which has two separate strings like
$myName = "my name";
$myLastName= "lastname";
When I want to built the link like:
"<a href =...
I tried this property way for several times but every time it returns the error something like:
Object reference not set for an instance etc...
although I defined the user control like
protected MyControl uc1 = new MyControl();
What do you think?
Thanks.
Hi all.
I want to update my record from db. For this purpose I use TextBoxes. When I show record inserted into textboxes on the page by setting their values with:
TextBox1.Text = myDataSet... etc.
this value is set on the server and when I post this page back with changed text server ignores...
Nobody answered my question about ASCX files and same as yours. I think we need to use jscript alert function and make our control (like a Button) know this java script function by adding a c# code like
Button1.Attributes.add("onclick","javascript:myAlert()");
as I saw on...
Hi all. I have some problems with using jscript asp.net (c#) and ascx files. Firstly, I have created several ascx files and included them in my page. For example I created an ascx file to hold logged in session information. But I couldn't send information from this .ASCX file instance to the...
Hi all. I have some problems with using jscript asp.net (c#) and ascx files. Firstly, I have created several ascx files and included them in my page. For example I created an ascx file to hold logged in session information. But I couldn't send information from this .ASCX file instance to the...
Would you please how to put time like hh:mm:ss into datetime column without date info. When I want to insert time into datetime column sql server automatically adds 1:1:1900 next to my time info. But I want only the time info to be inserted! Thanks and best wishes...
Hi all. When I want to get data from a SQL table, which is char type, sql server gives me that data with spaces. For example my coloumn is: name char(20) But if the data in this colomn is 13 length, query takes the left 7 length space with itself. How can I resolve this problem. Thank you and...
Hi everybody. I want to insert data from text into sql server. Text file includes some words separated by commas. I want to copy them into only one colomn but when I try to use DTS it shows me too many colomns. How can I solve this problem? Thank you very much!
I want to show recordset as paged. I mean for instance: if I have 50 records and I want to show 10 of them per page. If anybody help me thanks to him/her....
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.