[Python.NET] Pleae help me
Praveen Kumar
praveen at mahiti.org
Tue Feb 5 08:02:54 CET 2008
Hi I am using Ironpython for Microsoft.net am not using IronPython 1.1.1.1,
I have seperately downloaded Ironpython for Microsoft.net and wrote this
code. and i import xlrd module(to read excel file)
import SampleModule
from SampleModule import SampleClass
def Page_Load():
pass
_PrivateMethod("1")
PublicMethod("2")
def _PrivateMethod(text):
lblPrivate.Text="private %s" %text
def PublicMethod(text):
lblPublic.Text="public %s" %text
def Private_Click(sender,args):
_PrivateMethod("3")
def Button1_Click(sender, args):
sc = SampleClass()
sc.TestString = TextBox1.Text
Label1.Text = sc.TestString
Label1.Visible="True"
Then its showing error --------------->.. Value cannot be null.
Parameter name: encoding. please help me out to resolve this error.
--
Praveen Kumar
Mahiti Infotech Pvt. Ltd.
# 33-34, Hennur Cross
Hennur Main Road
Bangalore, India - 560043
Mobile: +91 9343297314
Phone: +91 80 4148 5080/1 41150580/1
http://www.mahiti.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythondotnet/attachments/20080205/d358e06d/attachment.htm
More information about the PythonDotNet
mailing list