|
hai friends
Can anyone pls help in finding why checkbox change event is not firing which is put inside a gridview.
Whenever I checks the checkbox the page is posting back but the event is not firing or is not called, why so?
Autopostback and runat= server etc are set..
Thanks in advance
Santhosh
|
|
|
|
|
Hi everyone,
Can anyone tell me how to create a email in .net 3.5 .
In which template do i create it.
Does a windows form application work or do i need to use the web applications.
Wat all settings must be done.
I have done the SMTP settings in my system and its working.
explain wit with the code.
Please help
i am stuck from 2 days.
I am a beginner
|
|
|
|
|
|
I have input
AssemblyFullName = "Microsoft.SqlServer.GridControl, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"
TypeFullName = "Microsoft.SqlServer.Management.UI.Grid.GridControl"
how to find out this assemlby is in GAC or not.VIBIN
"Fool's run away,where angle's fear to tread"
|
|
|
|
|
Like this:
gacutil.exe /l "AssemblyName" Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Hi,
Can any one help me about secure application?
how to implement security application block for windows application
as well as web application?
Also tell me how to check user has access rights to particular part of
application.
|
|
|
|
|
there are a lot of license providers which will help u in this
Winlicense is one which i know..
where u can set the access rights specific to modules
|
|
|
|
|
HI I'M NEW TO C# I'M CREATING MENU
AND DONE BUT THE PROBLEM IS WHEN I CLICK THE MENU ITEM 3 TIMES THE FORM WILL SHOW 3 TIMES AND I WANT TRAP THAT IF THE FORM ALREADY LOADED YOU CANT OPEN THE FORM TWICE UNLESS THE USER CLOSE THE FORM..
HOW TO TRAP FORM TO LOAD ONLY ONCE
|
|
|
|
|
If you use ShowDialog() instead Show() . If you use ShowModal(), you will prevent code execution till you close your form.
OR declare Form with a global or class scope. And you can put boolean value inside form. And use OnLoad event and Close event to set it to true or false. And before showing you should check that boolean.
PS: It is rude to shout
|
|
|
|
|
can you give me sample sir on how to do it...
|
|
|
|
|
First way:
Form form1 = new Form();
form1.ShowDiealog();
second way:
public class testForm : Form
{
...
public bool opend;
private void testForm_OnLoad(Object sender, EventArgs e)
{
opend = true;
}
private void testForm_OnClosing(Object sender, EventArgs e)
{
opend = false;
}
...
}
testForm form1 = new testForm(1);
if (!form1.opend)
form1.Show();
else
form1.Focus();
|
|
|
|
|
Writing a post in all capital letters is the on-line equivilent of yelling at the top of your lungs.
Read the forum rules post at the top of every forum.
|
|
|
|
|
I have a problem of generating numbers automatically....
Actually i have a textbox and the textbox should autogenerate a number everytime when user insert new record.
Thanks In Advance
Jawad Khatri
|
|
|
|
|
and what is your question? What have you done so far?
|
|
|
|
|
when user Insert New Record textbox generate auto number, like 1,2,3
|
|
|
|
|
To increase number, look at this code:
textbox1.Text = (Convert.ToInt32(textbox1.Text)+1).ToString();
|
|
|
|
|
|
You can look at Int32.TryParse . To convert to int. The difference between .TryParse() and Convert is that Convert will throw you an exception if it cannot convert. Forgot witch one it is. TryParse will return false if faild. My preferences is Convert method
|
|
|
|
|
mjawadkhatri wrote: textbox should autogenerate a number everytime when user insert new record
Insert a record where? Because if the answer is a database then the database should be generating the number - not your application.
|
|
|
|
|
How to make setup of window application in .net of 10 days block. Means software will work for 10 days only.
|
|
|
|
|
There are many ways of doing this. The easiest (though least secure) way of doing this is to store the date it was installed into a text file and then check that file each time the application loads. If 10 days have elapsed, then exit.
|
|
|
|
|
But if user has changed the system date then it will not work
|
|
|
|
|
people can delete the txt file also right? Then the application can continue work?
|
|
|
|
|
Hi. We're having a little problem in allowing the user click/press any button from a group of buttons inside a panel. What we want is after clicking/pressing one button that is not one of the group of buttons, the user will be allowed to click/press any of the buttons in the panel. All the buttons inside the panel represent the alphabet that's why we want to do that. The button that will be clicked before doing that is a start button. So can anyone help us?
|
|
|
|
|
So you start off with the buttons enabled property as False then when the start button is clicked you go through each control in Panel.Controls and if it is a button and not the start button set the enabled property to True.
You may want to put the alphabet buttons in a groupbox to further segregate them from any other controls, in this case you go through the GroupBox.Controls collection instead.
|
|
|
|