|
Hi
I am new in asp.net can some help me how to start an online chat application in asp.net using c#..MY mail id is guptagaurav212@gmail.com
Thanks in advance
Gaurav Gupta
|
|
|
|
|
GauravGupta212 wrote: Hi
I am new in asp.net can some help me how to start an online chat application in asp.net using c#..MY mail id is guptagaurav212@gmail.com
Thanks in advance
Gaurav Gupta
Wow. Let me spell it out for you.
1 - posting your email, which will get you spam from people who have nothing to do with this site, and almost certainly nothing else
2 - this is NOT the ASP.NET forum
3 - we are NOT here to tell you how to use google.
4 - it is INCREDIBLY rude to delete your message, no matter how stupid. It just clutters the forums.
The only way to write a chat app is with AJAX. ASP.NET has next to nothing to do with it. I suggest buying an AJAX book and reading it before coming back and using the correct forum to ask specific questions.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
|
You've done just about everything wrong here. Try reading the guide on how to ask questions, do some research, and try using the right forum when you have a question that is more specific than 'do my work for me'.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Dear All, I am trying to prepare my self for a project which is Distributed and also disconnected at most points.
i would appreciate any reference,website or books of distributed application development which i can do it through c#.
Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan
|
|
|
|
|
This is a really nice beginners book for distributed systems.
Life is a stage and we are all actors!
|
|
|
|
|
I am really sorry my friend, I dont have access to credit or any other kinds of cards to buy from amazon or others. kindly i am asking for free source.
thx
Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan
|
|
|
|
|
Hello,
I wan to able to change the label when i select a radiobutton.
For example when i select the Yes radiobutton, it will show the text as Y and not Yes.
Is there a way to do that?
|
|
|
|
|
Yes. What control do you want to change the text on when the RadioButton is selected?
|
|
|
|
|
click, thanks for the reply.
|
|
|
|
|
"click" is an event. Do you want to change the text on the RadioButton, or a Label, or what?
Anyway, just wire the event "click" event to the control, then inside it: radioButton1.Text = "my new text"; or labelText1.Text = "my new text"; etc.
|
|
|
|
|
For example:
private void radioButton1_Click(object sender, EventArgs e)
{
radioButton1.Text = "my new text";
}
but to wire the event:
this.radioButton1.Click += new System.EventHandler(this.radioButton1_Click);
which is done automatically by the designer, but if you don't have VS, just add the above to your form's constructor with a change to the radio button control's name of course that matches the method signature (e.g. "radioButton1_Click" in this case).
|
|
|
|
|
hmmm, i did that, and when i go back to the previous form which has the radio button. The text of the radio button becomes the value that i type in the program.
Exmaple, i click on Yes button, the value is Y but when i return back to the form, the text of the radio button becomes Y instead of Yes originally.
|
|
|
|
|
Are you working with a Tabcontrol, or are you calling another form?
|
|
|
|
|
Ooohh, I think you are calling a messagebox or another form. If so, you need to access the main form's (1st form, or parent form) control. Can you give me a code example?
|
|
|
|
|
If that is the case (haven't seen your code yet), then here is an example of what you want I believe:
MyNewForm form2 = new MyNewForm();
DialogResult result = form2.ShowDialog();
if (result == DialogResult.Yes)
radioButton1.Text = "Yes";
Note the "Text" being set after return from the previous form's "Yes" button, but you have to ensure the DialogResult being returned from form2 is DialogResult.Yes for this to work.
|
|
|
|
|
Hi. Thanks for helping me alot! =)
but i figure it out already.
Thanks. =D
|
|
|
|
|
On radioButton1_CheckedChanged event you can set text to label.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.aktualiteti.com
|
|
|
|
|
change text to label ?
thanks for the reply.
|
|
|
|
|
use this code
if(radiobutton1.value==true){
{
radiobutton1.Text="Y";
}
else
{
rariobutton1.Text="Yes"
}
plz write this code in click event
Have a nice day
|
|
|
|
|
I have a question that I am unsure of the answers and its possible that the Local Database cache is something I am looking for.
I have created an Inventory Application for all of our items at our agency. This is over 5000 items. When adding or modifying an item, I have it pull Distinct values from the Manufacturer, Model, Vendor, etc. The reason for this is so it will be easier to standardize everything using Autocomplete. We have orders from many manufacturers and the way it is now, there is some items in there as:
HP, or Hewlett Packard, or Hewlett Packard Co., etc.
Using autocomplete will popup an example that you can choose from so hopefully you will select Hewlett Packard to standard it better and make it easier for reports.
As you can tell, the problem is the amount of data it pulls to populate the comboboxes. That is a lot of data to pull from a SQL server even if it is a stored procedure and only pulling Distinct values.
Is there a way to possible cache this information once on the application load and use it over and over? I am only worried about caching it on the application loading (locally) or maybe even once a week.
Any ideas would be grateful. Thank you!
|
|
|
|
|
Did you normalize your database?
e.g. do you have a Manufacturers table, with fields MFG_ID and MFG_name?
when you do, your articles table should store MFG_ID, not MFG_name (less data, less confusion)
and your comboboxes could get populated by the Manufacturers table (much less data)
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
As that might have been ideal... no I didn't
I took an existing database (which was made in Access) and created a new database from scratch.
I used the same table layout the access database it has (created way before I got there) and basically created something to read and import it into the SQL database.
So basically my Inventory table has a
Manufacturer, Vendor, Model field in each.
I know what you are talking about, but for me to do that, it would be very time consuming I believe since nothing is standardized. I can change that in the future..
|
|
|
|
|
I forgot to mention that this is a remote database housed on a SQL 2005 server. It is not local
|
|
|
|
|
It will have to be done sooner or later. Later probably means more code to change, and more data in the tables; so why not do it sooner?
You can automate a lot of it: add a MFG table, and a MFG_ID to existing tables; then write some code to copy MFG_name form existing tables to new MFG table and insert MFG_ID values. All this does not clean the situation, it merely normalizes, and moves the different spellings of HP to the MFG table (all with different IDs).
However you can now list the MFG table, sort it, and start cleaning it (merging different MFG_IDs that should be the same).
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|