|
Hi,
I am creating a cursor and I want to pass its results to a dataset. Because I want to bind the dataset to a report (crystal report)
any idea how to do it?
|
|
|
|
|
Pass on the Cursor Results to a Temprory table .......
then Select the results from Temprory table in Stored Procedure .....
|
|
|
|
|
can you please tell me how can i do that??
|
|
|
|
|
Hi,
How to export image with table in asp.net to ms-word.
Please send me reply.
Thank you,
|
|
|
|
|
Your best bet is to get ahold of the HTML involved and put it into Word.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I can not did you.Please help me
|
|
|
|
|
I guess you need to break down the task, try it and ask specific questions if you get stuck. I am not going to do it for you.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I am receiving this error when I try to run my application. XML Parsing Error: no element found Line Number 1, Column 1:
The Line no :1 is
]]>
Please help me how i am clear this error.
Thank you.
|
|
|
|
|
shanthi jothi wrote: Src="WebUserControl1.ascx"
is this user control available in your web application. or check thh path.
cheers,
Abhijit
|
|
|
|
|
Why would you put this in a CDATA section ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi
In my ASP.Net web application am uploading a MS Project file using C# code.After that immediately i will read the uploaded MS Project file.For reading the file am using vb.net code.I created a class library in vb.Net.This dll is used in web application to read the MS Project file.Things are going smoothly if am upload and read the MS Project file through visual studio.I can read the read the file .But when i tried to upload and read the file after publishing i will get a message like this
"Retrieving the COM class factory for component with CLSID {36D27C48-A1E8-11D3-BA55-00C04F72F325} failed due to the following error: 80080005".
I configuered the dcom settings and all,used the identity impersonate in my web config.Still i have the same problem.
i done as specified in this site
"http://blog.crowe.co.nz/archive/2006/03/02/589.aspx " but didn't solved my problem
Please help me
I am using Visual studio 2008,my operating system is XP.
Thanks in advance
Rajesh V R
|
|
|
|
|
Hi, i want to read data from csv file to datatable. But i am getting following error
"'D:\csvData.csv' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides."
The path is right only. The file csvData.csv exists in D drive.
My code is as follows
public DataTable CSVtoDataset()
{
DataTable dt = new DataTable();
try
{
string _filepath = "D:\\csvData.csv";
System.Data.OleDb.OleDbConnection cnCSV = new System.Data.OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + _filepath + @";Extended Properties=""text;HDR=NO;FMT=Delimited""");
System.Data.OleDb.OleDbDataAdapter daCSV = new System.Data.OleDb.OleDbDataAdapter("SELECT * FROM [Sheet1$]", cnCSV);
DataTable dt1 = new DataTable();
daCSV.Fill(dt1);
return dt1;
}
catch (OleDbException dataex)
{
Response.Write("<br>Exp2" + dataex.Message.ToString());
}
return dt1;
}
G. Satish
|
|
|
|
|
The D drive on the server, or on the client ? Also, an ASP.NET application cannot access files that are not within the application structure. Is your app housed at the root of the D drive ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi Christian,
The D drive is on the client.
I placed CSV file where my appilcation resides.
i.e D:\Projects\Diaspora1.0\Testing\csvData.csv
My application is D:\Projects\Diaspora1.0
The execution page is D:\Projects\Diaspora1.0\Testing\exportCSVData.aspx
My appliction is hosted on D Drive...but still getting same error..
G. Satish
|
|
|
|
|
If the idea is that the file comes from the client, then your app can't work, so just forget it. Get the user to submit the file to the server.
If it's on the server, try putting it inside d:\projects\Disaspora1.0, that's what I was saying.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Try to use
Server.MapPath
cheers,
Abhijit
|
|
|
|
|
Hi Abhijit,
I tried using server.Mappath also...not working
I also place a CSV file to the application hosted...still not working
The applicaiton and file both are on one machine(client) only..still not working
G. Satish
|
|
|
|
|
The reason is, you can't map a path below the server root, as I said.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
can any one give me sugession that i want to place confirm message box in
in codebehind file of C#...
line 1
line 2
line 3
line 4
confirm()
if confirm true then
update
else
do nothing..
line 5
any sugession would be appriciated...
umerumerumer
|
|
|
|
|
This means you don't understand ASP.NET at all. No, you can't do that. If you show a message box in C#, it will show on the server, not the client. You need to use a javascript message, not a C# one.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
ok thanks for reply if i use server site confirm message..
is there any disadvantage of doing that actually my requirement is to raise message and serverside function ...which one is the suitable way...
should i place onclientclick and onclick both functions on it???? at the same time???
umerumerumer
|
|
|
|
|
you can use onclientclick and OnClick and if the onclientclick returns false, the OnClick is not called. So, use onclientclick to confirm an action with a method that returns true if the action is to take place.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi to all,
I m working with datalist control in asp.net.there is an item category whose value is coming from database at runtime.Each category is associated with many images.I want to display those images randomly one by one after a gap of 10 seconds.but my problem is that the images(as an binary object) are saved in database .Plz help me to solve this problem.
|
|
|
|
|
So, is your problem generating a pseudo random sequence, or was that all pointless and your issue is opening an image from the DB ?
You write a HTTP handler to return the bytes of the image from the DB, and use that as your image URL.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Thanx for the answer but my problem is to set the timer dynamically for those images and to display as a slide show of them.
|
|
|
|