Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
6
Posts with Upvotes
5
Upvoting Members
6
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #1K
~10.8K People Reached
Favorite Tags
Member Avatar for tet3828

I have a two forms that I created using the design view of Visual C# Express (Form1 & infoEntry). I set the properties to of the listview in Form1. public System.Windows.Forms.ListView toSend; I've invoked the second form and sent some data using code below. Works great. infoEntry dataWindow = new …

Member Avatar for TnTinMN
0
419
Member Avatar for anisha.silva
Member Avatar for anisha.silva
0
96
Member Avatar for sai.ayilavarapu

Hi need help i setting up both Adding and Updating datagrid cells in the Save_Click event. Right i used seperate click events for Add_Click and Updating_Click but i want to both of them in the Save_Click event rather than seperately. Thanks in advance Here is my code using System; using …

Member Avatar for Rogachev
0
188
Member Avatar for as_khoshtip

have a Problem in C# windows program that is I can't work with 2 database those are simple database in tables and Data. in this Project I want to open Access DataBase and Create New Access DataBase with another Name But with Same Tables And Columns And Rows and fill …

Member Avatar for nmaillet
0
233
Member Avatar for majorawsome

Alright. So with c# we have SINGULAR class inheritance, correct? But we can have infinite Interfaces. I don't get this because when I inheret like so (I'm doing this right, Right?) [CODE] class Player : Zombie_Game.Variables { } [/CODE] and in my Variables class I have this... [CODE] class Variables …

Member Avatar for majorawsome
0
151
Member Avatar for fka

Hello. I'm writing Windows Form App and I found "tiny" trouble. I can't manage with finding control by a name. I have this code: [CODE]private Control FindByName(string name) { foreach (Control c in this.Controls) { if (c.Name == name) return c; } return null; }[/CODE] and simply it doesn't return …

Member Avatar for ddanbe
0
289
Member Avatar for faintfascinatio

