Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by shifar

  1. shifar

    Auto Delete Public Static Declaration

    If you declared the static, object modifications will restrictedselect approoriate modifications that are go along with static..
  2. shifar

    'ClassName' is ambiguous in NameSpace 'MyNameSpace'

    check the outline of namespace i.e. { }
  3. shifar

    Fonts in listboxes message box

    It is looks like that you are trying to display outcome of code in a messgae box and a list box.May be some thing is missing in the code so that the your outcome(output) is null or something. Post the code here so others can see the problem.
  4. shifar

    How Can I Store an Object in SQL Server?

    // create a byte[] for the image file that is uploaded int imagelen = Upload.PostedFile.ContentLength; byte[] picbyte = new byte[imagelen]; Upload.PostedFile.InputStream.Read (picbyte, 0, imagelen); // Insert the image and image id into the database SqlConnection conn = new SqlConnection // ("...
  5. shifar

    Abstract Static Functions

    Hope this will help you: Abstract method declaration provides no actual implementation, there is no method body; the method declaration simply ends with a semicolon and there are no braces ({ }) following the signature. For example: public abstract void MyMethod(); The implementation is...
  6. shifar

    Can I change the colors of the controls in style XP?

    to change a color of control: public class NewClButton : Button { protected override void OnPaint(PaintEventArgs e) { base.OnPaint(e); int borderWidth = 2; //change the width Color borderColor = Color.Blue; ControlPaint.DrawBorder(e.Graphics...
  7. shifar

    Getting data out of a data set

    Since he use only one customer (ID 111) can't he use a datareader to read the single record. I think this is more efficent (unless he is doing any update or delete etc.)
  8. shifar

    beginner problems

    But i get result (6 + 3 = 63),anyone help?? you declared se1 and se as string. so string conc. as 63.
  9. shifar

    How do I make a parent form minimize with its modal child?

    Try this: Form1 form = new Form1(); form.Owner = this; form.Show();
  10. shifar

    easy question ?

    put the code in private void Form1_Load(object sender, System.EventArgs e) { }
  11. shifar

    bound objects and datarow.addnew

    Your are welcome..
  12. shifar

    bound objects and datarow.addnew

    Are you trying to add a new row for the DataTable from a control( say TextBox) and the user should enter the new data to the control before it update the new row.? If this is the case- Clear the the text fileds in the TextBoxs(control) make sure the TextBox is not null before update it...
  13. shifar

    How To Find Out If Mouse Is Being Help Down

    What about Mousedown event?
  14. shifar

    Get Root Directory

    I belive your are refering : C:\Inetpub\wwwroot ( may some other drive) Regards.
  15. shifar

    Problem Deploying Application Using CR Viewer in VB 6

    I had similer problem but I resolved with correcting the data connectivity with CR. I found with ADO connection Admin....

Part and Inventory Search

Back
Top