February 2006 - Posts
18 Febr 2006, Pasundan University, Bandung :
Two paper with .NET technology. One using XML web service,and another using XML. The worst thing is that both the presenter never know about .NET technology, they just presented their students' thesis !
Many Phd and Master never care about coding and new tech...
They think that “theory is everything“, coding is just for kid and greeting .NET just wasting their “precious time“.
How can they be good teacher when they never want to be good learner ?
.NET evangelist ( Z and Mr. RA ), all of you must doing roadshow to campus, not just for students, but mainly to the lecturers !!!!
How to receive variable or form filling from previous page without querystring :
In first page, use server.transfer, ex :
Server.Transfer("secondpage.aspx")
In second page, use previousPage, ex :
Label1.Text = CType(PreviousPage.FindControl("TextBox1"), _
TextBox).Text
Fill all textbox in page with empty string, you can also do the same tricks with other web server controls :
Dim xForm As Control = _
Page.FindControl("form1")
For Each ctl As Control _
In xForm.Controls
If ctl.GetType().ToString(). _
Equals("System.Web.UI." & _
"WebControls.TextBox") Then
CType(ctl, TextBox).Text = ""
End If
Next ctl
Just a little bit problem in my blogs engine, how do you edit user name in membership ? Since that user name property is read only, thus I must explore all table from membership generate process.
Ok, there's only one table for user name, aspnet_users.
So, I must edit two fields there, username and loweredusername, create an update statement and voila, it's all done......
It's not Office 12, but it's Office 2007....
Can't wait to see it, especially for it Open XML format......
Found great article performing ten hacker tricks to exploit SQL Server systems
Kind of shocking, however, it must be great lesson for all of developer who involved with SQL Server. And it shows us how easy for bad guy to break it all. So, it all depends on us, do u wanna be bad guy or good guy....?
How to determine amount of record, thus formview will change its mode into insert mode if there is no record, and change it back to update mode if there is some records detected :
Put it in sub ItemCreated :
If FormView1.DataItemCount = 0 Then
FormView1.ChangeMode(FormViewMode.Insert)
Else
FormView1.ChangeMode(FormViewMode.Edit)
End If
How to determine which item in MenuItem was selected, especially for MenuItem with unbound item :
Put it in sub MenuItemClick
Select Case e.Item.Value
Case "Change User Name"
'insert codes
Case "Change User Name"
'insert codes
End Select
Get free personal edition of Intra Web Studio, it use .NET Framework 1.1 and Firebird as its backend...
Worth to download...;-D
Small and nice site....
Must see categorized for you who always respect freedom.....
.NET career is considered to be one of highest demand in 2006....
Check it out at CNN
Now, in process of configuring AxCMS
Never know it until Scott tells it in his blogs.....
How to make VS 2005 editor in full screen mode :
Shift + Alt + Enter
How to display a whole text file in VB 2005 :
My.Computer.FileSystem.ReadAllText(“apasaja.txt“)
How to uncomment a segment of code :
block the segment, press Ctrl+K and without releasing Ctrl key press U
More Posts
Next page »