|
ur sql server is not installed fully and there will be error in window authontication mode or mixed authontication mode.select 'mixed authontication'.and use username 'sa'.try it.
hi.
|
|
|
|
|
hi,
I have to upload a MS Word file from client machine in a page.After that I have to count the total no. of characters of that particular Word file. I have already written code to upload the file and save.It is working fine.But before saving how can I count the total no. of characters???
And again will there be problem if multiple users try to upload files at same time.
I am using .NET framework 1.1 and visual studio 2003
Please give me some link or idea.
Thanks in advance.
Tirthadip
Live life to the fullest
|
|
|
|
|
i dont know any direct solution but there is a work-around.
put a textbox (invisible) on the page. before uploading, put the text from the word file on the textbox. attach javascript to that textbox for counting characters.
if characters are more than your limit of characters. show error message or whatever you want to code.
javascript for it :
function textCounter(field, countfield, maxlimit)
{
if (field.value.length > maxlimit)
{
field.value = field.value.substring(0, maxlimit);
}
else
{
countfield.value = maxlimit - field.value.length;
}
}
i hope this is what you were looking for.....
a cigarette reduces 2 minutes from ur life while a working day reduces 8 hours.
|
|
|
|
|
Hi,
I have created an ocx control, I need it to be added in web page. How could I include it?
Any Help?
Regards
Rams.
Be simple and Be sample.
|
|
|
|
|
Hi there,
You can use the object[^] tag to host an ActiveX control in your web page, you can also use the CodeBase attribute to specify the url of the control in case the client needs to get it downloaded and installed.
|
|
|
|
|
i am developing an application in which i need to send sms messages from my asp.net application. i have googled a lot but to no avail..
Do anybody know the proper procedure to send an sms from asp.net application.
All responses are appreciated.
I need it urgent..
|
|
|
|
|
|
WHile using the "viewstate" option with web developing, all the Server Controls are added into the "viewstate" hidden input box. Let's say I have a comboobx on my page and after loding it to the client, he is trying to choose another option of the combobox, and I haven't written any event related to this control.
Is it realy true that the page is been reloaded and go back to the server, and make the screen flick just to make this simple client side mission (for showing the other option which already there)?!.
whith Html/JavaScript it takes no time and not reflecting on the screen?!
THanks in advance,
RUVI
|
|
|
|
|
hi,
cant understand your question fully. but if you want to know when the page is posted to the server then i can say-------
clicking of a asp.net button only cause a post back.changing selection of a combo will not cause a post back until the AutoPostBack property
of a control(a combo,a chechkbox,a radiobutton etc etc.) is set to True .
Is this the answer you were searching for????
keep in touch
tirtha
Live life to the fullest
|
|
|
|
|
i am designing a website for someone. i would like to know how i can create a domain "whois" using ASP.NET. i would also like to know how the website can be created using asp.net
|
|
|
|
|
i am designing a website for someone. i would like to know how i can create a domain "whois" using ASP.NET. i would also like to know how the website can be created using asp.net
|
|
|
|
|
I want to display recrod from access that detail information about user to TextBox, please help me
Thanks
................
|
|
|
|
|
can you please explain lit bit more wot you want exactly....
if u explain properly then more chances that you will get your answer...
Thanks
Nav.
|
|
|
|
|
I mention that, in my web site i have many users, If they signin I want to show them about their datail that they can edit it in TextBox
................
|
|
|
|
|
its prety basic stuff can you pls pin point where you getting problem for this
here is code sample which tell you how to connect to db file and get data
OleDbConnection con;<br />
OleDbDataAdapter da ;<br />
DataSet ds = new DataSet();<br />
string sSQL;<br />
sSQL = "select * from Products";<br />
<br />
<br />
string sConStr = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=C:\\Northwind.mdb; User Id=admin; Password=";<br />
<br />
con = new OleDbConnection(sConStr);<br />
da = new OleDbDataAdapter(sSQL,con);<br />
<br />
da.Fill(ds, "Products");<br />
<br />
return ds;
Nav.
|
|
|
|
|
Yes i get it, but I want to retrive to it to TextBox that user can change their information.
Socheat
................
|
|
|
|
|
hi,
keep the user id in the session variable.go to another page(where you want to show the detail information).extract the user id from session.run a query against the user id and display the details on that page.
hope you got it.
tirthadip
Live life to the fullest
|
|
|
|
|
Can you give me full example?
Socheat
................
|
|
|
|
|
I'm using the vb script to write the page. May I know how to include the ASP file into my .aspx page? Did anyone try this before? Can you giv me a guide or sample code to continue my development process? I will appreciate upon your help. Thanks..
|
|
|
|
|
For ASP
For ASP.NET may not
Hope can help you
................
|
|
|
|
|
Socheat.Net wrote: For ASP
For ASP.NET may not
Thanks.. but is there any way to include the .asp page in ASP.net?
Best Regards,
Pei Sun
|
|
|
|
|
I have tried but get nothing, I hope i can get in future.
Socheat
................
|
|
|
|
|
You can't mix ASP and ASP.NET in the same page.
If you register the file type to be handled by both engines, you might be able to make one engine output code that will be executed by the next. I don't know if this is even possible, and if it is, it's hardly advisable.
If you want to show the content of an ASP page as part of an ASPX page, you can place an iframe on the ASPX page and show the ASP page in it.
Also, you could make the ASPX page request the ASP page from the server, and incorporate the response as part of the page.
---
b { font-weight: normal; }
|
|
|
|
|
HI
i hv textbox ,and in this textbox the student enter the rollno,after entering the rollno the student press the enter key,,whn the student press the enter key i wnt to capture the Enter Event on the textbox and getvalues from the textbox,how can i capture the enter event ..,and after getting the value from the text box i fill the droopdwnlist on the behave of rollno.
tell me how can i get the enterkey Press ,and on this Enter key i wnt to take the value from the textbox
|
|
|
|
|
you can use script to call the onkeypress function and from there call any event in your code to fill your list like this
in page load event write this line
TextBox.Attributes.Add("onkeydown", "FillList()");
write this script in aspx page
function FillList()<br />
{<br />
if(event.keyCode == 13)<br />
{<br />
document.getElementById("Buttion2").click();<br />
}<br />
}
you must have a Button2 click event in your code file to fill list.
Hope this will help
hope this will help you
Nav.
|
|
|
|