Click here to Skip to main content
15,175,960 members

Comments by Rifath apps (Top 29 by date)

Rifath apps 25-Aug-16 17:19pm View
   
Not success.. i have tried this one also like "frm.TopLevel=false".. and i tried from some developers, but not success, thanks for your feedback...
Rifath apps 25-Aug-16 12:58pm View
   
i have used metro framework. so i have change form as a metroForm.
Rifath apps 21-May-16 12:57pm View
   
ya i got the answer... thank you.. sir.. and also can u give ur way of answer..Error 'XYZ_System.Lecturer.lectureId' is inaccessible due to its protection level
Rifath apps 19-May-16 16:21pm View
   
the Error showing like this : Error 'XYZ_System.Lecturer.lectureId' is inaccessible due to its protection level
Rifath apps 19-May-16 15:59pm View
   
may i need to insert all arguments from base class?
Rifath apps 19-May-16 15:58pm View
   
yes..if i insert more argument itz showing errors
Rifath apps 19-May-16 12:32pm View
   
ya correct.. currently m doing, i have create one list and stored into bin file.. so if i register one user with password itz successfully stored all data and showing in DGV. but the problem is the "the dVG shows password also", i need to stored all data and the same time i need to hide password from datagridview also.. is it possible?
Rifath apps 14-May-16 12:35pm View
   
final answer

private void btnDelete_Click(object sender, EventArgs e)
{

bool flag = false;
int x = 0;
Log lecObj = new Log();
lecObj.Username = txtname.Text;

for (; x < list.Count; x++)
{
lecObj = list[x];
if (lecObj.Username == txtname.Text);
{
flag = true;
break;
}
}
list.RemoveAt(dtvregister.SelectedRows[x].Index);
Stream stream = File.Open("Login.bin", FileMode.Create);
BinaryFormatter bformatter = new BinaryFormatter();
bformatter.Serialize(stream, list);
stream.Close();

btnGetDetails_Click(sender,e);
}
Rifath apps 14-May-16 12:32pm View
   
yes,,,Finally i correct it successfully,, thank you..again..
Rifath apps 13-May-16 10:02am View
   
IS it possible ?>
Rifath apps 13-May-16 10:02am View
   
yes. your correct.. may i want to delete from loadData also.. so the loadData already stored user details.. so delete from list and also loadData
Rifath apps 13-May-16 9:44am View
   
solution ?
Rifath apps 13-May-16 9:18am View
   
No.. not working list.Remove(lg);
Rifath apps 13-May-16 9:10am View
   
i have given the errors above
Rifath apps 13-May-16 9:10am View
   
Error 2 Argument 1: cannot convert from 'XYZ_System.Log' to 'System.Predicate'

Error 1 The best overloaded method match for 'System.Collections.Generic.List.RemoveAll(System.Predicate)' has some invalid arguments
Rifath apps 13-May-16 9:10am View
   
i have given the errors above

Error 1 The best overloaded method match for 'System.Collections.Generic.List<xyz_system.log>.RemoveAll(System.Predicate<xyz_system.log>)' has some invalid arguments
Rifath apps 13-May-16 8:54am View
   
No errors found. but is not deleting from list.. why?
Rifath apps 13-May-16 8:48am View
   
i have insert some modify.. and this error message came ( Rows cannot be programmatically removed unless the DataGridView is data-bound to an IBindingList that supports change notification and allows deletion.)

for (int i = dtvregister.SelectedCells.Count - 1; i >= 0; i--)
{
dtvregister.Rows.RemoveAt(dtvregister.SelectedCells[i].RowIndex);
}
Rifath apps 13-May-16 8:11am View
   
The dataGridView showing details...old details.. no any changes in datagridview
Rifath apps 13-May-16 8:10am View
   
Yes i tried your code itz working fine.. the problem is not deleting from Datagridview.. why?
Rifath apps 13-May-16 8:07am View
   
Error 1 The type or namespace name 'log' could not be found (are you missing a using directive or an assembly reference?)
Rifath apps 13-May-16 6:23am View
   
you gave me some code. where is the removing option ?
Rifath apps 13-May-16 6:22am View
   
yes i try to learn about it... thank you..
Rifath apps 13-May-16 4:09am View
   
please refer edited one.. thank you
Rifath apps 13-May-16 4:09am View
   
please refer edited details..thank you
Rifath apps 13-May-16 4:07am View
   
please refer the edited code.thank you
Rifath apps 12-May-16 10:32am View
   
thank you
Rifath apps 12-May-16 9:37am View
   
the probelm n this line... list.RemoveAll(lg);
Rifath apps 12-May-16 9:37am View
   
can u give me full code. itz big help to me. because still on error..thank u