I'm using C# to run a couple stored procedures and return in dataset. I've been using: [CODE] if(dset.Tables.Count > 0) { for(int i = 0; i < dset.Tables[0].Rows.Count; i++) { //some code } } [/CODE] is there a shorter way to do this without the if statement?

Member Avatar for Rogachev
0
130
Member Avatar for johnnyturbo3

Hi, I have an application with a main form, and a TabControl in the centre. When a user creates a new tab I want to have controls (Textboxes and labels etc) loaded onto the tab. I was thinking of creating my own class that have these controls already defined in …

Member Avatar for johnnyturbo3
0
408
Member Avatar for vincezed

Hi I'm creating a application where there are different users like admin and others. I want to log in as admin and hav all the previlages to it and when login as others it should have only minimum previlage. I'm doing it C#.net. can any one give me the code …

Member Avatar for daniel955
0
80
Member Avatar for sjn21682

hello everyone!!! i have a problem in keeping the value of my combobox, i have a form with a combobox, what i want is when i select from my combobox, it will retain or keep its text value even if i close the program, the combobox will only change the …

Member Avatar for Rogachev
0
77
Member Avatar for Prashant20

I have created an Exams form which has all its control(1 txtbox, 2 combobox) binded to exams table (SQL Database). The form has a Datagridview which shows two column, Subject and OutofMarks(dats total mark assigned to a subject e.g. Subject [B]English[/B] is of [B]100 [/B]mark. The subject column of datagrid …

Member Avatar for dhananjaygupta
0
109
Member Avatar for buster2209

I can't items to my combobox I am under the impression the code is; [CODE]comboBox1.Items.Add("NAME");[/CODE] but this doesn't work. The program compiles correctly but nothing is displayed in the box. What am I doing wrong?

Member Avatar for buster2209
0
1K
Member Avatar for GAME

When I try to use this code on my ListBox, only the select index 0 executes. [code] #region SelectedIndex0 if (listBox2.SelectedIndex == 0) { SelectedIndex0(); } else { return; } #endregion #region SelectedIndex1 if (listBox2.SelectedIndex == 1) { SelectedIndex1(); } else { return; } #endregion[/code]

Member Avatar for Rogachev
0
94
Member Avatar for pamikrom
Member Avatar for jackabascal

Say I have a tab control with tabs Tab1 And Tab2. How do I switch the selected tab programmatically, say on button1 click event. Sample code would be appreciated. Thanks in advance.

Member Avatar for Ketsuekiame
0
888
Member Avatar for Bijaya123

I have a login form(Form1). Which has two text box(textBox1,textBox). when i clicked the Login Button another new form(Form2) is opened.This new form is a MDIPARENT form. I want to set the text of a lable of a new child form of this parent form which is same as the …

Member Avatar for Geekitygeek
0
262
Member Avatar for penguin22

Can anyone tell me where my error is I can't seem to find it.. Thanks, Penguin Code Snippet [code=c#]"UPDATE AddressEntry SET Cell = '" + txtCell.Text + "', Home = '" + txtHome.Text + "', Work = '" + txtWork.Text + "', Name = '" + txtName.Text + "', Address …

Member Avatar for penguin22
0
147
Member Avatar for neetika reddy

i have written this in else condition ..can anyone please check this... [CODE] else if (DDlDepartment.SelectedValue != null && DDLStaffid.SelectedValue != null) { con.Open(); string str1 = DDlDepartment.SelectedValue; string str2 = DDLStaffid.SelectedValue; SqlDataAdapter ad1 = new SqlDataAdapter("Select * from ManstaSalary where Department='" + str1 + "'and StaffID= '" + str2 …

Member Avatar for Geekitygeek
0
396
Member Avatar for virusisfound

hi, i have create a program in C# windows application with backend SQl Server 2005. I have a done coding for save, delete,update. save and delete is working properly. But update in that i have an error message taht datetime is not in proper format.what should i do to convert …

Member Avatar for nick.crane
0
136
Member Avatar for jellybeannn

I've got a DropDown which I populate from a database. When an item is selected I want to redirect to another page with the selected id, but the problem is it passes "1" no matter what was selected. [code] protected void Page_Load(object sender, EventArgs e) { Populate(); } public void …

Member Avatar for jellybeannn
0
109
Member Avatar for kalpa23

i have this web service and a web form. what happens in the application is my web service returns a dataset and im binding that data set in to a data grid every thing is working when im using it with a win form but with the web form its …

Member Avatar for Rogachev
0
157
Member Avatar for Tellie

Hi All I have created a dataset and from this I want to retrieve values of a column into a variable. How can I do this? This is the code: [size=2][/size][size=2][color=#0000ff]Dim[/color][/size][size=2] sQuery [/size][size=2][color=#0000ff]As[/color][/size][size=2] [/size][size=2][color=#0000ff]String[/color][/size][size=2] = "Select PERMISSION_BUTTON_ID from ALC_SECURITY_PERMISSION where ROLE_ID = 1" Response.Write(sQuery) [/size][size=2][color=#0000ff]Dim[/color][/size][size=2] myAdapter [/size][size=2][color=#0000ff]As[/color][/size][size=2] OleDbDataAdapter = [/size][size=2][color=#0000ff]New[/color][/size][size=2] …

Member Avatar for kvprajapati
0
3K
Member Avatar for khush9

Hey, anyone can plz help me out!!!!! i hav a tabpage on a form n on its click event i want to call the tabpage of another form (like frmcut.tabcontrl.tabpage1). But i dont know how to do it???? so plzzz help me...

Member Avatar for GeekByChoiCe
0
63
Member Avatar for pinkladyxo

ed and then use the ISBN number to locate the book name, publisher, and author. The code I have so far sets up the parallel arrays. The user needs to enter the 10 digit ISBN number corresponding to the certain book. So if the ISBN number "0-7821-4404-7" is entered and …

Member Avatar for Rogachev
0
127
Member Avatar for little marine

I am trying to find a code to clear all text boxes in a form. I am using VB8 Here is the code I found but I get an error telling me I need a comma between two arguments [COde]Private Sub btnclearall_Click Dim ctl As New Control For Each ctl …

Member Avatar for kvprajapati
0
750
Member Avatar for nokomoli

Hi Guys, i'm newbie in .net area. now i confuse one things is : i have a variabel is use at all pages in my web site. so how i set this variable in one page, so that every time when i need this variable, i can use this and …

Member Avatar for nokomoli
0
124
Member Avatar for bajanpoet

I'm trying to use VB.NET to insert the data in the current row of my datagrid into a table. I wrote the following code: [CODE] Dim vCustomer, vBulkQty, vItem, vBaseUnit, vEachQty, vEachUnit As String vCustomer = dgCustomers.CurrentRow.Cells(0).Value vItem = dgItems.CurrentRow.Cells(0).Value vBulkQty = dgItems.CurrentRow.Cells(3).Value vBaseUnit = dgItems.CurrentRow.Cells(4).Value vEachQty = dgItems.CurrentRow.Cells(5).Value vEachUnit …

Member Avatar for bajanpoet
1
221
Member Avatar for kv79

Hi all I wanna use MySQL with VB.net I used before MySQL with PHP. I am not sure how to use it with VB.net Some instruction will be helpful. Thanks advance.

Member Avatar for Ramy Mahrous
0
135
Member Avatar for leolim

i am newbie to this could anyone show me how to retrieve the data from sql server and export the data to txt file? in vb.net windows application?? i want the same row and column of data retrieve from sql server to be insert and stored in the text file …

Member Avatar for leolim
0
144
Member Avatar for the_swan

Hiiiiiiiiiiiiii I’m beginner in vb.net And I’m going to build a page that contains a file up loaded (web server control) How to insert a submitted item from file up loaded and save it in a data table object??? I need the VB code thanks

Member Avatar for the_swan
0
149