Click here to Skip to main content
15,889,216 members
Home / Discussions / C#
   

C#

 
GeneralRe: Need C# sample , practical questions using control structures... Pin
MS Lee8-Jan-08 21:56
MS Lee8-Jan-08 21:56 
GeneralRe: Need C# sample , practical questions using control structures... Pin
Vasudevan Deepak Kumar8-Jan-08 22:13
Vasudevan Deepak Kumar8-Jan-08 22:13 
Generalto apply styles for grid control Pin
chithra.r8-Jan-08 17:52
chithra.r8-Jan-08 17:52 
QuestionLoadTypeLib() not working for C# Class Library dll Pin
Member 42194198-Jan-08 17:36
Member 42194198-Jan-08 17:36 
GeneralUsing User-Defined controls Pin
Member 7816108-Jan-08 16:50
Member 7816108-Jan-08 16:50 
GeneralRe: Using User-Defined controls Pin
Christian Graus8-Jan-08 18:35
protectorChristian Graus8-Jan-08 18:35 
GeneralRe: Using User-Defined controls Pin
Member 7816108-Jan-08 18:50
Member 7816108-Jan-08 18:50 
QuestionSQL Database pictures in datagridview Pin
Jacob Dixon8-Jan-08 15:45
Jacob Dixon8-Jan-08 15:45 
Hello I am new to this forum... I have a quick question... well I've created a Address Book, basically as my first program that I want to show my family.. On the first form it is all textboxes, datatimepicker, and a picturebox.

You click the menu to open the DataGrid form I created.. in this I have a DataGridView. I have two problems. The DataGridView is always missing the first row of data. ID is the primary key and auto increments. It is always missing the first one... Also how do I get the table to display the image they chose with the person they added? I have the column as a image column but it will not display. The Picturebox is in the database. Here is how they load the picture:

try
{
DialogResult result = new DialogResult();
OpenFileDialog openfile = new OpenFileDialog();

result = openfile.ShowDialog();

if (result == DialogResult.Cancel)
{
return;
}
else
{
picturePictureBox.Image = Image.FromFile(openfile.FileName);
}
}
catch (Exception ex)
{
toolStripStatusLabel1.Text = ex.Message;
}



One --> how come the datagridview is missing a row all the time?

two --> how do I get the picture to display in the datagridview?



I will be adding something where they can print the information in this format:

FirstName LastNAme
Address
City, State Zip
Home Phone, Cell Phone, Fax




I will get to this later, I am goign to try to figure that one out myself, but with the datagridview and the picture I have been messing with for a while and can just not figure it out.. Thanks
GeneralRe: SQL Database pictures in datagridview Pin
cola19738-Jan-08 20:48
cola19738-Jan-08 20:48 
GeneralRe: SQL Database pictures in datagridview Pin
cola19738-Jan-08 20:50
cola19738-Jan-08 20:50 
GeneralTextBox get focus always Pin
jason_mf8-Jan-08 14:46
jason_mf8-Jan-08 14:46 
GeneralRe: TextBox get focus always Pin
Paul Conrad8-Jan-08 17:29
professionalPaul Conrad8-Jan-08 17:29 
QuestionTrace implementation for static methods. Pin
Ilia Blank8-Jan-08 10:55
Ilia Blank8-Jan-08 10:55 
GeneralWeb Browser Control Pin
A.Asif8-Jan-08 10:41
A.Asif8-Jan-08 10:41 
General[Message Deleted] Pin
Marutar8-Jan-08 10:35
Marutar8-Jan-08 10:35 
GeneralRe: WMI in C#? Pin
ekynox8-Jan-08 18:11
ekynox8-Jan-08 18:11 
GeneralRe: WMI in C#? Pin
Marutar9-Jan-08 3:30
Marutar9-Jan-08 3:30 
GeneralRe: WMI in C#? Pin
ekynox9-Jan-08 9:56
ekynox9-Jan-08 9:56 
GeneralWhy i am getting MessageBox twice Pin
netJP12L8-Jan-08 9:30
netJP12L8-Jan-08 9:30 
GeneralRe: Why i am getting MessageBox twice Pin
Christian Graus8-Jan-08 9:51
protectorChristian Graus8-Jan-08 9:51 
GeneralRe: Why i am getting MessageBox twice Pin
netJP12L8-Jan-08 10:52
netJP12L8-Jan-08 10:52 
GeneralRe: Why i am getting MessageBox twice Pin
Skippums8-Jan-08 11:18
Skippums8-Jan-08 11:18 
GeneralRe: Why i am getting MessageBox twice Pin
netJP12L8-Jan-08 16:19
netJP12L8-Jan-08 16:19 
GeneralRe: Why i am getting MessageBox twice Pin
PIEBALDconsult8-Jan-08 9:52
mvePIEBALDconsult8-Jan-08 9:52 
GeneralRe: Why i am getting MessageBox twice Pin
visualhint11-Jan-08 4:07
visualhint11-Jan-08 4:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.