Click here to Skip to main content
15,890,512 members
Home / Discussions / C#
   

C#

 
AnswerRe: Stretchable and movable line Pin
Christian Graus21-Sep-06 0:54
protectorChristian Graus21-Sep-06 0:54 
GeneralRe: Stretchable and movable line Pin
ssoffline21-Sep-06 1:02
ssoffline21-Sep-06 1:02 
GeneralRe: Stretchable and movable line Pin
Christian Graus21-Sep-06 1:05
protectorChristian Graus21-Sep-06 1:05 
GeneralRe: Stretchable and movable line Pin
ssoffline21-Sep-06 1:11
ssoffline21-Sep-06 1:11 
GeneralRe: Stretchable and movable line Pin
Christian Graus21-Sep-06 1:20
protectorChristian Graus21-Sep-06 1:20 
GeneralRe: Stretchable and movable line Pin
mikone21-Sep-06 1:14
mikone21-Sep-06 1:14 
GeneralRe: Stretchable and movable line Pin
ssoffline21-Sep-06 1:42
ssoffline21-Sep-06 1:42 
Questionfew questions about database /datagrid Pin
faladrim20-Sep-06 23:56
faladrim20-Sep-06 23:56 
hi,

i have a few quesions :
1. How do i highlight a entire row?
this is what i have now:
dataGridView1.Rows[index].Cells[0].Style.BackColor = Color.Red ;
dataGridView1.Rows[index].Cells[1].Style.BackColor = Color.Red;
index is the last row, but i still have to tell what column, is there way to select all culmns?

2. how do i sort on a letter in an entire table (like a search button)
this is what i have now:
private void btn_sort_Click(object sender, EventArgs e)
{
db1DataSet.tabel1.DefaultView.RowFilter = " name LIKE '%" + txt_sort.Text + "%' ";
dataGridView2.DataSource=db1DataSet.tabel1.DefaultView;
}
name is a column, again is there a way to select all the columns?

3. How do i delete more then one row at the time. (select in a datagrid)
this is what i have now:
try
{
db1DataSet.tabel1.Rows[dataGridView1.CurrentRow.Index].Delete();
tabel1TableAdapter.Update(db1DataSet.tabel1);
db1DataSet.AcceptChanges();
this.tabel1TableAdapter.Fill(this.db1DataSet.tabel1);
Application.DoEvents();
}
catch (System.Exception ex)
{
db1DataSet.RejectChanges();
lbl_error.Text= ex.Message;
}
here i just delete the selected item, the one with the arrow nextto in the grid

if there is anyone with some idea's let me know :p
thxx
AnswerRe: few questions about database /datagrid Pin
Christian Graus21-Sep-06 0:14
protectorChristian Graus21-Sep-06 0:14 
AnswerRe: few questions about database /datagrid Pin
freshonlineMax21-Sep-06 0:21
freshonlineMax21-Sep-06 0:21 
GeneralRe: few questions about database /datagrid Pin
faladrim21-Sep-06 0:36
faladrim21-Sep-06 0:36 
QuestionHow to make an invisible exe ??? Pin
Waqas Nasir20-Sep-06 23:54
Waqas Nasir20-Sep-06 23:54 
AnswerRe: How to make an invisible exe ??? Pin
Christian Graus21-Sep-06 0:12
protectorChristian Graus21-Sep-06 0:12 
GeneralRe: How to make an invisible exe ??? Pin
Waqas Nasir21-Sep-06 0:39
Waqas Nasir21-Sep-06 0:39 
GeneralRe: How to make an invisible exe ??? Pin
Corinna John21-Sep-06 0:48
Corinna John21-Sep-06 0:48 
AnswerRe: How to make an invisible exe ??? Pin
J4amieC21-Sep-06 0:19
J4amieC21-Sep-06 0:19 
AnswerRe: How to make an invisible exe ??? Pin
Niiiissssshhhhhuuuuu21-Sep-06 0:35
Niiiissssshhhhhuuuuu21-Sep-06 0:35 
AnswerRe: How to make an invisible exe ??? Pin
Corinna John21-Sep-06 0:37
Corinna John21-Sep-06 0:37 
GeneralRe: How to make an invisible exe ??? Pin
Waqas Nasir21-Sep-06 0:47
Waqas Nasir21-Sep-06 0:47 
GeneralRe: How to make an invisible exe ??? Pin
Corinna John21-Sep-06 0:50
Corinna John21-Sep-06 0:50 
GeneralRe: How to make an invisible exe ??? Pin
Waqas Nasir21-Sep-06 0:59
Waqas Nasir21-Sep-06 0:59 
AnswerRe: How to make an invisible exe ??? Pin
Guffa21-Sep-06 1:02
Guffa21-Sep-06 1:02 
GeneralRe: How to make an invisible exe ??? Pin
Corinna John21-Sep-06 1:10
Corinna John21-Sep-06 1:10 
GeneralRe: How to make an invisible exe ??? Pin
Waqas Nasir21-Sep-06 1:14
Waqas Nasir21-Sep-06 1:14 
GeneralRe: How to make an invisible exe ??? Pin
Corinna John21-Sep-06 1:59
Corinna John21-Sep-06 1:59 

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.