|
Thanks for your reply,
I need to list all the files from that directory and from that list i should give a option to download the respective files.
actuvally i am a biginner so i dont have other chioce thatn posting these if you can give me an ex that wouls be great.
|
|
|
|
|
Kumar002 wrote: I need to list all the files from that directory
Use Directory.GetFiles() method. If you just provide a link to the file, it gets downloaded.
|
|
|
|
|
.fixedHeader
{
overflow: auto;
height = 10px
}
table th
{
position: relative;
top: expression(this.parentNode.parentNode.
parentNode.scrollTop-1);
}
using this css iam able to get the fixed header for my grid but the problem is that iam having a grid with the panel out side .. the grid view header is getting fixed but it going over the panel start point where it is not looking nice how to get the grid header with in the panel ..
|
|
|
|
|
and what is your question?
|
|
|
|
|
hii
Can anyone tell me which reference or namespace i use for ConfigurationNamingContext. my code is as below:-
Private Function ResolveNetBiosNameToDN(ByVal netbiosName As String) As String
Try
Return DirectCast(GetDirectoryEnTry(String.Format("CN={0}, CN=Partitions, {1}", netbiosName, DirectCast(ConfigurationNamingContext.Properties("distinguishedName").Value, String))).Properties("nCName").Value, String)
Catch ex As System.Runtime.InteropServices.COMException
If CInt(ex.ErrorCode) = 2147950640 Then
Throw New ArgumentException("The given netbios name was invalid", "netbiosName", ex)
Else
Throw
End If
End Try
End Functio
|
|
|
|
|
Hi All,
I have a web service developed using VS.Net 2005, when I put a break point in it and try to run it. It is not going to the break point it is not going into the function itself only. I am able to understand that it is becos of some settings but it will be helpfull if anybody can suggest me what settings do I need to change.
My application is not using Filesystem but http. Any sort of help will be very supportive. thanks in advance.
\
Aleem Mohammad.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Are you running the WS through browser by taking the URL directly ? If yes, the break points won't get hit. Make sure you are running the application via VS.
|
|
|
|
|
Hi,
Yes I am trying to run it through VS only still it is not going to the break point. Even I am also wondering. And below given is my Web.config file
<?xml version="1.0"?>
<configuration>
<appSettings>
<add key="PathToWriteXML" value="E:/Aleem/"/>
<add key="passWordXMLPath" value="E:/Aleem/"/>
</appSettings>
<connectionStrings/>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="true"/>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Windows"/>
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
</system.web>
</configuration>
Thanks,
Aleem Mohammad
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Are you able to "Step into" the code ? When you set break points and run the application, VS usually changes the break point color when it finds any problem in hitting it. You will get the error description if you move mouse over to that icon.
|
|
|
|
|
Hi,
No I am not able to get in to the code but the application is running and giving its output when it is called from another application. Please advise me.
Thanks for the help.
\
Aleem Mohammad
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
indian143 wrote: application is running and giving its output when it is called from another application
what do you mean ? Create a simple console application and try to step into the code (F11). If it's not working, I guess your IDE has some issues.
|
|
|
|
|
Hi,
Now it is working when I put an unneccessary sample function with some return value. It is going in to the break point. I am confused whats wrong. Thanks Navneeth.
\
Aleem Mohammad.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Hi
I was just starting to enjoy programming (newbie c#) as I discovered the benefits of using debugging in Visual Studio. Well now the debugging is not working and I'm getting errors on things which I know are correct and worked before (think I'm going mad!). Anyway, all my breakpoints have turned into empty circles with exclamation marks and when you roll over them you get:
'The breakpoint will not currently be hit. No symbols have been loaded for this document.'
I have even loaded the pages I'm working on into another project but still get the same so think the problem is with Visual Studio in general. Has anyone out there got any ideas on how to resolve this or should I just try and find another job?!
Thanks in anticipation,
Lorna
|
|
|
|
|
check this article out, think it will help you
http://geekswithblogs.net/dbutscher/archive/2007/06/26/113472.aspx
|
|
|
|
|
Thanks for your prompt response - I had come across that article but I can't follow the line:
While debugging in Visual Studio, click on Debug > Windows > Modules. The IDE will dock a Modules window, showing all the modules that have been loaded for your project.
I have only got Breakpoints, Watch, Locals, Call Stack and Threads in my Debug, Windows menu!! I'm running VS 2005 Team Edition for Software Developers. Any ideas?
|
|
|
|
|
Make sure you are compiling in debug mode not release mode
Click Menu item and then configuration manager to change the confiuration for the setup
Other then that google your error message and you will get loads of results where previous people have had same problem
|
|
|
|
|
I had this problem once. What I did at that time was I closed the IDE and then deleted the bin and obj folder for this application. And after this everything started to work fine.
Apurva Kaushal
|
|
|
|
|
Me Too
EVEN THE WORD IMPOSSIBLE SAYS I M POSSIBLE.
|
|
|
|
|
Sometimes it doesn't get the PDB file and that is why it happens. If those are recreated then that problem gets solved.
Apurva Kaushal
|
|
|
|
|
So if we delete the pdb file itself, it should work, shouldn't it?
EVEN THE WORD IMPOSSIBLE SAYS I M POSSIBLE.
|
|
|
|
|
I think so, but I haven't tried that. I just deleted the whole folder itself and then restarted.
Apurva Kaushal
|
|
|
|
|
I tried that - in fact I think I tried everything that was suggested - thanks anyway. What I did find is that when I fixed some bugs in my code the debugging started working again!
|
|
|
|
|
Cool it started working. But honestly I was assuming that you are trying to execute error free code.
Apurva Kaushal
|
|
|
|
|
Hi,
in the database they have given the column index and row index and its corresponding values in the table i have problem to convert database column values into Row and display in gridview in asp.net2.0
The Database table is in this way
column_index Row_Index Value category
1 23 8767 Row1
2 23 8766 Row1
3 23 7689 Row1
4 23 6454 Row1
1 24 1234 Row2
2 24 7896 Row2
3 24 6543 Row2
4 24 6758 Row2
I want to display this as
col1 col2 col3 col4
Row1 8767 8766 7689 6454
Row2 1234 7896 6543 6758
in the grid Is this Passible.
Please Help me....
Bharani
|
|
|
|
|
Use Pivot table.
EVEN THE WORD IMPOSSIBLE SAYS I M POSSIBLE.
|
|
|
|