Forum: C# Oct 30th, 2008 |
| Replies: 7 Views: 4,402 use also the drag and drop method |
Forum: C# Oct 9th, 2008 |
| Replies: 5 Views: 770 Well memorizing also helps... hehehehe. BUT memorize only the basic ones then you'll go along WELL.
For a start try to familiarize or memorize the syntaxes on:
1. Conditional Statement
2.... |
Forum: C# Oct 9th, 2008 |
| Replies: 3 Views: 1,934 Newbies! Newbies! Newbies! Post your problematic code before asking any help... it seems you don't even try some effort to get what you wanted/needed. Just google google google google and have some... |
Forum: C# Sep 29th, 2008 |
| Replies: 9 Views: 2,108 Just curios... Do you mean that the array's dimension is the number of columns in the text file? if it is... is the number of column in your text file were all the same? or you just mean a single... |
Forum: C# Sep 29th, 2008 |
| Replies: 3 Views: 779 Read the intellisense of the property, it will help you. I think you did not do some efforts... hehehehe no offense meant, that's for your own good. if problem persist consult your f***n brilliant... |
Forum: C# Sep 29th, 2008 |
| Replies: 5 Views: 1,722 or this...
private void cmdOk_Click(object sender, EventArgs e)
{
string LoginId = txtUserID.Text;
string PassWord = txtPassword.Text;
string sql = string.Format(@"select *
... |
Forum: C# Sep 29th, 2008 |
| Replies: 6 Views: 2,188 I don't know if this is correct but try this out hope it would help...
this.label1.MouseDown += new MouseEventHandler(this.label1_MouseDown);
this.label1.MouseDown += new... |
Forum: C# Sep 24th, 2008 |
| Replies: 3 Views: 1,621 Hmmm I think you get me wrong... what I mean is how to do it?
I only knew how to change in design mode but I don't know how to change it during runtime. |
Forum: C# Sep 24th, 2008 |
| Replies: 12 Views: 2,347 To be frank, I don't understand your code on what to be done but hope this would help you...
sample code.
private void loopSample()
{
foreach (Control ctrl in this.Controls)
{
... |
Forum: C# Sep 24th, 2008 |
| Replies: 4 Views: 3,490 I disagree on LizR. we can an optional parameter.
try this...
private void Form1_Load(object sender, EventArgs e)
{
sample("Hello World.");
} |
Forum: C# Sep 23rd, 2008 |
| Replies: 3 Views: 1,621 I have a datagridview with three columns namly column A, column B, column C.
column A has a column type of DataGridViewTextBoxColumn.
while column B and column C has a column type of... |
Forum: C# Sep 23rd, 2008 |
| Replies: 5 Views: 2,371 correction.
//Populate first the combobox for country during form load
private void myForm_Load(object sender, EventArgs e)
{
string[] country = new string[] {"Philippines", "India",... |
Forum: C# Sep 23rd, 2008 |
| Replies: 5 Views: 2,371 Hope this could help.
Sample...
//Populate first the combobox for country during form load
private void myForm_Load(object sender, EventArgs e)
{
string[] country = new string[]... |
Forum: C# Sep 23rd, 2008 |
| Replies: 5 Views: 1,722 Determine first what database you will use so that you can determine what connection you will have to use.
Then try to solve it in your own and after your coding you will have a problem then post... |
Forum: C# Sep 23rd, 2008 |
| Replies: 12 Views: 18,953 One more thing... since this is about a log in thing... its expected that every username or adminID is unique therefore if will log-in you're selecting a specific user, thus, the query will return... |
Forum: C# Sep 23rd, 2008 |
| Replies: 12 Views: 18,953 try this one...
Don't limit the "try catch" the error will occur anytime so its best to put all your codes in a try catch block.
private void button1_Click(object sender, EventArgs e)
{
... |
Forum: C# May 21st, 2008 |
| Replies: 4 Views: 8,612 try to loop the table then provide the color you wanted to be in every loop... got it? it better to for() statement |
Forum: C# May 19th, 2008 |
| Replies: 3 Views: 1,443 I think it's not of focus event it's a click event, right? I'm sorry but can you please rephrase your question....it's hard to understand what you really want. |
Forum: C# May 7th, 2008 |
| Replies: 2 Views: 2,594 ok... you can use a try catch but what if i have 100 lines of code, you mean to say you have to try catch it in 100 times? or arrrgggghhhh! please see below sample.
private int Calculate(int x,... |
Forum: C# May 1st, 2008 |
| Replies: 4 Views: 1,158 Video video = new Video();
The code in green color means the name of the class or your form... got it?
regards
jireh |
Forum: C# May 1st, 2008 |
| Replies: 2 Views: 2,594 Guys,
A challenge for us... for you I mean lol! Can anyone of you have any idea on how to make an equivalent code of On Error Resume Next of VB to C#?.
Note: Don't use a try catch
Regards,
... |
Forum: C# Dec 26th, 2007 |
| Replies: 5 Views: 995 OK let me first clear this out...
does your english-term-data separate in another table from arabic-term? or they are just in one table only...
if your table looks like this...
Arabic_Term ... |
Forum: C# Dec 26th, 2007 |
| Replies: 1 Views: 1,448 the problem is this: Example I have five data in the datagrid(of course the data comes from the database.) and I want row of the datagrid to be highligted when the the data was found after searching... |