Click here to Skip to main content
15,888,527 members
Home / Discussions / C#
   

C#

 
AnswerRe: Adding a Hover event to this Custom Textbox Control? Pin
BobJanova6-Jun-12 3:07
BobJanova6-Jun-12 3:07 
QuestionUsing Open-Type font in C# Pin
Alan Balkany4-Jun-12 8:36
Alan Balkany4-Jun-12 8:36 
QuestionOOPS Case Study Pin
Kris Erukulla4-Jun-12 5:37
Kris Erukulla4-Jun-12 5:37 
AnswerRe: OOPS Case Study Pin
Luc Pattyn4-Jun-12 5:52
sitebuilderLuc Pattyn4-Jun-12 5:52 
GeneralRe: OOPS Case Study Pin
bsank5-Jun-12 23:41
bsank5-Jun-12 23:41 
GeneralRe: OOPS Case Study Pin
Dave Kreskowiak6-Jun-12 1:51
mveDave Kreskowiak6-Jun-12 1:51 
AnswerRe: OOPS Case Study PinPopular
PIEBALDconsult4-Jun-12 6:06
mvePIEBALDconsult4-Jun-12 6:06 
AnswerRe: OOPS Case Study Pin
Paul Conrad4-Jun-12 6:35
professionalPaul Conrad4-Jun-12 6:35 
AnswerRe: OOPS Case Study PinPopular
Abhinav S4-Jun-12 7:45
Abhinav S4-Jun-12 7:45 
AnswerRe: OOPS Case Study Pin
thatraja4-Jun-12 17:21
professionalthatraja4-Jun-12 17:21 
GeneralRe: OOPS Case Study Pin
Richard MacCutchan4-Jun-12 22:28
mveRichard MacCutchan4-Jun-12 22:28 
GeneralRe: OOPS Case Study Pin
egenis5-Jun-12 21:09
egenis5-Jun-12 21:09 
AnswerRe: OOPS Case Study Pin
Richard MacCutchan4-Jun-12 22:31
mveRichard MacCutchan4-Jun-12 22:31 
QuestionSystem.Net.Sockets IPEndPoint Problem Pin
Midnight Ahri4-Jun-12 0:06
Midnight Ahri4-Jun-12 0:06 
AnswerRe: System.Net.Sockets IPEndPoint Problem Pin
Richard MacCutchan4-Jun-12 1:05
mveRichard MacCutchan4-Jun-12 1:05 
AnswerRe: System.Net.Sockets IPEndPoint Problem Pin
Luc Pattyn4-Jun-12 4:14
sitebuilderLuc Pattyn4-Jun-12 4:14 
QuestionSaving data to SQL from dynamically made comboboxes... Pin
Vidor3-Jun-12 22:27
professionalVidor3-Jun-12 22:27 
AnswerRe: Saving data to SQL from dynamically made comboboxes... Pin
AmitGajjar4-Jun-12 2:06
professionalAmitGajjar4-Jun-12 2:06 
GeneralRe: Saving data to SQL from dynamically made comboboxes... Pin
Vidor4-Jun-12 5:00
professionalVidor4-Jun-12 5:00 
GeneralRe: Saving data to SQL from dynamically made comboboxes... Pin
AmitGajjar4-Jun-12 17:55
professionalAmitGajjar4-Jun-12 17:55 
SuggestionRe: Saving data to SQL from dynamically made comboboxes... Pin
Paul Conrad4-Jun-12 17:07
professionalPaul Conrad4-Jun-12 17:07 
Questiondatabinding in the constuctor not working properly Pin
matleeds3-Jun-12 22:02
matleeds3-Jun-12 22:02 
AnswerRe: databinding in the constuctor not working properly Pin
matleeds3-Jun-12 22:57
matleeds3-Jun-12 22:57 
GeneralRe: databinding in the constuctor not working properly Pin
Luc Pattyn4-Jun-12 4:18
sitebuilderLuc Pattyn4-Jun-12 4:18 
AnswerRe: databinding in the constuctor not working properly Pin
mallikharjuna2214-Jun-12 21:20
mallikharjuna2214-Jun-12 21:20 
Hi,

Please see the Example below,the same way i opened modal dialog,which is showing Data also.

public partial class Form2 : Form
{
public Form2()
{
InitializeComponent();
DataSet ds = new DataSet("myds");
DataTable dt = new DataTable("mydt");
dt.Columns.Add("mycol");
dt.Rows.Add("a");

ds.Tables.Add(dt);
dataGridView1.DataSource = ds.Tables[0];

}
}

//Opening the Modal dialog.

Form2 f = new Form2();
f.ShowDialog();

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.