|
jojoba20 wrote: How can i have that for VS 2008 version also. You need to manually add the items to VS2013.
|
|
|
|
|
but i wanna ho have VS2008 project into jump list vs2008 and
VS2013 projects to jump list VS2013 .
not in VS selector.
thanks in advanced!
|
|
|
|
|
jojoba20 wrote: i wanna ho have is not English, but I assume you are trying to say "I want to have". However, the remainder of your question makes no real sense so I cannot offer any suggestions.
|
|
|
|
|
hello friends, some here know how i can, populate checkboxlist from database, and populate second checkboxlist with values selected in first checkboxlist, first control should be populate second, I work at asp.net c#, thanks for all, thanks for read this, thanks for all your help.
|
|
|
|
|
Member 10043192 wrote: I work at asp.net Then perhaps the ASP.NET forum[^] would be a better place for your question.
|
|
|
|
|
You forgot to mention when you need the working code?
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
look into the topic linked lists.
Basically you need to have a link in the database to begin with and load that link with the object in the checkboxlist. When you need to populate the second list based on the selection of the first you pass the foreign key and select the values corresponding to that.
Foreign key can be a number, guid or a category name eg...
|
|
|
|
|
First you shuld get the first checkboxlist's item which is selected.
second use the item's value that you selected in the first checkboxlist as a key to find the second checkobxlist's data and then populate it.
Hope this can help you.
good luck.
|
|
|
|
|
It would probably be more helpful to reply to Member 10043192 who asked the actual question, instead of me who answered it.
|
|
|
|
|
Hi i'm a student currently doing a project in C#.
But i'm having Difficulty in understanding C#.
i need help in drawing shapes.
I need to create my own custom Stencil containing the shapes.
But i'm failed in doing so.e
Is there a way to ADD custom shapes in a stencil ( like FlowChartStencil.xaml) which can be usedand resized at the user wills like in a paint tool...
Thank you
|
|
|
|
|
|
Has your teacher named the phrase "User Control"?
Can you give us the complete assignment?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
|
Sir i created window form application setup And correct working my laptop but problem is when i install another system there are not login error following :-
Collapse | Copy Code
Unhandle Exception has occurred in your application.
A network related or instance- specific error occurred while establishing a connection to sql server. the server was not found or was not accessible. verify that the instance name is correct and that sql server is configured to allow remote connection(provide: SQL network interfaces, error:-26 ERROR locatings server/intance specified)
|
|
|
|
|
Did you modify the connection string to fit the installation of your application and the SQL server being used?
Just because the app ran on your 're machine doesn't mean is going to run everywhere else.
|
|
|
|
|
|
i would like to select foreign key from dropdownlist
|
|
|
|
|
You'll need to obtain a list of these keys then. I assume that you're trying to do this dynamically. Effectively you have two choices:
1. Use a generic ODBC based query to retrieve the list of keys (this isn't the fastest option, but it's largely database agnostic).
2. Write a database specific query to retrieve the list from your system tables.
|
|
|
|
|
Hello guys,
I have a little problem, and I don't know how to make things works.
This is a JSON respone from a website:
{
"data": {
"status": 1,
"status_message": "Comanda a fost introdusa!",
"comanda": {
"id_comanda": "404",
"pret_total": 35,
"modalitate_plata": "Card online"
}
},
"error": false,
"errors": []
}
And I want to parse the values to my console application script.
I build this structure for JavaScriptSerializer:
public class Comanda
{
public string id_comanda { get; set; }
public int pret_total { get; set; }
public string modalitate_plata { get; set; }
}
public class Data
{
public int status { get; set; }
public string status_message { get; set; }
public Comanda comanda { get; set; }
}
public class RootObject
{
public Data data { get; set; }
public bool error { get; set; }
public List<object> errors { get; set; }
}
And I get the value for error response:
RootObject GetProduse_vars = new System.Web.Script.Serialization.JavaScriptSerializer().Deserialize<RootObject>(text);
Console.WriteLine(GetProduse_vars.error);
And "text" variable contains the JSON response.
Can you guys help me to find a solution to get the values from id_comanda and pret_total strings?
Thanks a lot!
Alex Bordei
|
|
|
|
|
I think the JSON deserializer is case-sensitive. Try naming the classes comanda and data.
Also you dind't post the error message you got but the call that produced the error. So we can only guess.
The good thing about pessimism is, that you are always either right or pleasently surprised.
|
|
|
|
|
|
Hello,
I am trying to make a .\Server .\Client C# service that will copy the new data everyday from the .\Server and save it on the .\Client database.
Since I am new at database programming I need some help..
The main problems are that the database from the .\Server will be deleted once every 3 months but it still needs to be saved in the .\Client database.
The functionality of the service should be: everyday at a specific time save the new records (they can be 1-500). Can you give me directions which way to go?
It will be the best if everything can be done just by the service and I don't need to create manually database tables etc. because that will lead to complications with the clients.
Thanks in advance! 
|
|
|
|
|
As I understand at the end of the day you have two SQL databases (names are unimportant). My advise is NOT to write some software to copy data between databases but use SQL Server's build in replication[^] (supported since 2005)...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
Yes, I know it will be the best to set up some kind of already build software, BUT.. that will require the customer to do this also and that may lead to complications.. thats why I needed to code it myself and escape customer interaction
if there is any way to set this up via execution of some C# code that will be a variant too..
|
|
|
|
|
You could probably have the application have some way to invoke SQL Server replication.
"I've seen more information on a frickin' sticky note!" - Dave Kreskowiak
|
|
|
|