|
No i'm using internet explorer browser can u help me solve it
thx for ur reply
|
|
|
|
|
|
Thanx alot it helped so much
|
|
|
|
|
Hi everyone,
here's the scenario:
Workstation 1: Web Server (IIS), Database Server (SQL 2000)
Document Root: Somewhere on LAN, not on workstation 1 (but can be accessed from workstation 1)
Virtual Directory is mapped to the document root and site runs like a
charm.
Now, we need to make another folder on the lan searchable.
It's mammoth, has PDF, PPT, DOC, XLS etc etc.
- Can the Microsoft indexing Service help?
- Can it index PDF and other filetypes like DOC PPT XLS?
- And is it very difficult to create an ASP/ASP.NET based
query page to retrieve and display results?
Thanks.
ASP - AJAX is SEXY. PERIOD.
|
|
|
|
|
Dear All...
I want a regular expression for matching numeric values, something like the isFinite() javascript function or !isNaN() javascript function
Somethiing to match this:
1
12
123
1234
12345
123456
1234567
.1
0.1
0.12
0.123
0.1234
.12345
123.123
1234.1234
...
Thanx in advance
Best Regards
3ala2
|
|
|
|
|
after trying, i came out with this one
\d{0,8}\.{0,1}\d+
do u think i'll face problems with it?
Best Regards
3ala2
|
|
|
|
|
I answered this question for you here[^]
just3ala2 wrote: after trying, i came out with this one
Bull, I gave it to you.
Did you test it? Did it work? Why would you ask a question like this when its already been answered?
Check it yourself.
|
|
|
|
|
Hi ALl
I have datagrid in asp.net form. which contains three field.Second field is my button column.
when i click on first row ,I get summation as per my logic.I put this summation in my third column of my datagrid.
Now problem is that:when i click on second row button,I get summation.But I put this summation in my third column of my first row.
How can i do that?
Thanks
monika
|
|
|
|
|
In DataGridItemCommandEvent
((TextBox)e.Item.Cells(cellNo).Controls(0)).Text =mySum;
Try the above code.
|
|
|
|
|
Hello Everyone
Suddenly when i am running .net i used to get this error.
The instruction at"0x004018ff" referenced memory at "0x00000002".The memory could not be "written".Click on ok to terminate the program.Click on Cancel to debug the program.
Although i was running my projects till yesterday.
what happened to it.
can anyone give some idea.
or i have to finally reinstall .net on my PC.
thanks in advance
Ajay
|
|
|
|
|
Dear all,
I have developed a custom toolbar control. The toolbar control is entirely developed of a html table. on the click event of the cells of the table i added a server side method. it is working fine, clicking the cell will execute the corresponding server side method and gets post back. Know my requirement is that i have to add client side method which has to be executed first and depending up on the result i have to call the server method or simply ignore the click event. When i add the client side method to its clck event the server method is not at all being called on the click event. it just executes the client method and not allowing me to take the decission. Can any body help me regarding this. i have tested return true and return false too. no use
ThanX in advance.
Ramesh.Kanjinghat
|
|
|
|
|
function func()
{
//evaluate your result
if (resultOk)
{
__doPostBack("","");
}
}
for more details search google on Manually calling __doPostBack
|
|
|
|
|
Hi friends,
I want to upload and download .txt file in my web application.
Uploading part is completed successfully but when I am download the same file and reopen it,it contain complete html code of current page why this is so.
In case of .doc file this problem not occured.
Code snap is given below.
Public Sub Download(ByVal _fileName As String)
Try
Dim root As String = Server.MapPath("..\Operations\files\")
Dim sb As New StringBuilder(2048)
Dim f As String
Dim filename As String = _fileName
Response.Clear()
Response.ContentType = "application/octet-stream"
Response.AddHeader("Content-Disposition", _
"attachment; filename=""" & filename & """")
Response.Flush()
Response.WriteFile(root + (Server.UrlEncode(filename)))
Catch ex As Exception
End Try
End Sub
I hope somebody help me.
Regards,
Nagraj
-- modified at 1:05 Tuesday 5th December, 2006
|
|
|
|
|
hi,
simply pass the address of the file in the navigateUrl of link
hypLink.NavigateUrl = "../files/test.txt"
or
hypLink.NavigateUrl = "../files/test.doc"
you wouldn't have to do all the complex coding that you are doing right now.
regards,
Kapil Thakur
|
|
|
|
|
Hi Kapil,
This is nice idea.
It's ok for .doc file but if navigateurl is .txt file it will not show prompt for OPEN/SAVE/CANCEL.
Please check this.
Regards,
Nagraj
|
|
|
|
|
Hello ,
I got the solution I would like to share with you all.
Public Sub download(ByVal _fileName As String)
Dim fs As System.IO.FileStream = Nothing
fs = System.IO.File.Open(Server.MapPath("..\Operations\files\" + _fileName), System.IO.FileMode.Open)
Dim btFile(fs.Length) As Byte
fs.Read(btFile, 0, fs.Length)
fs.Close()
With Response
.AddHeader("Content-disposition", "attachment;filename=" & _fileName)
.ContentType = "application/octet-stream"
.BinaryWrite(btFile)
.End()
End With
End Sub
Regards,
Nagraj
|
|
|
|
|
Hi All,
I have a page in which I have used <ifram> in which another page is included. In that <ifram> page there is text box named txtPO. I want to use that txtPO in the parent page and want to store its value in a variable i-e strPO. How is that posible. (ASP.NET and VB.NET) Please explain with example.
|
|
|
|
|
How is the page included?
---
b { font-weight: normal; }
|
|
|
|
|
Page is included in iframe. "iframe"
|
|
|
|
|
Then they are effectively in different windows in the browser. You have to use client side scripting, i.e. Javascript, to access the page and it's elements.
---
b { font-weight: normal; }
|
|
|
|
|
hi,
make a Public Property of that textbox.
then you will be able to retreive its value
Public Property txtName As String
Get
Return strName
End Get
Set
strName = textBox1.text
End Set
End Property
using this way, you can retrieve the value entered in the textbox
thanks,
Kapil Thakur
(Where's there is Kapil , there is a way)
|
|
|
|
|
Dear Kapil I have include that page in iframe. where should i creat public property of that textbox.
With Best Regards
Thankx
|
|
|
|
|
Hi,
Myself imran, I am quite new to dotnet. i am developing web application using asp.net and C#(Visual Studio 2005). i have defined connection string in web-config.
Can any one help me to know How to Access database using this connetion string.
thanks
regards
imran khan
|
|
|
|
|
Welcome to The Code Project.
Please don't post the same question all over the place. Pick the forum that best fits your question.
---
b { font-weight: normal; }
|
|
|
|
|
Please give me ur email address i will send u webconfig file. Modify it and give ur database path there. U will access ur database.
|
|
|
|