Trying to understand existing code
I hope to understand these existing code (3 lines) here. Can someone help me to explain these few lines here? Example, what is the meaning of defaultview here?1 dstUser = New DataSet
2 dadUser.Fill(dstUser, "tableA")
3
4 Return dstUser.Tables("tableA").DefaultView
My HomePage - www.findingsteve.net"It is more blessed to give than to receive." Acts 20: 35 (NIV, Bible)Progress - "Never discourage anyone...who continually makes progress, no matter how slow." Plato
Hi,
the DefaultView property returns a DataView on tableA. Y...
beginner trying to parse a piece of mailI have had success now using Mail::MboxParser for all my basic mail parsing
needs, like getting subject, from, to. Now bossman wants me to do more
extensive regex filtering and grabbing weird data in the email body.
I wrote a little test script, shown below. I am able to get the
"appointment date" data, contained in the message body, that I am looking
for, but only for the first record. The while loop keeps looping back to
that record. Also, I cannot get to the next line that has the "comments
section" for each email. I know this has got to be something stupid...
Trying to understand the structure of the Mozilla codeHi!
I'm trying to develope some alternatives to the junk filtering system
but I can't find a place where the code is explained.
Would anybody help me, please?.
C�sar Garc�a wrote:
> Hi!
> I'm trying to develope some alternatives to the junk filtering system
> but I can't find a place where the code is explained.
> Would anybody help me, please?.
>
Garcia, Do you interested into building a anti-spam plug-in feature for
mozilla mail? Please let me know. I am trying to get a few guys together
help me to make the project intoreality. Of course, ...
Need help understanding piece of Javascript code
Hello all,
I have an http chat page in which I have simulated a persistent communication enviornment. I discovered the javascript code I had been using to detect when a person left the chat page was not working when a user closed out their browser. I found the code below to correct this problem and from a functional standpoint it works as desired, well almost. The message the user receives upon exiting the chat page is not as I would like. I need help understanding how to modify my javascript so that one of two things happens.
First, a message that simply indicates to the ...
I'm trying to see what a piece of code does?
What is this piece of code for?
<system.net>
<mailSettings>
<smtp deliveryMethod="Network">
<network defaultCredentials="true" host="vsnetbeta2" port="25"
from="Webmaster@FineLine.com"></network>
</smtp>
</mailSettings>
</system.net>
That specifies the default mail server - port - and from address, as well as the transport, for certain controls and code segments in .net 2.0, like the create user wizard, and the forgot your password user control - possibly a few others.
Bryan SampicaAuction Site StarterKit |My Blog...
Trying to Understand Code pages, why does filtering fail ?I built a database using codepage 437 (US). I'm trying to run it in
Arabic Enabled NT. There are Arabic characters in the Database.
I cannot filter on the Arabic characters. I can filter on the english
characters.
Anyone have any ideas.
In reading through the documentation on collation and international support
in Adaptive Server Anywhere, I found reference default supplied code page
support. It appears that the Arabic code pages (Group 6, CP864, CP1256,
ISO8859-6) is not supplied.
Could this be the reason why filtering does not work ? On Arabic NT.
Am I configuring ODBC ...
Trying to understand 2-way databinding
Why doesn't this work?
<asp:SqlDataSource
Runat = "server"
id = "srcGuestList"
ConnectionString="Data
Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database.mdf;Integrated
Security=True;User Instance=True"
SelectCommand = "SELECT * FROM GuestList"
InsertCommand = "INSERT INTO GuestList (first_name) VALUES('@first_name')"
ProviderName="System.Data.SqlClient" />
<asp:GridView
id = "guestList"
Runat = "server" ...
help with password code (understanding the code)I have a question regarding the following code:
<modify-attr attr-name="nspmDistributionPassword">
<!-- content suppressed -->
</modify-attr>
The "<!-- content suppressed --> " is the value correct? Is it multi
value? because how does it store more than one item, as I also trying to
figure out how the !-- content suppressed --> is then passed into the
destination password. How does it refernece this part to put it as the
password.
Can someone please xplain the following?
ADDriver ST: Applying rule 'Convert mo...
Trying to understand
Ok, I'm been trying to understand the new ADO.net thing, and it seems pretty simple, as long as your using databound controls.Unfortunatly, I have a lot of pages that I can just ad a grid view to and make the things look right, so I'm trying to understand how to programatically access ADO.net.Below is an example of some of the simplest code I need to convert and any help would be aprreciated.set connectionToDatabase=server.createobject("adodb.connection")connectionToDatabase.connectiontimeout=60connectionToDatabase.open "DSN=ServiceCalls"set rc=server.CreateObject...
trying and tryingName: otto de koningh
Email: ottodotdedotkoninghatskynetdotbe
Product: Firefox Release Candidate
Summary: trying and trying
Comments:
what a weird robot !! please refrain from using these horrendous figures
i like the motorcycle though shown on the add-ons page
i am having trouble because there is an unknown dump on firefox - never
encountered this ! your browser is otherwise top of the bill !!
from Firefox Setup 1.5.0.3 onwards in May 2006 Firefox has become a true
companion ! now with Firefox Setup 3.0 RC1 i have error reports ! how come ?
Browser Details: Mozilla/5.0 (...
Understanding the code?
Hi
Just trying to teach myself ASP.NET code using VB from a book called "ASP.NET For Dummies". This seems to be quite a good book for me to follow, especially with me having very little experience of any kind of programming.
I'm trying desperately to understand as much as I can rather than just accept certain blocks of code as, "this is just the way it works" type of thing.
There is a line of code in the book that I cannot get my head around as the book doesn't fully explain why it is written the way it is.
The block of code is:
If Category <> "&...
understanding codeHi all,
Can any one walk me thru this piece of code ::
while(<STDIN>)
{
chomp ;
$isbn =(split(/^_/, $_))[0] ; --- not able to understand what is
being accessed (......)[0]
unless ($KEYS{$isbn} ) ---- isbn is a scalar variable, how keys
wok on it ?
{
print "$_\n" ;
$KEYS{$isbn} =1 ;
}
}
Thanks,
Hi,
Nilay Puri, Noida wrote:
>Hi all,
>
>Can any one walk me thru this piece of code ::
>
>while(<STDIN>)
>{
> chomp ;
> $isbn =3D(split(/^_/, $_))[0] ; --- not able to understand what is
>being ac...
Problem trying to import global.asax code from code behind
Hi guys,
I have been trying to import the contents of my global.asax file from my compiled code behind dll (The reason I am doing this is because I want to call a shared sub routine that is part of the dll), but when I try to run any of the pages on my site I get the following error:
'Gulf.Global' is not a valid base class because it does not extend class 'System.Web.HttpApplication'.
My Global.asax file looks like this:
<%@ Application Inherits="Gulf.Global"%>
ANd my code behind looks like this:
PUBLIC CLASS Global
Inherits System.Web.UI.P...
Do not understand this code..
Hi everyone, i have some doubts in this few lines of codes below. could anyone please provide an explannation or adivce for this codes below? thanks very very much..function togglePicture(sender, imgid, srcvalue) { if (sender.innerText=='Enlarge') { sender.innerText='Thumbnail'; window.document.getElementById(imgid).src='images/large/'+srcvalue; } else { sender.innerText='Enlarge'; window.document.getElementById(imgid).s...