View Complete Post
I am cross testing my project with multiple browsers: IE7, Firefox and Chrome.
One one page I have a dynamically built table with two DropDownLists and CascadingDropDown extenders. Maybe the only thing special about the drop down lists is, that I add a "onChange" for the second drop down list in each row which shows or hides the list depending on the value populated from the web services.
Uncaught TypeError: Cannot read property '_notified' of null DataGridView>Edit Columns> Column Read Only property is unwilling to change Hello,
I am facing the following mystery:
When changing the read only property of a column to false and reopening the "edit columns" window, it mysteriously turns back to true.
Even when closing the designer and changing it in the designer code, the resulting execution does not allow edit, as well as when re-opening the designer you see true again.
this.numberDataGridViewTextBoxColumn1.DataPropertyName = "Number";
this.numberDataGridViewTextBoxColumn1.HeaderText = "Number";
this.numberDataGridViewTextBoxColumn1.Name = "numberDataGridViewTextBoxColumn1";
this.numberDataGridViewTextBoxColumn1.ReadOnly = true;//False is required
We thought it might be related to data binding. rebinding the grid did not help as well.
The is no other place in the code where it changes.
Very bizzare, any suggestions?
With a separate script tag in the <body> with my JQuery script, this works
I face this "Jscript runtime error: Object does not support property or method" whenever im trying to run this page.
Im using Microsoft Visual web developer 2008, i wonder if this is related to my problem, i not sure there is anything i need to add as reference or update anything.
Anyway, it happen that last time i tried use the same type of jquery code in another project and it seems to work well without an error.
But now when im try to use it again in this recent project i created, it come out with this error and i have no idea how to solve it even look through google and this forum.
So below is my code that i need to use.
I am not able to read xml file with XDocument if its Descendants has Attribute like:-
<?xml version="1.0" encoding="utf-8" standalone="yes"?><root> <row ID="1" xmlns="http://www.opentravela.org/OTA/2003/05"> <var country_name="Caribbean and Rest of the world" city_name="Kingston" flight_category="Economy Class" via="Atlanta" flight_departure="London Heathrow" airline_logo="Delta" adult_fare="Delta" child_fare="660" infant_fare="561" date1="132" date2="2010-08-15" /> </row>
I don't know what to do ?
Looking for some help..
Can someone please tell me (sample code) how to read this XML into a SQL DB? Should I use LINQ to XML? Does anyone have any sample code? I am working in VB.NET
<?xml version="1.0" encoding="utf-8"?>
<ReadOrderResponseType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
Read Excel file from Web Application (C#) Hi,I have a web app where user uploads a file.File is saved in server locally and I want to read some data from it.Currently my development server has office 2003.So do I need office 2007 in order to be able to read an excel from office 2007 ?What are other requirements ?I tried a test, using Microsoft.Office.Interop.Excel.Application excelApp = new Microsoft.Office.Interop.Excel.Application();Microsoft.Office.Interop.Excel.Workbook wrkBook; // = new Microsoft.Office.Interop.Excel.Workbook();wrkBook = excelApp.Workbooks.Open(@"C:\www\excel_files\b.xls", ....);But When trying to open the file I get the error:Exception from HRESULT: 0x800A03EC So I'm wondering what I'm missing.Thanks
I have a web app where user uploads a file.
File is saved in server locally and I want to read some data from it.
Currently my development server has office 2003.
So do I need office 2007 in order to be able to read an excel from office 2007 ?
What are other requirements ?
I tried a test, using
Microsoft.Office.Interop.Excel.Application excelApp = new Microsoft.Office.Interop.Excel.Application();Microsoft.Office.Interop.Excel.Workbook wrkBook; // = new Microsoft.Office.Interop.Excel.Workbook();wrkBook = excelApp.Workbooks.Open(@"C:\www\excel_files\b.xls", ....);
But When trying to open the file I get the error:
Exception from HRESULT: 0x800A03EC
So I'm wondering what I'm missing.
I am using OLEDBConnection (@"Provider=Microsoft.ACE.OLEDB.12.0;") to connect to the EXCEL file and read contents. When I read the contents, I get all the contents from the excel sheet but i dont get contents for checkboxes placed inside.
My Excel sheet contains set of checkboxes and I need to know If they are checked or not.These checkboxes are controls which are added from Developer tab in EXCEL.
I dont want to use Excel Assemblies for reading contents as it is not recommended. And also i am using OLEDBconnection and want to stick to this .
Awaiting replies from you guys. Thanks in Advance.
If I use Microsoft.Jet.OLEDB.4.0 to retreive for example named range or sheet from Excel and use it as data source for some server control on the ASP page, everything works fine. But when I try to get table from Excel like this: "select * from [Table1]", debugger complains that database engine could not find object Table1. So how should I reference Table1 in Excel file so that the database engine could find it?
I have just joined the forum. I have a very simple query. I have added custom header to my website. Now I want to read the custom header. I am using IIS 6.0 on windows XP. I have already tried using using the Request.ServerVariables and and Request.header method. But none of them give me the custom header added to website.
Can any body help?
Thanks a lot in advance
I'm creating my first server control, and have it working where I can set up an enum and the user can set a property's choices, based off of that enum. But I'd like it to pull records from a database and populate the list of choices for the property from a database. This would allow me to add a new "Host System" to the database, and the other designers wouldn't have to get a new copy of the dll.
I have created a server control consisting of a TextArea and a div under it. My goal is to create my own asp:TextArea type control. the div is for a Character count of the text area and seems to work ok but i added a CharacterCountVisible property to the control that is always returning true. See Proptery definition below
<Bindable(False), Category("Appearance"), DefaultValue("True"), Localizable(True)> Property CharacterCountVisible() As Boolean Get Return _CountBoxVisible End Get Set(ByVal value As Boolean) _CountBoxVisible = value End SetEnd Property
Note the _CountBoxVisible variable is define inside the class as :
Dim _CountBoxVisible as Boolean = True
What I am trying to do is give the user/coder the option to show/utilize the char count feature. Can make it disappear with textarea1.CharacterCountVisible = False but setting it to true will not make it display.
What am i missing