|
yp.
it like this:
namespace myNmaspace
{
}
And of course you can use same namespace on more than one file. You have to repeat it for every file you want to do it.
|
|
|
|
|
Hi there...
I'm facing an issue very annoying. I'm developing an ERP in ASP.net using 3 tier technic. The ERP has a lot of modules, so we create 3 solutions for every module. Business Logic Layer, Data Access Layer and Presentation Layer. We cannot create 1 solution for each module because the modules are connected . So is a pain in the ass when I have to debug a layer that isn't the presentation layer! Then I ask:
- Is there a way to debug DLL solutions?
- if not, how is the best way to test my application?
Thanks a lot!
|
|
|
|
|
I don't get it, why do you use 3 solution.
you could use 1 solution with 3 projects and when you have specificied a Reference, you could use break point in different project.
If that isn't what you wanted, then open as many instances of visual studio and load each solution, then in each instances, go to debug menu and "attach process": WebDev.WebServer.EXE. And it will stop on breakpoint in instances of your visual studio.
I hope you understand, what i am trying to type.
|
|
|
|
|
I did a little search, you can use any instances for debugging, but only one instances can be attached to WebDev.WebServer.exe.
I still suggesting to use only one solution, with multiple projects. Thus you will have debugging access to the project, that builds a Dll.
|
|
|
|
|
Hi You cannot debug a dll. Instead try to find the Project FIles for that dll (source code) and then attach the source code to your existing project, Delete the existing dlls from the references and then refer the added project to your existing project.
Start Debugging Now
Note : dll is a very secured format which has all the underlying logic of the application. dlls are created to be secure and to be used without having access to the source code. You cannot get into the source code of the dll.
HAppy Coding
Happy Programming!
Regards,
Nikhil Pagidala
|
|
|
|
|
Hi
i am currently doing a project on miedical diagnosis tt require the application to be able to perform some inferences based on the user input.
however i am not sure how i can go abt doing it?
is neural network the right path to go?
if so, how/where to i start from
is there any free neural network s/w available , so tt i can link up with my website to perform the inferences?
|
|
|
|
|
HI, i am have this grid view, and i have a ds binding a repeater. i want to filter the select command depending on the seleccion in the gridview, i have this code, but i can't make work right.
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="EventId"<br />
DataSourceID="SqlDataSource1" SelectedIndex="1"><br />
<Columns><br />
<asp:CommandField ShowSelectButton="True" /><br />
<asp:BoundField DataField="EventId" HeaderText="EventId" InsertVisible="False" ReadOnly="True"<br />
SortExpression="EventId" /><br />
<asp:BoundField DataField="EventName" HeaderText="EventName" SortExpression="EventName" /><br />
<asp:BoundField DataField="EvenThun" HeaderText="EvenThun" SortExpression="EvenThun" /><br />
</Columns><br />
</asp:GridView><br />
<br />
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:vpx_newConnectionString %>"<br />
SelectCommand="SELECT * FROM [Events]"></asp:SqlDataSource> <br />
<br />
Sub BindData()<br />
'Read sample item info from XML document into a DataSet<br />
Dim cnn As SqlConnection = New SqlConnection(ConfigurationManager.ConnectionStrings("vpx_newConnectionString").ToString)<br />
cnn.Open()<br />
Dim cmd As SqlDataAdapter = New SqlDataAdapter("select * from mediaphotos Where EventID =" & GridView1.SelectedValue, cnn)<br />
<br />
Dim ds As New DataSet()<br />
cmd.Fill(ds)<br />
<br />
' Populate the repeater control with the Items DataSet<br />
Dim dsPaged As New PagedDataSource()<br />
dsPaged.DataSource = ds.Tables(0).DefaultView<br />
dsPaged.AllowPaging = True<br />
dsPaged.PageSize = 5<br />
<br />
dsPaged.CurrentPageIndex = CurrentPage<br />
<br />
'Disable Prev or Next buttons if necessary<br />
cmdPrev.Enabled = Not dsPaged.IsFirstPage<br />
cmdNext.Enabled = Not dsPaged.IsLastPage<br />
<br />
rptParts.DataSource = dsPaged<br />
rptParts.DataBind()
can someone help me here, what i am doing wrong
|
|
|
|
|
Hi guys,
How can i add numbering with a checkboxlist control that is depending on the total number of items checboxlist has in it. For instance,
1[]Book1
2[]Book2
3[]Book3
By default I can add items to the checklist but i there is no way to display numbers on the left side.
I would appreciate anyinput.Thanks in advance.
|
|
|
|
|
netJP12L wrote: i there is no way to display numbers on the left side.
No there is no predefined way d\to do this. You can do this by using DataGrid/GridView instead of Checkbox list. In datagrid/gridview first bound columns should be index columns which shows current row index. Next columns will be your checkbox. To get the checked status, loop through entire grid and find the checkboxes.
|
|
|
|
|
Hi,
I have a datagrid,which has template columns and bound columns <b>dynamically</b> built. Now i need to have two header rows. The first header row spanning over certain number of columns( should be dynamic).
Both the header row text will be from database.
Want something like this.
1.1 & 2.2 are spanning over 4(Not fixed) columns(A R S X).
Blue, red,green ,yellow is in the first column. There are 9 column and 2 rows in the below shown example. I need 2 headers and number of columns vary.
1.1 1.2
A R S X A R S X
Blue
RED
GREEN
Yellow
I would like to do this with a datagrid, but if you have any other suggestion to achieve this, let me know.
Thanks,
kavi
|
|
|
|
|
kavishan wrote: I would like to do this with a datagrid,
Use only template columns and create a table which looks like your requirement.
|
|
|
|
|
Hi Navaneeth,
Thanks for your reply.
using template columns would provide only one header row. how would i get two header rows.
Thanks,
kavi
|
|
|
|
|
Hey there,
i have some problems and i've spent 3 days trying to solve it, so now i bow down and asks you guys.
I have a repeater that repeats data, duh, in this repeater i have a datagrid, listing data based on the title of the repeater. all this works perfectly fine.
problem is.
In the gridview... not datagrid, gridview, i have textboxes for each row.
This is to get the quantity of the item.
Im looking for a solution that either adds the textbox in that row to a database or at the bottom of the site, adds ALL the content of the textboxes to a database.
is this specific enough?
thanks,
Christian
|
|
|
|
|
|
hey guys and girls how can I read aspx output as html?
thx
BiG RaLpH
|
|
|
|
|
I'm not sure what you mean.
Do you want to make a request for an aspx page and retrieve the HTML response? If so, have a look at the WebRequest[^] class.
Paul
|
|
|
|
|
Hi All,
can anyone suggest me, how can i read a file whaich has .properties extension in ASP.Net 2.0
|
|
|
|
|
Read it where, and for what purpose ? A StreamReader can read any file, and an XmlDocument can read any XML doc, which I believe that is.
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 read a file which has configuration related data, currently we are doing it through XML but now i want to read it from file which .properties extension for example i want to read log_level="Error" from properties file
|
|
|
|
|
I have an option to upload image files in my website.But after uploading the website I am getting some problems.Whenever I am trying to upload an image,all the time it is asking the FTP username and password.What is the solution to this problem?
ARINDAM
|
|
|
|
|
Where did my answer to this go ?
How are you uploading the files ? If you get asked for FTP details, I assume you're using FTP and need to provide them.
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 )
|
|
|
|
|
Hey there,
i would like to code a WebChart with Office Web Components 2003 in Visual Studio 2005 on a ASP.Net Site with C#.
To get my data, i'm using a SQL Server 2005 from which i get my values. That's not a problem.. The trouble is, how to start with a WebChart? Could anybody give me an example how to write one?
I searched the web for nearly 2 days, but on every site i found another example, which is completely different from the other one before...
But i found out, that i'll have to install the setup "OWC11.exe" from Microsoft. After this, i got a new reference in Visual Studio 2005. Now it is possible to choose a COM reference named "Microsoft Office Web Components 11.0". And until then i can use the namespace "using Microsoft.Office.Interop.Owc11;". Further i have 5 .dlls, called "Interop.mce.dll", "Interop.VBRUN.dll", "Microsoft.StdFormat.dll", "MSDATASRC.dll" and "stdole.dll" in my project Bin folder. Is it correct?
And how i'll have to go on?
Thanks for your help!
|
|
|
|
|
I have a grid view and I have an Item Template which contains a button which when clicked directs to another page. I want to be able to pass the value in the first field of the row in the GridView which i am clicking the button.
In asp.net 1.0 I was able to do the following:
Sub View(ByVal objSender As Object, ByVal objArgs As DataGridCommandEventArgs)
If objArgs.CommandSource.CommandName = "Update" Then
Response.Redirect("NewPage.aspx?OrderNum=" & objArgs.Item.Cells(1).Text)
End If
End Sub
I could then get the value of Cell(1) in the New Page. This does not work in asp.net 2.0.
Does anyone have any idea how to do this in .net 2.0
Thanks,
macca
|
|
|
|
|
U will have to use datakeys for this as in 2005 u will not get the value of hidden column...
|
|
|
|
|
have you any examples of doing this?
|
|
|
|