I need to insert an xml file into oracle. when I tried this with a clob, the OracleLob.write method's byte parameter needs even number of bytes. This works with you use Encoding.Unicode as the byte[] encoding, but I need to use utf8, because when I reencode to utf8 on the other receiving side...
I've had this post in the c# section for a week and a half now, realized it should be here, and I don't know how to move a message, so please forgive the double post, and if there's a way to move messages, let me know and I'll do so.
My Pagemethod fires c# code which submits a record to a...
My Pagemethod fires c# code which submits a record to a database, this is working.
But I have some js code stored in an onsuccess method, which should alert that the record was submitted, but it's not firing.
Here's the js: (the data gathering part of the js code is omitted, it's not...
I have a few questions about using a linux server. I know that I can use samba to connect a windows desktop to the domain.
But as for email,
1) On Linux server, is there an equivalent email server application to Microsoft Exchange?
2) If so, can I import emails from exchange to that server...
I have some dropdowns, which are populated by ajax to prevent having to do a postback.
the problem is, I have one dropdown that populates another based on the first's selection.
This is working fine, and I can see the new entries in the second dropdown.
The problem is, if I do a view source...
I have an aspx page which uses pagemethods to update pulldowns without firing postbacks.
The problem is it changed the submit button's onclick event to:
onclick="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("submitter", "", true, ""...
Is there anyway to prevent a gridview where the data is bound from the codebehind from being rendered inside div's? Or to remove the div tags after being rendered?
I have a gridview where I'm freezing the header row using
this.offsetParent.scrollTop-1. which is working.
However, in the gridview tablerows, I have an img tag, with a class, where the background image is an i. the img tag has a mouseover/mouseout events set to change the class, which in...
I have a pagemethod function that executes a c# method from javascript, and returns a Dataset to the javascript function, which then is performing an OnSuccess function.
The problem is, a postback is being run as well. How do I prevent that?
is there anyway to do an order by in sql, but ignoring certain values?
For example, order by "moneyinpocket"
But if a value is null, "ND", or 0, ignore them.
I have an aspx page that contains a pulldown, which, when an item is selected, it adds another control to a panel on the page.
This new panel contains 2 dropdowns. When an item from dropdown1 is selected, it causes ddl2 to repopulate with a filtered list (from a sql db).
The problem is...
I had a trojan, and which was causing my computer utilization to skyrocket and become unusable. Before I was able to figure out that it was a trojan, I tried to uninstall several apps which I thought to be the culprit of the high usage.
I fixed the trojan, but for some reason, vs.net 2005...
is there anyway to fire c# serverside code from htmlimage?
I tried using the onclick event, but that results in function undefined, because it only fires client side.
Let's say I have a table of companies that I've bought things from, and the dates that I bought these things from them.
For example
Company Date Purchased
A 1-Jun
A 2-Jun
A 3-Jun
B 6-Apr
B 2-May
C 9-Mar
C 20-Sep
C 5-May
C 16-Jun
I want to create a...
I have no clue what's going on here, I think it's a bug, but, when I set a breakpoint in my code, before I run a check for a specific control type in an array:
if (objectType == "Contractor")
{
for (int i = 0; i < paramVals.Count; i++)
{...
I've got a table with textbox controls that I'm submitting to a database.
On the .net codebehind, I have a function that loops through all rows and cells and collects the controls. It then passes that arraylist to another class method, which checks if a certain field is already int the...
I have 3 div'
I'll call them holderdiv, rowdiv, and celldiv.
the structure on a page is supposed to look like this:
<div id="holderdiv" class="holderdiv" runat="server">
<div class="rowdiv">
<div class = "celldiv">
pulldown
pulldown
pulldown
</div>...
I'm trying to pass the value of a text box to my dataaccess layer. This is the code that I'm using to create the query.
OleDbConnection thisConnection = new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\dir\accessdb.mdb");
OleDbCommand cmd = new...
is it possible to add textboxes to array list? I've tried, and it adds them ok, but when I go to retrieve them to pull the text using a loop, the text property isn't available, I've tried to cast the arraylist as a textbox as well, and no go.
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.