|
Can U Tell what u want exactly.
|
|
|
|
|
|
Hi Guru's
I'm new in using master page, I was able to pass data from aspx pages to controls placed in master page, I'm just wondering it is possible to pass data to a webuser control that was placed on master page? How can that be archived?
Thanks
Dom
|
|
|
|
|
You do it exactly the same way. A user control works just like any other control.
---
single minded; short sighted; long gone;
|
|
|
|
|
i am doing a project of converting a word document to xml.... i am able to read a word document and even i am converting it into xml.. but the problem is how to find forecolor of a line while reading a word document using streamreader..... at run time...
plz this is very urgent...
can any one help me out in this....
thnk u...
Rashmi.M.K
|
|
|
|
|
To use the GDI classes we need to include System.Drawing.Imaging namespace in the "using" section of the code. Go to the source view and add a string variable and a property to the class. This string variable is used in the property to store and retrieve the output file name.
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
hello sir! thnks for reply...
but still i am facing problem.. i am unable to read the color of text from word document...
here the codes on which i have used,,
streamreader sr = new streamreader("file.xml");
string s1 = sr.readline();
here if "s1" color is red then it must move further else it must come out of the loop...
so i tried with if condition
if(Forecolor.name.equals(color.red))
but i dint get the output..
plz advice me in some easiest way so that i can finish this work today.. its really very urgent sir.. plz help me out...
Rashmi.M.K
|
|
|
|
|
Why do you need to write client and server code, if you're using ASP.NET ? You have a client web page, and a server web page ? Why ?
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 )
|
|
|
|
|
Ya In client and server page. And i want to call method from that. Just tell me in detail what u want to say about client & server page?
|
|
|
|
|
TarDuk wrote: Just tell me in detail what u want to say about client & server page?
What I want to say is that unless you have a logical explanation, it sounds like what you're implimenting is vaguely ridiculous.
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 )
|
|
|
|
|
how can i select data frm database to a list class in C#+asp.net
ashu
|
|
|
|
|
can you elaborate your question pls?
Paras Kaneriya The difference between genius and stupidity is that genius has its limits.
|
|
|
|
|
thanx 4 response
i ve data in database and list collection to use the data. now how can i insert it. i m just joined .net plz help me to resolve it
|
|
|
|
|
i hav a class library type dll . i want to make it shaed dll.how can i do it.
Soniagupta1@yahoo.co.in
|
|
|
|
|
How do you mean ?
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 meant , i have a dll , which contains some function regarding the database interaction.whevever, i create a new project, i give reference of that dll to my project.i want , that next time it appears like shared dll.so that i don;t need to browse that dll in my hard drive.
Soniagupta1@yahoo.co.in
|
|
|
|
|
Register it in GAC
Paras Kaneriya The difference between genius and stupidity is that genius has its limits.
|
|
|
|
|
how to register it. can u provide the steps.
Soniagupta1@yahoo.co.in
|
|
|
|
|
Google is broken where you live ?
It's worth mentioning that this will solve the problem on your dev machine, but you still need to deploy the dll with the app.
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 )
|
|
|
|
|
|
You need to put it in the GAC.
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 )
|
|
|
|
|
can u provide the steps please?
Soniagupta1@yahoo.co.in
|
|
|
|
|
1) Create an assembly key file
Use the sn.exe tool to create a key file:
sn -k StrongNameFile.snk
If your path environment variables aren't set, you'll have to go to the C:\Program Files\Microsoft.NET\FrameworkSDK\Bin\ directory to run sn.exe)
The filename "StrongNameFile.snk" can be any name you want.
2) Edit your assembly
Now you have to add a tag which will link your assembly key to the assembly:
using System.Reflection;
[assembly:AssemblyKeyFile("StrongNameFile.snk")]
Normally this is done in the utility AssemblyInfo.cs (vb) file.
3)Add your assembly to the GAC
gacutil /i AssemblyFileName.dll
To uninstall this assembly from the GAC, use the command:
gacutil /u AssemblyFileName
4) (Opional) Add your assembly to machine.config
Locate the <assemblies> tag (for web apps,under <configuration>/<system.web>/<compilation>/<compilers>/<assemblies>)
Between the <assemblies> tags, enter:
<add assembly="AssemblyFileName, Version=0.0.0.0, Culture=neutral, PublicKeyToken=5edf592a9c40680c">
You can get the information for the assembly attribute, by running the gacutil /l command which will return a list of all the assemblies in the GAC. You will have to look for the one you just added and copy the entire line (less the Custom=XXX part at the end).
At this point, you will be able to place this directive in your aspx pages.
<%@Import Namespace="YourNamespace"%>
or, you can set a reference in the Visual Studio IDE as you would with other GAC Assemblies.
Paras Kaneriya The difference between genius and stupidity is that genius has its limits.
|
|
|
|
|
Paras Kaneriya wrote: If your path environment variables aren't set, you'll have to go to the C:\Program Files\Microsoft.NET\FrameworkSDK\Bin\ directory to run sn.exe)
The filename "StrongNameFile.snk" can be any name you want.
is it mandatory that the StrongNameFile.snk should be in C:\Program Files\Microsoft.NET\FrameworkSDK\Bin
Soniagupta1@yahoo.co.in
|
|
|
|
|
As I mentioned it is for running sn.exe
you can have .snk file anywhere in your system
Paras Kaneriya The difference between genius and stupidity is that genius has its limits.
|
|
|
|