Home » ASP & ASP.net » Page 4

AdaPost Any Help!

This is my Server Side Code..
at Server

typeof(interfaceDuplexCallBack))] public interface IDuplexService
{ [OperationContract(IsOneWay=true)] void DoWork();
} public interface interfaceDuplexCallBack {
[OperationContract(IsOneWay = true)] void Done(); }

// Interface Implemetation

public class DuplexService :
IDuplexService { public void DoWork() {
Console.WriteLine("Called By Client at First Time " +
DateTime.Now.ToString()); Thread.Sleep(5

I have a registration form and I want to feed the contents of it
into an SQL database that I created in Visual Web Developer. I have
the proper code to insert the contents into the database table, but
there is a problem with my connection string. What's the problem with
it? (I'm pretty sure the "server" property is causing the problem, so
what is it supposed to be set to?) The SQL database is in the same VWD
project as this code.

string connection = "server=local;
database=AsamaiDB; Trusted_Connection=True";SqlConnection conn = new

I need to write each row of a daset to a separate xml file, which
will be named based upon the ID of the current row.

I am very
new to XML, as I have never believed in it, which meant it was crap.
Anyway, I am trying to merge XML into my programming, and need a bit
of help.

What I need to do is select all records met by a
certain criteria in the database, store it in a dataset, iterate
through each row in the dataset, write the XML file according to each
row, then save it in the corresponding directory, also based upon a
value in the current row (this part isn't important, but I might use

I need this to be very efficient, as it will be dealing
with 500-2000 re

Hi all,

I have a Subscription database running and i am
trying to insert values into it from an ASP web form when i click on a
button with an id of 'confirm'. The name of the field is 'startdate'
(date data type) and i need to enter today's date into that record but
everytime i do it comes with an error message:

Details: System.Data.SqlClient.SqlException: Conversion failed when
converting date and/or time from character string."

The name of
the table is 'Subscription' and I am using Visual Basic as my
programming language.

Any help would be much appreciated.

I am new to authorisation and authentication. I have looked at the
defaultMember, Role and Profile Providers. But they seem to limit me
from communicating with my own database schemmas. Please I would love
to have links were I can read on how to write my own Providers to
perform a secured authentication in my mvc project

I have code for a browse button and I wanted to know how to write
the code to output a sucess message if it saves correctly.

how to output the file path to a textbox...

here is the code I
have so far...

protected void Browse_Click(object sender,
EventArgs e) { string FileName =
"ExporterOutput.txt"; string FilePath = "C:/Users/oZ012D/My
Documents/ExporterOutput.txt"; System.Web.HttpResponse
response = System.Web.HttpContext.Current.Response;
response.ClearContent(); response.Clear();
response.ContentType = "text/plain";
response.AddHeader("Content-Disposition", "attac

Hi there everyone.
I was hoping you guys could help me out
I would like to write a setting to a certain line in a
textdocument, for example "4000" at line 5 of the document.
far i have this:

void MainSettings::setSettingsToFile(String
*numChannels, String *savePath, String *playlistPath)// Here the
settings will be written to the settings file{ // Declare
variables strMixChannels = numChannels; strSettingsSavePath =
".Settings.ini; strPlaylistPath = playlistPath; strSavePath =
savePath; pStream = new FileStream(strSettingsSavePath,
FileMode::Create); pWriter = new StreamWriter(pStream); // Write the
number of mixchannels to the settings fil

I want to add comments in mysite.That means in my site i
have the photos,user will leave the comment for that photos and also I
want to reject some comments.How to create comments..Now i am using
database to store the comments like their msg and name posted
timings.But i dont know how to display all comments below of that
photo.Is there any other way to add comment?How to display all
comments?How to reject some comments?


my project involving ASP.net & i write a code uisng
i have design few checkbox in ASP.net and would like to
write class function in class file.
can anyone guide me how to
create and call the function from the class to the page.
i have
create a class file as below

Public Class clsKYC Public
Function InfoCheking(ByVal SignVerified As String, ByVal CTOSChkd As
String, ByVal BursaChckd As String, ByVal AMLAChkd As String, ByVal
FRCChkd As String, ByVal DFCChckd As String, ByVal BenChkd As String)
If SignVerified = False Then Return "please clicked"
Exit Function ElseIf CTSChkd = False Then

Hi All,

I am testing our product(Which is basically a rule
engine) web application using WPF controls.

For that i require
to create Constraint rule and selection rule and following is the tree

Workspace->Model-> Folder->Entity and

After creating rules we export Model.xml and store it to
disk. And at designing application we use this xml reference to bind
the control with our custom control list, num, date and bool entities.
Since loading single xml affects the performance we splits them in
multiple models (we can create as much as model under workspace)

Now i want to do followin things:

For Constraint Rule and

- Technology - Languages
+ Webmasters
+ Development
+ Development Tools
+ Internet
+ Mobile Programming
+ Linux
+ Unix
+ Apple
+ Ubuntu
+ Mobile & Tablets
+ Databases
+ Android
+ Network & Servers
+ Operating Systems
+ Coding
+ Design Software
+ Web Development
+ Game Development
+ Access
+ Excel
+ Web Design
+ Web Hosting
+ Web Site Reviews
+ Domain Name
+ Information Security
+ Software
+ Computers
+ Electronics
+ Hardware
+ Windows
+ C/C++/C#
+ VB/VB.Net
+ Javascript
+ Programming
Privacy Policy - Copyrights Notice - Feedback - Report Violation 2018 © BigHow