|
Excuse me i know that what i doing, and i made a control that splits the word file and upload it on server , but the problem is that the data in splitted documents is simple text without formatting and i also want formatting,
|
|
|
|
|
I'll second Christian's opinion
only two letters away from being an asset
|
|
|
|
|
Gaurav Dudeja India wrote: Excuse me i know that what i doing
If you think so, why are you asking us for help ?
Gaurav Dudeja India wrote: i made a control that splits the word file and upload it on server
If it splits the file, then uploads it, where is the code that does the work ? I assume it's not javascript ? Is it a COM object ? You said it's ASP.NET code, so I can only assume, like I said, that your code works BECAUSE you're testing on a machine that is both server and client. When you deploy this, it won't work, nor can it.
Gaurav Dudeja India wrote: but the problem is that the data in splitted documents is simple text without formatting and i also want formatting,
Perhaps you should ask the question clearly in the first place, and post some code, rather than asking a vague question, so we can see what you're doing and we can PROVE that you're lost instead of arguing about it.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Aren't you tired, Christian?
Best wishes,
Navaneeth
|
|
|
|
|
For once I agree with you, I couldnt say it better
|
|
|
|
|
Word document format is a proprietary format of Microsoft. If you split them, the file may become unusable. If disk space is an issue, try to compress the files using zip libraries.
|
|
|
|
|
Hi,
I'm looking to do a TRIM(Total Records and Information Management) application in asp.net/c#.net.
I don't know how to begin.
Any tutorial available. Please guide me
Thanks
|
|
|
|
|
I'd say you should contact your client, tell them you're a liar, and refund their deposit. Buy a book on ASP.NET, work through it, and while you still won't be able to write professional quality code at the end, you'll be able to write code good enough to do cheap outsourcing, where the clients are stupid and so long as it works, don't care about good standards, security, or maintainability.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
In the interest of optimization, I hope you have this response saved in a text file so that you can just copy and paste it in response to some of these forum questions? Or perhaps something could be set up in Greasemonkey?
Scott
|
|
|
|
|
dude , you are on a roll here
|
|
|
|
|
It's the morons that were on a roll. I was up late and honestly came into the computer room to see if anyone needed help, but all the questions were just lazy, idiotic, or both.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Maybe you could help me then. I want to write an ERP (Enterprise Resource Planning)system , Can you please give me the code for that?
|
|
|
|
|
Give me five minutes to whip it up, and then I'll mail it to you. I can paste it into CP and email it, right ? I mean, that works for you ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
just make sure that when you paste the code in email, the formatting would not be messed out
|
|
|
|
|
hey bolt Christian Graus,
I didn't ask u to give the whole code for that.
If u know about TRIM, then give some tips.
If u don't know Shutup anf getlost
|
|
|
|
|
how to insert two values from two dropdownlist into one column in sql
day month year into single parameter..
i tried this but not working..
any sample code plz..
string str = Convert.ToString(DropDownList5.SelectedItem.Value) + Convert.ToString(DropDownList6.SelectedItem.Value)+Convert.ToString(DropDownList7.SelectedItem.Value);</pre>
parameter to insert into database..
<pre> cmd.Parameters.Add("@startdate", SqlDbType.SmallDateTime).Value = str;
|
|
|
|
|
By this
string str1=dropdownlist1.selectedvalue.tostring();
string str2=dropdownlist2.selectedvalue.tostring();
string strFinal=str1+str2;
and now you insert strFinal in database.
|
|
|
|
|
madhukk wrote: tried this but not working..
So why is it not working? You need to tell us how - although I suspect the str that you create in the first line is not a valid date format.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
if i use only one ddl, value is inserted into database.
im getting the following error if used three ddl's
Failed to convert parameter value from a String to a DateTime.
string str = DropDownList5.SelectedValue.ToString();
string str1 = DropDownList6.SelectedValue.ToString();
string str2 = DropDownList7.SelectedValue.ToString();
string final = str + str1 + str2;
cmd.Parameters.Add("@startdate", SqlDbType.SmallDateTime).Value = final;
|
|
|
|
|
Because, like I hinted in my previous post, the string you build is NOT in a valid date format. Try using the debugger and see for yourself.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
yes it is may be due to not parsing the atr in datetime format.
you can try this
str=datetime.parse(str);
then you insert the str
|
|
|
|
|
final = DateTime.Parse(final);
error:Cannot implicitly convert type 'System.DateTime' to 'string'
datetime final1=DateTime.Parse(final);
String was not recognized as a valid DateTime.
|
|
|
|
|
yes your string is not in a valid date time format you can do this by
string final=str1+"-"+str2+"-"+str3;
final=datetime.parse(final).tostring();
|
|
|
|
|
|
Despite me telling you a *better* way, you'll go with the way where you don't have to do any work, you can just copy the code you were given ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|