Click here to Skip to main content
15,902,634 members
Home / Discussions / C#
   

C#

 
Questionhow to change text of a textbox in password mode Pin
vinodkrebc8-Mar-09 18:09
vinodkrebc8-Mar-09 18:09 
AnswerRe: how to change text of a textbox in password mode Pin
Christian Graus8-Mar-09 20:02
protectorChristian Graus8-Mar-09 20:02 
AnswerRe: how to change text of a textbox in password mode Pin
jaypatel5128-Mar-09 20:45
jaypatel5128-Mar-09 20:45 
GeneralRe: how to change text of a textbox in password mode Pin
vinodkrebc9-Mar-09 1:58
vinodkrebc9-Mar-09 1:58 
QuestionEditing a datagridview component - windows forms Pin
divinyl8-Mar-09 10:57
divinyl8-Mar-09 10:57 
AnswerRe: Editing a datagridview component - windows forms Pin
Mycroft Holmes8-Mar-09 12:15
professionalMycroft Holmes8-Mar-09 12:15 
AnswerRe: Editing a datagridview component - windows forms Pin
Xmen Real 8-Mar-09 15:28
professional Xmen Real 8-Mar-09 15:28 
AnswerRe: Editing a datagridview component - windows forms Pin
jaypatel5128-Mar-09 20:49
jaypatel5128-Mar-09 20:49 
Dude. ..
Its better not to use a SqlDataReader object. as it locks the connection, and it requires you to keep it open.

You can use SqlDataAdapter and fill the table in datatable. And bind datagridview datasource to that table.


e.g:


SqlConnection cn = new SqlConnection("Bla Bla");
SqlDataAdapter adp = new SqlDataAdapter("Select * from Products",cn);
DataTable dt = new DataTable();
adp.Fill(dt);

datagridview1.DataSource = dt;

The changes you make on gridview cell will automatically be reflected on to the table..
So no worry on that .. .
QuestionReading video feed from Philips SAA7130 chip/MPEG4 using C# Pin
Stephan Johnson8-Mar-09 7:54
Stephan Johnson8-Mar-09 7:54 
QuestionShell Extension for context menu Pin
Monin D.8-Mar-09 7:34
Monin D.8-Mar-09 7:34 
QuestionReading Numeric column in excel as text . Pin
unitecsoft8-Mar-09 7:18
unitecsoft8-Mar-09 7:18 
AnswerRe: Reading Numeric column in excel as text ( Modified) . Pin
unitecsoft8-Mar-09 8:09
unitecsoft8-Mar-09 8:09 
GeneralRe: Reading Numeric column in excel as text ( Modified) . Pin
Ashfield8-Mar-09 8:48
Ashfield8-Mar-09 8:48 
QuestionStatic event preventing instance subscriber from disposing. Pin
DaveyM698-Mar-09 6:24
professionalDaveyM698-Mar-09 6:24 
AnswerRe: Static event preventing instance subscriber from disposing. Pin
harold aptroot8-Mar-09 7:12
harold aptroot8-Mar-09 7:12 
GeneralRe: Static event preventing instance subscriber from disposing. Pin
DaveyM698-Mar-09 7:59
professionalDaveyM698-Mar-09 7:59 
GeneralRe: Static event preventing instance subscriber from disposing. Pin
harold aptroot8-Mar-09 8:05
harold aptroot8-Mar-09 8:05 
GeneralRe: Static event preventing instance subscriber from disposing. Pin
DaveyM698-Mar-09 8:56
professionalDaveyM698-Mar-09 8:56 
GeneralRe: Static event preventing instance subscriber from disposing. Pin
harold aptroot8-Mar-09 9:15
harold aptroot8-Mar-09 9:15 
AnswerRe: Static event preventing instance subscriber from disposing. Pin
N a v a n e e t h8-Mar-09 16:35
N a v a n e e t h8-Mar-09 16:35 
QuestionFiltering in BindingSource of a generic List Pin
jaypatel5128-Mar-09 5:42
jaypatel5128-Mar-09 5:42 
AnswerRe: Filtering in BindingSource of a generic List Pin
Mycroft Holmes8-Mar-09 12:35
professionalMycroft Holmes8-Mar-09 12:35 
GeneralRe: Filtering in BindingSource of a generic List Pin
jaypatel5128-Mar-09 20:34
jaypatel5128-Mar-09 20:34 
QuestionAutomatic mailing list filter by parameters from database [an architecture problem] Pin
aviadqwerty8-Mar-09 5:33
aviadqwerty8-Mar-09 5:33 
Questionrunning tastk/application on shutdown [modified] Pin
fabgar8-Mar-09 3:39
fabgar8-Mar-09 3:39 

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.