Jump to content
Xtreme .Net Talk

wessamzeidan

Avatar/Signature
  • Posts

    382
  • Joined

  • Last visited

Everything posted by wessamzeidan

  1. Q1: Credentials mean username and password Q2: If you don't sign out the cookie will not be removed, so when the users visits the website again he doesn't need to type in his username and password. Q3: I'm not sure, but I think so, since it expires... Q4: IsPostBack property is false when you load a page for the first time. Now if you click on a button or anything the cause the page to postback to the server, IsPostBack is true. This is usually used to know that the action is a postback. Q5: Cookies are stored in the temporary internet files folder. You can change it, its some where in the internet options
  2. What you want to do is create a namespace Namespace AppData Public Class GetData '''your code'''' End Class End Namespace
  3. you have to rebind the datagrid
  4. Can you post your update query? Also, you don't need to use a date/time field, save it as normal text...just a suggestion
  5. sorry, Me is used in VB.NET, its 'this' in C#
  6. what you can do this create shared methods in your AppData Class that returns instances of other classes, for example dim x as GetData=AppData.NewGetData and in your NewGetData method you have something like return new GetData
  7. Me.RadioButtonList1.DataSource = dataset1.Tables(0) Me.RadioButtonList1.DataTextField = "mytextfield" Me.RadioButtonList1.DataValueField = "myValueField" Me.RadioButtonList1.DataBind()
  8. Dim c As New ComboBox Me.Controls.Add©
  9. import the system.web.ui.webcontrols in your class
  10. That is because, formats like jpeg don't have alpha chanels. So if you want to export it to formats other than png, draw a background for the image first....
  11. http://www.codeproject.com/Purgatory/UploadFiles.asp I hope this would help
  12. I don't know how, but I think you need to do some API calls
  13. You mean you want to use your custom control in another application.If so, just copy the dll file to the applications bin directory, add a reference to it in your application, and the add the control to the toolbox...
  14. where does 'A sample text1..3 ' come from??
  15. Request.ApplicationPath I gues this is what you want
  16. I'm not sure if I understood your question, but you can use a datalist...
  17. you mean, this is the collation type that I need
  18. check to see that you've closed all open files, you functions open files, so check them out
  19. Can you do that? Its an ImageButton and the property should be an image url, just like the ImageURL Property. Any way I've solved it, I found it here http://www.codeproject.com/aspnet/cliche_rollovers.asp thanks alot
  20. As I told you, because FromFile() is a shared method, you can do this too img=Image.FromFile(FileName)
  21. Hi, I want to query a database for a string, but I need to match the string case. For example, if I have DotNet in my table and I use the following select statement select * from table where name='dotnet' the query should return no rows, how do I do that?? thanks
  22. I don't think so since Image.FromFile() is a shared method that returns an instance of Image
  23. ok I think I got it img=img.FromFile(ImageToLoad) try it and let me know
  24. Hi, how can I call a function in a page from a dynamicaly loaded usercontrol...
  25. you can use DropDownList1.DataSource=ds.Tables("tablename")
×
×
  • Create New...