namespace Sample1
{
public partial class MainForm : Form
{
private int field1;
public MainForm()
{
InitializeComponent();
field1 = 2;
}
private void button1_Click(object sender, EventArgs e)
{
if (field1 == 2)
{
do something here;
}
else
do other;
}
How can I get the...
Hi,
I have a checklistbox called from a table with permissions as value and a "Save" button. I am able to display the permissionlevel as checklistbox. For example,
Read
Write
Execute
Full Control
(Save) button
I have another table which associates with userid and permissionlevel. If a...
EmployeeNameList is a list of checkboxes.
chkSelectAll selects all the EmployeeNameList checkboxes.
chkDeselectAll deselects all the EmployeeNameList checkboxes.
I am having two problems with my checklistbox select items.
1. When I check individual box, I have to click twice to get it checked.
2. Altough all the checkboxes are checked after I click "select all", I get the values of the first and second selected items. After that I get every other value...
Hi,
I converted my tiff file to gif in each frame so that I can view tiff image in the reportviewer. I am able to display the image, but it only shows one frame. If there are multiple frames in tiff file, it shows the last one. How can I modify my code so that all the frames displayed...
I have a sp that has firstname, lastname, fullname, and personid columns. In my C#, I have a drop down which displaymember is fullname and valuemember is personid. So far so good, I got those values. Now, I want firstname and lastname of the selected person from the dropdown. How do I do that...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.