|
If i put the path like C;/........
it will not open it.
Biju S
|
|
|
|
|
dear biju,
Are you using C# ?
In C# you have use C:\\folder\\file
In vb.net you can easily mention like this C:\folder\file
All The Best
Sathesh Pandian
|
|
|
|
|
You can Use it to get the data from Drive C.
Use the path C:\\folder\\file in your code and try to fetch the data.
With Regards,
Sakthi
|
|
|
|
|
I'm using the correct syntaxes. for the path.
but the hyperlink will not open the file unless you give ~\\folder\\file
i need to emiminate this.
Biju S
|
|
|
|
|
Hi All,
The requirement is to create factory class that implements a set of cross-cutting aspect classes and provides configuration to create user defined implementations for them at runtime. The user defined assemblies implement the Command pattern, and are invoked in the order they are configured. This requires using Enterprise library for handling configuration data in an external configuration file.
The factory is a singleton class. It references each aspect by an interface. The factory also defines wrapper class to invoke aspect method calls, and load the assemblies on demand.
Please Provide the necessary code and material.
Thanks,
Ramesh Bhojan
|
|
|
|
|
We are here to Help you only,not to do your Work.
So for what you have done for the above stated Application.
What error it says.?
Post your doudt we can help you.
Regards,
Satips.
|
|
|
|
|
Dear Satips,
I have no prior experience on the topic of Aspect factory and Class Factory.
I jus wanted to check if someone had done some sort of job related to this earlier, which could be helpful to me....
I am not asking you to do my job.I just require some supportive documents.
It would be helpful if ppl could share a few docs or code using factory class and aspect factories, which they had worked earlier on.
Thanks,
Ramesh
|
|
|
|
|
Hi Ramesh,
I have not worked in Aspect Factory.
But i have got someuseful links related to that from my friend.Get it[^]
Hope this will help you in your application.
Regards,
Satips.
|
|
|
|
|
I recommend buying the 'design patterns' book, it will cover these things for you.
Or google it.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
i want to create a forum like code project in asp.net.how can i do that?what are the basics?shud we use datagrid in this application?pls help.
"know ur knowledge"
|
|
|
|
|
Better buy a Book and read and Start practicing your code.
Because we cannot answer it simply there are lot of steps invlolved it in creating the Application for Forum.
For More Details[^]
Regards,
Satips.
|
|
|
|
|
Thanks satips
"know ur knowledge"
|
|
|
|
|
Dear accessred,
first you have to seperate the modules for your forem.
1.login and registration
2.Posting and viewing the messages
3.Posting and viewing the articles
4. admin control
second you have to start working for the modules and integrate them later.
Ask your queries seperately when you need any guidance.
PS: seperate the modules into sub modules.
all the best.
Sathesh Pandian
|
|
|
|
|
thanks sathesh.
"know ur knowledge"
|
|
|
|
|
ahem [^]
"Knock me down, I'll get straight back up again, I'll come back stronger than a powered up pacman"
(Lilly Allen / Kaiser Chiefs)
|
|
|
|
|
Hi All,
I need to include my folderpath(where i have few PDF files) eg: c:/Temp in web.config and access this path in cs file.
Can some one help me on this please.
Thanks,
Biju S
|
|
|
|
|
|
Thanks for the reply.
But question was not for a connection string.
I need do give a folder path in server like //192.3.2.220/Folder/888.pdf file
so in ,my cs code i need to get this path and open the PDF file.
How is this possible.
Biju S
|
|
|
|
|
dear biju,
you can store the folderpath and files also otherwise you have to go for
resources
all the best
Sathesh Pandian
|
|
|
|
|
|
Hi, Suppose I have pulled out data from a database into a data reader and load the DropDownList as follows.
Dim ddDR As OdbcDataReader = Nothing
Dim ddOdbcConnection As New OdbcConnection("server=(local);database=[dbname];user id=username;password=password;connection reset=false;connection lifetime=5;min pool size=1;max pool size=50;")
Dim ddOdbcCommand As New OdbcCommand("SELECT * FROM TableName", ddOdbcConnection)
ddOdbcConnection.Open()
ddDR = ddOdbcCommand.ExecuteReader(CommandBehavior.CloseConnection)
DropDownList1.DataSource = ddDR
DropDownList1.DataTextField = "DisplayValueFieldFromDB"
DropDownList1.DataValueField = "DataValueFieldFromDB"
DropDownList1.DataBind()
What I would like to do now is read the Data from the DropDownList. I've read that the values can be retrieved as DropDownList.Items[index] - replace the
index with a number, which can go up to the maximum number of data members. I am not sure what the author meant by that could you please explain? Thank you in advance for your help.
-- modified at 1:01 Thursday 28th June, 2007
|
|
|
|
|
|
I am writing my own user control and I'm wondering how to control its appearance in .NET 2.0. We can call my control 'PlayerTemplate' and it represents a template for a player in the NFL. The appearance of this control will be dictated by the team that the respective player plays for. Here is a small chunk of what the control is currently comprised of:
<!-- PAYTON MANNING -->
<div class="playerTemplate indianapolisColts">
<!-- Main Ranking Section -->
<div class="rankContainer">
<h3>1</h3>
</div>
<!-- Team Color Division -->
<div class="teamColorContainer teamColors">
<div class="colorDiv teamColor1 teamColorBorders"></div>
<div class="colorDiv teamColor2 teamColorBorders"></div>
</div>
<!-- Player Section -->
<div class="playerContainer teamColors">
<table class="playerTable">
<tr>
<td rowspan="2" class="helmetCell">
<a href="" class="helmetLink"></a>
</td>
<td class="playerCell" style="">#18 Payton Manning | QB</td>
</tr>
<tr>
<td class="teamCell">I.N.D. Colts, 8 years exp</td>
</tr>
</table>
</div>
</div>
My stylesheets are configued such that I only have to change the second css class of the main element to get the desired visual effects throughout all of the html elements of the control:
<div class="playerTemplate indianapolisColts>">
and the associated classes for the colts:
/* INDIANAPOLIS COLTS (eventually translate to a skin) */
.indianapolisColts .teamColors {background-color:white;border-top:1px solid #596267;border-bottom:1px solid #596267;}
/*teamcolorsection*/
.indianapolisColts .teamColorContainer .teamColor1 {background-color:#003B7B;}
.indianapolisColts .teamColorContainer .teamColor2 {background-color:#AEB6BB;}
/*helmet*/
.indianapolisColts .playerContainer .playerTable a.helmetLink {display:block;width:31px;height:24px;background-image:url(../../images/coltshelmet.gif);}
and another team for good measure....
/* NEW ORLEANS SAINTS (eventually translate to a skin) */
.newOrleansSaints .teamColors {background-color:#ffebbf;border-top:1px solid #564826;border-bottom:1px solid #564826;}
/*teamcolorsection*/
.newOrleansSaints .teamColorContainer .teamColor1 {background-color:black;}
.newOrleansSaints .teamColorContainer .teamColor2 {background-color:#cbb073;}
/*helmet*/
.newOrleansSaints .playerContainer .playerTable a.helmetLink {display:block;width:31px;height:24px;background-image:url(../../images/saintshelmet.gif);}
As you can see, I have my team classes organized such that the sub-elements of each playerTemplate get defined based on the top-level team css class.
I was trying to figure out how to do all of this using skins, but because I'm designing a custom user control I'm wondering if that is overkill. I could pretty easily expose a property called 'Skin' in my user control and apply the necessary team css class directly to the top level <div> and be done with it, but I'm wondering if I would gain something by implementing it through skins instead.
All of the skin examples I've seen are used to style known controls, does it even make sense to try to implement skinning for a custom-written user control? Obviously you'd have to add the SkinID to the usercontrol yourself, but how do you then associate that skin property back to a .skin file? I'm lost.
|
|
|
|
|
If I databind my GridView to a DataTable object instead of a SqlDataSource the Edit control doesn't change the non-readonly fields in my GridView to editable textboxes and change to Update/Cancel. It just executes the edit command without switching the UI of the GridView into textboxes so the user can edit the values.
Is there a way to get it to get the Edit control in the GridView to behave the same way as when its bound to a SQL Data Source when its bound to a DataTable?
|
|
|
|
|
Question 1: Which language is given more preference c# or vb .net ?
Question 2: Which is faster c# or vb .net ?
I have on the net but i didn't get any reasonable reply for this.
With Regards,
Sakthi
|
|
|
|