Click here to Skip to main content
15,909,747 members
Home / Discussions / C#
   

C#

 
AnswerRe: more cookie Pin
PSK_22-Mar-10 1:18
PSK_22-Mar-10 1:18 
GeneralRe: more cookie Pin
hotthoughtguy22-Mar-10 1:27
hotthoughtguy22-Mar-10 1:27 
Questioncookies Pin
hotthoughtguy22-Mar-10 0:29
hotthoughtguy22-Mar-10 0:29 
AnswerRe: cookies Pin
PSK_22-Mar-10 0:32
PSK_22-Mar-10 0:32 
GeneralRe: cookies Pin
hotthoughtguy22-Mar-10 0:46
hotthoughtguy22-Mar-10 0:46 
AnswerRe: cookies Pin
padmanabhan N22-Mar-10 0:40
padmanabhan N22-Mar-10 0:40 
QuestionC# windws- Auto increment font size Pin
leoiser21-Mar-10 23:50
leoiser21-Mar-10 23:50 
AnswerRe: C# windws- Auto increment font size Pin
Khaniya22-Mar-10 0:55
professionalKhaniya22-Mar-10 0:55 
GeneralRe: C# windws- Auto increment font size Pin
leoiser22-Mar-10 1:27
leoiser22-Mar-10 1:27 
QuestionC# + COM Advanced Question Pin
Dave Kerr21-Mar-10 23:45
mentorDave Kerr21-Mar-10 23:45 
AnswerRe: C# + COM Advanced Question [modified] Pin
Pete O'Hanlon22-Mar-10 0:10
mvePete O'Hanlon22-Mar-10 0:10 
GeneralRe: C# + COM Advanced Question Pin
Dave Kerr22-Mar-10 1:12
mentorDave Kerr22-Mar-10 1:12 
Questioncontrol should change with respect to values in combo box????? Pin
vidhulibra 21-Mar-10 23:38
vidhulibra 21-Mar-10 23:38 
AnswerRe: control should change with respect to values in combo box????? Pin
padmanabhan N22-Mar-10 0:52
padmanabhan N22-Mar-10 0:52 
QuestionEntity Framework Lock up issue please help, wierd problem !! Pin
Minimech21-Mar-10 22:53
Minimech21-Mar-10 22:53 
QuestionBundle SQLEXPRESS with application Pin
Yosh_21-Mar-10 22:35
professionalYosh_21-Mar-10 22:35 
AnswerRe: Bundle SQLEXPRESS with application Pin
#realJSOP21-Mar-10 23:33
professional#realJSOP21-Mar-10 23:33 
QuestionMicrosoft Payment Gateway Pin
satsumatable21-Mar-10 21:38
satsumatable21-Mar-10 21:38 
AnswerRe: Microsoft Payment Gateway Pin
Nitin S21-Mar-10 22:46
professionalNitin S21-Mar-10 22:46 
QuestionRefering Shared assemblies Pin
dayakar_dn21-Mar-10 21:27
dayakar_dn21-Mar-10 21:27 
AnswerRe: Refering Shared assemblies Pin
R. Giskard Reventlov21-Mar-10 22:25
R. Giskard Reventlov21-Mar-10 22:25 
Questionsearch items in datagridview Pin
zafax_21-Mar-10 20:00
zafax_21-Mar-10 20:00 
hi.
I have search Textbox13 which i enter a codeNumber display it on dataGridView1.
every time a new line should display after i search.
i need to add new row which also searched and so on.
pls help.

private void searchx()
{

string connectionString = ConfigurationManager.ConnectionStrings["smemo.Properties.Settings.smConnectionString"].ConnectionString.ToString();

con = new SqlConnection(connectionString);
string Query = "Select CodeNo,Description,Qty,P_Local,Amount from Price_list where CodeNo= " + textBox13.Text;
SqlCommand cmd = new SqlCommand(Query, con);
SqlDataAdapter da = new SqlDataAdapter();
da.SelectCommand = cmd;
//DataTable dat = new DataTable();
DataSet ds = new DataSet();
da.Fill(ds,"Price_list");
// BindingSource bs = new BindingSource();
//bs.DataSource = ds.Tables["Price_list"];

dataGridView1.DataSource = ds.Tables["Price_list"];





}


thanks
best regards
zafa
so much of happy ending...

AnswerRe: search items in datagridview Pin
PSK_21-Mar-10 20:15
PSK_21-Mar-10 20:15 
GeneralRe: search items in datagridview Pin
zafax_23-Mar-10 6:29
zafax_23-Mar-10 6:29 
AnswerRe: search items in datagridview Pin
Arindam Tewary21-Mar-10 20:49
professionalArindam Tewary21-Mar-10 20:49 

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.