|
I need to document a number of tree type structures and wish to use SQL as the data source and ideally a .NET ASP front end.
Ideally I want to store all data in one structure and allow users to navigate through the different structures and jump between them at relevant nodes.
The tree structures are a network infrrastructure with multiple routes between switches, the power distribution feeding all the switches and the building structure where the various physical items exist.
I'm after some ideas on the data structure, I have a few different structures in mind but the all have downfalls or complexity.
SteveJ
|
|
|
|
|
In DB you can design tree as the following:
NodesTable(NodeID,NodeName,NodeParrent)<br />
NodeTable.NodeParrent 1===M NodeTable.NodeID<br />
and in ASP.NET use an DataReader to read all records of the table one by one and add them to the Tree datastructure you've designed.
|
|
|
|
|
I've been using the 32Feet IrDA library a lot recently, especially for a WindowsCE project. Thinking about writing an article (it would be my first), but as 32Feet makes the whole subject child's play anyway, does anyone think such an article would be useful?
Me: Can you see the "up" arrow?
User:Errr...ummm....no.
Me: Can you see an arrow that points upwards?
User: Oh yes, I see it now!
-Excerpt from a support call taken by me, 08/31/2007
|
|
|
|
|
Do it. Even with a supposedly simple library, there will be something for those of us who have never used it. I like reading articles like this because they sometimes spark off ideas, and there are a lot of others here who feel the same.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Ok, boss - I'm on the case
Me: Can you see the "up" arrow?
User:Errr...ummm....no.
Me: Can you see an arrow that points upwards?
User: Oh yes, I see it now!
-Excerpt from a support call taken by me, 08/31/2007
|
|
|
|
|
martin_hughes wrote: Ok, boss
I'm not the boss - she won't let me.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Its good idea to put your article.
Submit it.
Best Regards,
Chetan Patel
|
|
|
|
|
hi
i want source code for implement paypal pro with asp.net in which all payment processing done from my site paypal work in background and at last return 1 for transaction sucess and 0 for transaction fail so pls send me source code for implement paypal pro with asp.net
e
|
|
|
|
|
Wrong place to ask for this.
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
i want to capture dynamic page source (e.g. when on any page right click and option found view source ) i want to store that source using php/vb any solution.
|
|
|
|
|
There is a good article here on The Code Project that do things very similar to your requirements. You can check it http://www.codeproject.com/useritems/WebPageSourceTransmitter.asp[^].
Remember, your work is not yours alone. Somewhere, there are some codes written by others amongst us that depends on your work. By failing to see that you are part of their ecosystem, you are bound to break their code.
|
|
|
|
|
A control to visualize and select one(or perferably two) ranges of data would be very useful.
Basically, you would have a control layout like this:
|--------------------------------------------|
| | | | |
| | | | |
| | | | |
|--------------------------------------------|
^(1) ^(2) ^(3) ^(4)
Basically, each of the vertical lines in the top control box would represent some data; for example, you could say, the control starts at 10, ends at 100, and has marks at 15, 50, and 70, and show groups of messages by having bold lines. The purpose of the lines would be to show where the concentration of data is. In my case, I'm looking at messages, so I'd like to be able to see where the greatest concentration of messages are if I input timestamps of all messages.
The ^s would represent sliders. Basically, you could select a range from 1-2 and from 3-4 to look at.
I don't know if there's a control that's similar to this(PLEASE let me know if you do), but it would be very useful.
Thanks,
Mike
|
|
|
|
|
That would be interesting.
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
i have to retrieve hidden data from gridview.
hidden data is Usr_No. then i need to update the record based on that condition. now i am getting the hidden data.when i click on update button only first record is updating.when i am trying to update next records error message is showing like Object reference not set to an instance of an object.
my code is
protected void grdCandidate_Update(object sender, GridViewUpdateEventArgs e)
{
try
{
SqlConnection con = new SqlConnection(connStr);
con.Open();
foreach (GridViewRow row in grdCandidate.Rows)
{
int index = e.RowIndex;
int pageindex = grdCandidate.PageIndex;
int pagecount = grdCandidate.PageSize;
int selectedindex = (pageindex) * (pagecount) + index;
DataSet ds2 = (DataSet)ViewState["Data"];
string usr_sno = ds2.Tables[0].Rows[selectedindex]["usr_sno"].ToString();
//string Round_Desg = ((DropDownList)row.FindControl("ddlStatus")).SelectedItem.Value;
string Round_Desg = ((DropDownList)row.FindControl("ddlStatus")).SelectedItem.Value;
Response.Write(Round_Desg);
string sqlUpdate = "update TB_NISI_Interviewdetails set Round_Desg=@Round_Desg where usr_sno=@usr_sno";
SqlCommand cmd = new SqlCommand(sqlUpdate, con);
//cmd.Parameters.AddWithValue("@Company_Name", ddlCompanyName.SelectedItem.Text);
//cmd.Parameters.AddWithValue("@inter_date", txtDate.Text);
cmd.Parameters.AddWithValue("@Round_Desg", Round_Desg);
cmd.Parameters.AddWithValue("@usr_sno", usr_sno);
cmd.ExecuteNonQuery();
con.Close();
BindData();
}
}
catch (Exception ex)
{
string a = ex.ToString();
}
}
plz help me.
|
|
|
|
|
This forum is for article suggestions.
"I've seen more information on a frickin' sticky note!" - Dave Kreskowiak
|
|
|
|
|
Hi all,
I am newbie here.
My Tech. environment: .Net and Sql Server
Problem:
Manyatimes, we need to return data from different tables in the database to the UI (for example, search results) whose schema wouldnt match with any of the domain objects.
In this case, one option is to transfer the data using the datasets/datatables feature provided by .Net.
The other option I could think of is to create business (DTO?) objects to just pass on the data from the DB to the UI.
I prefer the second approach. However, I need suggestions on how do I implement it? Will this DTO contain a reference of all the domain objects involved or Can I just include only the desired columns?
Or, do we have any other solution?
Thanks in advance,
AGL
|
|
|
|
|
Not sure if this suggestion is on the right track but if you use VS2005 then the GetData method of a TableAdapter will return a table object that contains both the data and the table schema from the database. You can use an sql statement to limit/filter the rows too.
|
|
|
|
|
You can create a class with public propertis for the fields which you want to display and make collection of that class by inherit the ArrayList.
Best Regards,
Chetan Patel
|
|
|
|
|
Please can anyone help me with a TimeSheet Control in VB.NET 1.1..
A sample source would help.
Thanks in Advance,
Sachin G.
Spectrum Info Solutions
|
|
|
|
|
This forum is for article ideas.
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
I have a number of signals received by the same capsule. I'm wondering if someone knows an elegant way to represent this on a sequence diagram? I'm using UML 1.3 and considering upgrading to 2.0, if necessary.
jD
|
|
|
|
|
Cud somebody tell me how can i find the message being displayed in the status bar of a web page using Javascript,html, css and if it resulted in opeing of any link on the web page
MARTAND SHARDUL
|
|
|
|
|
defaultStatus and Status are the properties you are looking for with javascript, and i'm not sure what you mean by the last part.
|
|
|
|
|
Hello frnds!!
well I wanted to confirm that whether Google allows us to create tools(Adsense TOOls) and is it possible without due permiossion from GOOGlE
MARTAND SHARDUL
|
|
|
|
|
PLz somebody reply
MARTAND SHARDUL
|
|
|
|