|
|
Hello everyone,
I am developing a application that will display all instances of Microsoft exchanger servers and sql servers that are running on LAN.
I found the solution for sql servers but could not find any way for exchange server.
Language of my program is c#.
Thanks in advance.
Regards,
Jitendra Singh
|
|
|
|
|
JSingh_Freelancer wrote: I found the solution for sql servers
I doubt it. Not every system may have the SQL Server Browser running (mine isn't) and there may be other impediments. But, if you did find a way, write an article.
I think you will find the task impossible.
|
|
|
|
|
I will write article on that. But right now i am concerned over how to find all instances of exchange servers.
Beacuse as per my understanding many exchange servers can be run on LAN.
Plese correct me if i am somewhere wrong.
Thanks & Regards
Jitendra Singh
|
|
|
|
|
It'd be nice if I could get a list of all targets when I'm on a strange network
A sysop can enter the address manually if there's a need to configure your app.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
How to update image in database using stored procedure in Asp.Net using gridview?
|
|
|
|
|
|
Hello I have a combobox binding to a ObservableCollection of a table, where I fetch the ID field that deposit in another table, so everything is right, the problem arises when I want my ValidatesOnNotifyDataErrors doing its job, but it does the property in question is set to [Required] will post the code I hope you can help out:
Combobox:
<pre lang="xml"><ComboBox HorizontalAlignment="Left" Margin="327,116,0,0" VerticalAlignment="Top" Width="120" ItemsSource="{Binding NegozioObser}" SelectedItem="{Binding NegozioSelezionato, ValidatesOnNotifyDataErrors=True}">
<ComboBox.ItemTemplate>
<DataTemplate>
<Grid>
<TextBlock Text="{Binding RagioneSociale}"/>
</Grid>
</DataTemplate>
</ComboBox.ItemTemplate>
</ComboBox>
property destination in the table Envelope:
[Required]
public int NegozioID
{
get { return _NegozioID; }
set { _NegozioID = value; RaisePropertyChanged("NegozioID"); }
}
withdrawal from the property NegozioID table Shop through this ObservableCollections:
ObservableCollection<Negozio> _Negozios;
public ObservableCollection<Negozio> NegozioObser
{
get { return _Negozios; }
set
{
_Negozios = value;
RaisePropertyChanged("NegozioObser");
}
}
|
|
|
|
|
You've marked NegozioID as required, but you're binding to the NegozioSelezionato property. Have you marked NegozioSelezionato as required?
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I did it so I did:
<ComboBox HorizontalAlignment="Left" Margin="327,116,0,0" VerticalAlignment="Top" Width="120" ItemsSource="{Binding NegozioObser, ValidatesOnNotifyDataErrors=True}" SelectedItem="{Binding NegozioSelezionato,ValidatesOnNotifyDataErrors=True}" SelectedValue="{Binding Busta.NegozioID, ValidatesOnNotifyDataErrors=True}" SelectedValuePath="NegozioID" DisplayMemberPath="RagioneSociale"/>
|
|
|
|
|
Try removing the binding for the SelectedItem property, and just leave the SelectedValue / SelectedValuePath .
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Thanks for sharing that information with us. It really help us.
|
|
|
|
|
HI,
EveryBody,
I want to ask that how to add,delete,insert,update data
in connected environment in ado.net???
Thanks...
|
|
|
|
|
|
Hello, I need some advice on how it is right to generate a numeric code that appears in my textbox automatically start the window, explain, I'm making an application where the user must enter a repair of an article, so it must give this article a code that will be unique, I would like to ensure that this code remains stored in the database to have a story.
There is a class in C # that do such a thing?
You would use the primary key or is it better to create another field to the code?
You have or know where I can find some examples?
Thank you all for the help.
P.S. I am working in MVVM F. Entity Code First
|
|
|
|
|
Paolo Mazzon wrote: There is a class in C # that do such a thing?
Not unless you write one.
Paolo Mazzon wrote: You would use the primary key or is it better to create another field to the code?
Either way; it's up to you.
Paolo Mazzon wrote: I am working in MVVM F. Entity Code First
You probably shouldn't pick a strategy before you even know what you're doing.
|
|
|
|
|
Thank you for your response, I know myself that I have to write the method, it is precisely because I do not know how to do that I ask for help, at least the discussion forums are used to this I hope not to disturb nessuno.Good Day
|
|
|
|
|
It seems like you could just start with any number, and increment it every time you need a new code. This is simple, and the numbers would all be unique.
|
|
|
|
|
|
HI,
EveryOne
I want to ask a question regarding ado.net because i am little bit confuse???
For example:- Just like in asp.net we can redirect user to another page in the same way can we redirect user to another form in ado.net.For example:-I have a window form
Form1.cs and i want to redirect user to another form
Form2.cs???So can we redirect user?If we can then Please give the code to redirect user to another Window Form???
Thanks in Advance...
|
|
|
|
|
You already got answers? Why repost? Read what others wrote you, stop to think about the meaning of that and improve your question!!!
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
|
HI,
Thanks...
My Problem is solved...
|
|
|
|
|
ADO.NET has nothing to do with displaying forms - it's the generic name given to the underlying data access techniques available in .NET. As there are many different ways of displaying forms, depending on what the underlying technology is, could you actually tell us which one you're using to prevent confusion? Is it ASP.NET? What about WinForms? WPF? Silverlight? ASP MVC?
|
|
|
|
|
Hi,
EveryBody
I want to know that in ado.net how to redirect user to another page???
Thanks in Advance...
|
|
|
|