|
rockram wrote: string filepath = "C:/Documents and Settings/Owner/My Documents/Visual Studio 2005/sample/dict-large.txt";
I doubt ASP.NET can access files in this way. You need to use "Server.MapPath" to map the file names.
|
|
|
|
|
Hi,
Currently Iam familar with firefoc and IE7 when designing a website.But IE6 is realy my nightmare because it is different completely different than the two.I used to check the website in IE7 and firefox.But I didn't know that IE6 is that different from both.Iam checking my website in screen 800x600 most of times because it is the most difficult.I face these difficulties because The manager want me to make design that is stretchable(doesn't need the horizonal scrolling to view the whole page).
Do any one know why IE6 display pages very different than IE7.
How does it understand padding,margin,css,div?
I am too late but i will never give up
|
|
|
|
|
Its just the way the browser renderes the CSS. IE tries to guess what you want from your design but firefox shows you the errors in your css.
i cant list all the differences that IE6 has compared to IE7, its best you look for an article to help you with each indivdual problem you have with the display.
I personally would design for a stretch as well as it seems like a waste of space to design for 800x600 on a big screen.
|
|
|
|
|
Need help on exporting to excel from datagrid. (I dont want third party tool). I tried to render the data to HTML as given below:
response.Clear();
response.ClearContent();
response.ClearHeaders();
response.Buffer = false;
response.ContentType = "application/ms-excel";
response.AddHeader("Content-Disposition", string.Format("attachment;filename={0}.xls", StrFileName));
StringWriter stringWrite = new StringWriter();
HtmlTextWriter htmlWrite = new HtmlTextWriter(stringWrite);
DataGrid dg = new DataGrid();
dg.DataSource = dr;
dg.DataBind();
dg.RenderControl(htmlWrite);
response.Write(stringWrite.ToString());
response.End();
It works fine if i edit the file and save. I tried to create new worksheet in the same excel file and saved this changes, new temp folder has been created. (filename_files as like HTML files if you save any web page)
Please let me know how to avoid this?
Harini
|
|
|
|
|
student table
id stu
1 s1
2 s2
subject table
id sub
1 sub1
2 sub2
student-subject table
id sid subid marks
1 1 1 100
2 1 2 100
3 2 1 100
My question is what shall be the query for those students who did not appear in all exams
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
modified on Monday, July 7, 2008 3:19 AM
|
|
|
|
|
check out the exists option:
http://www.techonthenet.com/sql/exists.php
|
|
|
|
|
can u prease provide the query ?I am in urgent need of it .
I have gone through the qrticle . But not geting to construct the query
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
select * from table1 where not exists (select * from table2 where table2.id = table1.id)
something like that
|
|
|
|
|
still not working , i have three tables
1.student
2.subject
3.mixed of student and subject.
form the above table , i want to find out those students who did not appear in all exams
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
do I have to spell it out for you, try playing around with the query yourself:
you need to select all fields from student which arent in subject and match the id to them
|
|
|
|
|
What you waiting for? He needs a ready made query that serves his purpose.
Don’t you know that he don’t have much time to do research on it?
|
|
|
|
|
If this is a sarcastic reply then I'm smiling to myself as you know what these people are like
If this is a serious demand then I'm def not smiling!
|
|
|
|
|
No buddy. I didn’t mean that. Actually I feel bore to these kind of people who always looking for a spoon feeding. My apologies if my comment hurt you.
|
|
|
|
|
haha no it didnt hurt me, just good that someone has the same opionion of these people who just expect us to do all the work.
happy programming!
|
|
|
|
|
when i m doing grid view through wizard in asp.net2.0 there is on advanced option.
in it there is a checkbox--"generate insert update delete statements"
I have checked it ,and set it finish .
But thr is option coming enable editing,deleting, etc.
But no option for insertion.WHY?
How can i do the insertion through wizard?
|
|
|
|
|
Can you not right click on the gridview after in design view and then edit the datasource and set a query doing it that way
|
|
|
|
|
I m using sqlDatasource. will it work for it?
|
|
|
|
|
|
|
are you talking about component designer option?
i m not getting actually where i have to set query
|
|
|
|
|
i written a code in java script in asp.net 2.0
it is working in IE
but it is not working/executing in Mozilla firefox
the code is like this
//this function takes a value (ltext) and transmits that to the left hand frame
function tranRight(ltext)
{
parent.frames("frame1").document.getElementById('Button38').click();
}
and in page load
ClientScript.RegisterStartupScript(Me.GetType(), "MyScript", "tranRight('upload');", True)
it is excuting in IE
but not in Mozilla
if the javascript is dependent on the browser the
how should i convert the above code to work in Mozilla fire fox
plz help me
thanks in advance
vijay
|
|
|
|
|
vijaylumar wrote: if the javascript is dependent on the browser the
Yes, JS is dependent on browser. Install "Firebug" and debug your JS.
|
|
|
|
|
It seems u are using
ClientScript.RegisterStartupScript(Me.GetType(), "MyScript", "tranRight('upload');", True)
method. in this method last parameter represents for A Boolean value indicating whether to add script tags. But u have already add those script tags on your page so pls try this with
ClientScript.RegisterStartupScript(Me.GetType(), "MyScript", "tranRight('upload');", False)
Because most of the time Firefox strictly work with tags and HTML commands but IE not..
cheers !!!
SHAN
|
|
|
|
|
Hi All,
How to Read an character images to character. For example I scan a images in that images contain character and images. I want to read a particular sentenses.
Send Your suggestion in my id also, this is my id linguage_23@yahoo.com
Thanks in Advance,
S.Lingeswararaj
|
|
|
|
|
Posting your ID is stupid. You will just get spam from third parties, and the site emails you when people reply here.
Atalasoft have a good OCR library, that is what you need, to buy or write an OCR library. Writing one is a lot of work.
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|