Tuesday, December 21, 2010

DropDownList Filling

DropDownList Filling



< asp:DropDownList ID="EmployeeDropDownList" runat="server" Height="16px" Width="155px"

OnSelectedIndexChanged="EmployeeDropDownList_SelectedIndexChanged" AutoPostBack="true"
AppendDataBoundItems="true">

< asp : ListItem Value= " - 1 " > Please Select < / asp : ListItem >
< / asp : DropDownList>




protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
BindCustomerInfo();
}
}

private void BindCustomerInfo()
{
sqlConnection = new SqlConnection(@"Data Source=DEV2\SQLEXPRESS;Integrated Security=True; Initial Catalog=Linq ");
sqlCommand.CommandText = "Select * from Employee";
sqlCommand.Connection = sqlConnection;

sqlConnection.Open();
EmployeeDropDownList.DataSource = sqlCommand.ExecuteReader();
EmployeeDropDownList.DataTextField = "CompanyName";
EmployeeDropDownList.DataValueField = "CustomerID";
EmployeeDropDownList.DataBind();
}

DropDownListANDListBoxFilling Using LINQandSQL

protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
ShowProduct();
}
}


private void ShowProduct()
{
DataClassesDataContext db = new DataClassesDataContext();
FillListBox(db);
}


private void FillListBox(DataClassesDataContext db)
{

var myBindData = from c in db.Linqs select new { CustomerId=c.CustomerID, Country=c.Country};

//Bind the ListBox
ListBox1.DataSource = myBindData;
ListBox1.DataTextField = "Country";
ListBox1.DataValueField = "CustomerID";
ListBox1.DataBind();

//Bind the DropDownList
DropDownList1.DataSource = myBindData;
DropDownList1.DataTextField = "Country";
DropDownList1.DataValueField = "CustomerID";
DropDownList1.DataBind();
}

Sunday, December 19, 2010

Drop Down List

The process of attaching the “dropdownlist” control to a source of data is nothing but “data binding.” This process of “binding” can occur in several ways including databases, arrays, and so on.




Binding to a Simple Array
Binding to an ArrayList
Binding to a hashtable
Binding to a data table
Binding to a data set
Binding to a data view
Binding to a set of objects
Binding manually

Saturday, December 18, 2010

postback

Definition of "postback?"  ?


Basically all the information of a webpage is sent back to the server for reprocessing.

Source(s):
http://en.wikipedia.org/wiki/Postback



When you buy a plane ticket on the internet, you fill in your name, credit card number, etc and choose a flight.

When you click 'Submit' button, the information you typed and choices you made are "posted back" to the mothership - i.e. the web server - so that they can reserve your seat and take your money - hence the term "postback".

How To Ask Questions The Smart Way

Use meaningful, specific subject headers

On mailing lists, newsgroups or Web forums, the subject header is your golden opportunity to attract qualified experts' attention in around 50 characters or fewer. Don't waste it on babble like “Please help me” (let alone “PLEASE HELP ME!!!!”; messages with subjects like that get discarded by reflex). Don't try to impress us with the depth of your anguish; use the space for a super-concise problem description instead.

One good convention for subject headers, used by many tech support organizations, is “object - deviation”. The “object” part specifies what thing or group of things is having a problem, and the “deviation” part describes the deviation from expected behavior.

Stupid:
HELP! Video doesn't work properly on my laptop!

Smart:
X.org 6.8.1 misshapen mouse cursor, Fooware MV1005 vid. chipset

Smarter:
X.org 6.8.1 mouse cursor on Fooware MV1005 vid. chipset - is misshapen

Write in clear, grammatical, correctly-spelled language
If you are writing in English but it is a second language for you, it is good form to alert potential respondants to potential language difficulties and options for getting around them. Examples:

English is not my native language; please excuse typing errors.

If you speak $LANGUAGE, please email/PM me; I may need assistance translating my question.

I am familiar with the technical terms, but some slang expressions and idioms are difficult for me.

I've posted my question in $LANGUAGE and English. I'll be glad to translate responses, if you only use one or the other.

Describe the goal, not the step

Stupid:
How do I get the color-picker on the FooDraw program to take a hexadecimal RGB value?

Smart: 
I'm trying to replace the color table on an image with values of my choosing. Right now the only way I can see to do this is by editing each table slot, but I can't get FooDraw's color picker to take a hexadecimal RGB value.

Questions Not To Ask

Q:
Where can I find program or resource X?

A:
The same place I'd find it, fool — at the other end of a web search. Ghod, doesn't everybody know how to use Google yet?

Q:
How can I use X to do Y?

A:
If what you want is to do Y, you should ask that question without pre-supposing the use of a method that may not be appropriate. Questions of this form often indicate a person who is not merely ignorant about X, but confused about what problem Y they are solving and too fixated on the details of their particular situation. It is generally best to ignore such people until they define their problem better.

Q:
How can I configure my shell prompt?

A:
If you're smart enough to ask this question, you're smart enough to RTFM and find out yourself.

Q:
Can I convert an AcmeCorp document into a TeX file using the Bass-o-matic file converter?

A:
Try it and see. If you did that, you'd (a) learn the answer, and (b) stop wasting my time.

Q:
My {program, configuration, SQL statement} doesn't work

A:
This is not a question, and I'm not interested in playing Twenty Questions to pry your actual question out of you — I have better things to do. On seeing something like this, my reaction is normally of one of the following:

do you have anything else to add to that?

oh, that's too bad, I hope you get it fixed.

and this has exactly what to do with me?

Q:
I'm having problems with my Windows machine. Can you help?

A:
Yes. Throw out that Microsoft trash and install an open-source operating system like Linux or BSD.

Note: you can ask questions related to Windows machines if they are about a program that does have an official Windows build, or interacts with Windows machines (i.e., Samba). Just don't be surprised by the reply that the problem is with Windows and not the program, because Windows is so broken in general that this is very often the case.

Q:
My program doesn't work. I think system facility X is broken.

A:
While it is possible that you are the first person to notice an obvious deficiency in system calls and libraries heavily used by hundreds or thousands of people, it is rather more likely that you are utterly clueless. Extraordinary claims require extraordinary evidence; when you make a claim like this one, you must back it up with clear and exhaustive documentation of the failure case.

Q:
I'm having problems installing Linux or X. Can you help?

A:
No. I'd need hands-on access to your machine to troubleshoot this. Go ask your local Linux user group for hands-on help. (You can find a list of user groups here.)

Note: questions about installing Linux may be appropriate if you're on a forum or mailing list about a particular distribution, and the problem is with that distro; or on local user groups forums. In this case, be sure to describe the exact details of the failure. But do careful searching first, with "linux" and all suspicious pieces of hardware.

Q:
How can I crack root/steal channel-ops privileges/read someone's e-mail?

A:
You're a lowlife for wanting to do such things and a moron for asking a hacker to help you.

Good and Bad Questions

Finally, I'm going to illustrate how to ask questions in a smart way by example; pairs of questions about the same problem, one asked in a stupid way and one in a smart way.
Stupid: Where can I find out stuff about the Foonly Flurbamatic?

This question just begs for "STFW" as a reply.
Smart: I used Google to try to find “Foonly Flurbamatic 2600” on the Web, but I got no useful hits. Can I get a pointer to programming information on this device?

This one has already STFWed, and sounds like he might have a real problem.
Stupid: I can't get the code from project foo to compile. Why is it broken?

The querent assumes that somebody else screwed up. Arrogant git...
Smart: The code from project foo doesn't compile under Nulix version 6.2. I've read the FAQ, but it doesn't have anything in it about Nulix-related problems. Here's a transcript of my compilation attempt; is it something I did?

The querent has specified the environment, read the FAQ, is showing the error, and is not assuming his problems are someone else's fault. This one might be worth some attention.
Stupid: I'm having problems with my motherboard. Can anybody help?

J. Random Hacker's response to this is likely to be “Right. Do you need burping and diapering, too?” followed by a punch of the delete key.
Smart: I tried X, Y, and Z on the S2464 motherboard. When that didn't work, I tried A, B, and C. Note the curious symptom when I tried C. Obviously the florbish is grommicking, but the results aren't what one might expect. What are the usual causes of grommicking on Athlon MP motherboards? Anybody got ideas for more tests I can run to pin down the problem?

This person, on the other hand, seems worthy of an answer. He/she has exhibited problem-solving intelligence rather than passively waiting for an answer to drop from on high.

In the last question, notice the subtle but important difference between demanding “Give me an answer” and “Please help me figure out what additional diagnostics I can run to achieve enlightenment.”

.NET Training library

.NET Training library Details

· .NET 3.5
· Agile Team Practices
· ASP.NET 3.5
· ASP.NET AJAX
· ASP.NET MVC
· BizTalk 2006
· BizTalk Server 2006 R2
· BizTalk Server 2009
· iPhone ASP.NET
· LINQ
· Managed Services Engine
· Silverlight 3
· SharePoint Services
· SQL Server 2008
· VSTS
· WCF
· Windows Server AppFabric, formerly "Dublin"
· Windows Workflow
· WPF

Wednesday, December 8, 2010

My Rifle






My Rifle 

Picture1



Picture




SouRov

poem 1

poem section 


1. shopno gulo sotti hoye jeno mone te uki dai...
shishir vega ai monta amer lukochuri khale ai nilimai....
vabe mon okaron sharakhon.........kobe tumi hobe je apon....
dui hate mukhti dhore amar........
bolbe ami je aj theke priya shudhui tomer....


Ajax Control Tool Kit

Ajax Control Tool Kit

Note:

Toolkit version 3.5.20229  is only for users who are building on top of .NET Framework 3.5 using Visual Studio 2008. 


If you are using .NET Framework 2.0 and Visual Studio 2005 then you should use Toolkit version 1.0.20229.

Monday, December 6, 2010

Command prompts for Windows

Control Panel


  • CONTROL: opens the control panel window
  • CONTROL ADMINTOOLS: opens the administrative tools
  • CONTROL KEYBOARD: opens keyboard properties
  • CONTROL COLOUR: opens display properties.Appearance tab
  • CONTROL FOLDERS: opens folder options
  • CONTROL FONTS: opens font policy management
  • CONTROL INTERNATIONAL or INTL.CPL: opens Regional and Language option
  • CONTROL MOUSE or MAIN.CPL: opens mouse properties
  • CONTROL USERPASSWORDS: opens User Accounts editor
  • CONTROL USERPASSWORDS2 or NETPLWIZ: User account access restrictions
  • CONTROL PRINTERS: opens faxes and printers available
  • APPWIZ.CPL: opens Add or Remove programs utility tool
  • OPTIONALFEATURES: opens Add or Remove Windows component utility
  • DESK.CPL: opens display properties. Themes tab
  • HDWWIZ.CPL: opens add hardware wizard
  • IRPROPS.CPL: infrared utility tool
  • JOY.CP: opens game controllers settings
  • MMSYS.CPL: opens Sound and Audio device Properties. Volume tab
  • SYSDM.CPL: opens System properties
  • TELEPHON.CPL: Opens phone and Modem options
  • TIMEDATE.CPL: Date and Time properties
  • WSCUI.CPL: opens Windows Security Center
  • ACCESS.CPL: opens Accessibility Options
  • WUAUCPL.CPL: opens Automatic Updates
  • POWERCFG.CPL: opens Power Options Properties
  • AZMAN.MSC: opens authorisation management utility tool
  • CERTMGR.MSC: opens certificate management tool
  • COMPMGMT.MSC: opens the Computer management tool
  • COMEXP.MSC or DCOMCNFG: opens the Computer Services management tool
  • DEVMGMT.MSC: opens Device Manager
  • EVENTVWR or EVENTVWR.MSC: opens Event Viewer
  • FSMGMT.MSC: opens Shared Folders
  • NAPCLCFG.MSC: NAP Client configuration utility tool
  • SERVICES.MSC: opens Service manager
  • TASKSCHD.MSC or CONTROL SCHEDTASKS: opens Schedule Tasks manager
  • GPEDIT.MSC: opens Group Policy utility tool
  • LUSRMGR.MSC: opens Local Users and Groups
  • SECPOL.MSC: opens local security settings
  • CIADV.MSC: opens indexing service
  • NTMSMGR.MSC: removable storage manager
  • NTMSOPRQ.MSC: removable storage operator requests
  • WMIMGMT.MSC: opens (WMI) Window Management Instrumentation
  • PERFMON or PERFMON.MSC: opens the Performance monitor
  • MMC: opens empty Console
  • MDSCHED: opens memory diagnostics tools
  • DXDIAG: opens DirectX diagnostics tools
  • ODBCAD32: opens ODBC Data source Administrator
  • REGEDIT or REGEDT32: opens Registry Editor
  • DRWTSN32: opens Dr. Watson
  • VERIFIER: opens Driver Verifier Manager
  • CLICONFG: opens SQL Server Client Network Utility
  • UTILMAN: opens Utility Manager
  • COLORCPL: opens color management
  • CREDWIZ: back up and recovery tool for user passwords
  • MOBSYNC: opens Synchronization center
  • MSCONFIG: opens System Configuration Utility
  • SYSEDIT: opens System Configuration Editor (careful while using this command)
  • SYSKEY: Windows Account Database Security management (careful while using this command)


Windows utility and applications


  • EPLORER: Opens windows Explorer
  • IEXPLORER: Opens Internet explorer
  • WAB: opens Contacts
  • CHARMAP: opens Character Map
  • WRITE: opens WordPad
  • NOTEPAD: opens Notepad
  • CALC: opens Calculator
  • CLIPBRD: opens Clipbook Viewer
  • WINCHAT: opens Microsoft Chat Interface
  • SOUNDRECORDER: opens sound recording tool
  • DVDPLAY: run CD or DVD
  • WMPLAYER: opens Windows Media Player
  • MOVIEMK: Opens untitled Windows Movie Maker
  • OSK: opens on-screen Keyboard
  • MAGNIFY: opens Magnifier
  • WINCAL: opens Calendar
  • DIALER: opens phone Dialer
  • EUDCEDIT: opens Private Character Editor
  • NDVOL: opens the mixer volume
  • RSTRUI : opens Tool System Restore (For Vista only)
  • %WINDIR%\SYSTEM32\RESTORE\rstrui.exe: opens Tool System Restore (for XP only).
  • MSINFO32: Opens the System Information
  • MRT : launches the utility removal of malware.
  • Taskmgr : Opens the Windows Task Manager
  • CMD: opens a command prompt
  • MIGWIZ: Opens the tool for transferring files and settings from Windows (Vista only)
  • Migwiz.exe: Opens the tool for transferring files and settings from Windows (for XP only)
  • SIDEBAR: Open the Windows (Vista only)
  • Sigverif : Opens the tool for verification of signatures of files
  • Winver : Opens the window for your Windows version
  • FSQUIRT: Bluetooth Transfer Wizard
  • IExpress opens the wizard for creating self-extracting archives. Tutorial HERE
  • MBLCTR: opens the mobility center (Windows Vista only)
  • MSRA : Opens the Windows Remote Assistance
  • Mstsc : opens the tool connection Remote Desktop
  • MSDT: opens the diagnostic tools and support Microsoft
  • WERCON: opens the reporting tool and solutions to problems (for Vista only)
  • WINDOWSANYTIMEUPGRADE: Enables the upgrade of Windows Vista
  • WINWORD : opens Word (if installed)
  • PRINTBRMUI : Opens migration wizard printer (Vista only)

Disk management


  • DISKMGMT.MSC: opens disk management utility
  • CLEANMGR: opens disk drive clean up utility
  • DFRG.MSC: opens disk defragmenter
  • CHKDSK: complete analysis of disk partition
  • DISKPART: disk partitioning tool


Connection management


  • IPCONFIG: list the configuration of IP addresses on your PC (for more information type IPCONFIG/? in the CMD menu)
  • INETCPL.CPL: opens internet properties
  • FIREWALL.CPL: opens windows firewall
  • NETSETUP.CPL: opens network setup wizard


Miscellaneous commands


  • JAVAWS: View the cover of JAVA software (if installed)
  • AC3FILTER.CPL: Opens the properties AC3 Filter (if installed)
  • FIREFOX: Mozilla launches Firefox (if installed)
  • NETPROJ: allow or not connecting to a network projector (For Vista only)
  • LOGOFF: closes the current session
  • SHUTDOWN: shut down Windows
  • SHUTDOWN-A: to interrupt Windows shutdown
  • %WINDIR% or %SYSTEMROOT%: opens the Windows installation
  • %PROGRAMFILES%: Opens the folder where you installed other programs (Program Files)
  • %USERPROFILE%: opens the profile of the user currently logged
  • %HOMEDRIVE%: opens the browser on the partition or the operating system is installed
  • %HOMEPATH%: opens the currently logged user C: \ Documents and Settings \ [username]
  • %TEMP%: opens the temporary folder
  • VSP1CLN: deletes the cache for installation of the service pack 1 for Vista
  • System File Checker (Requires Windows CD if the cache is not available):
    • SFC / scannow: immediately scans all system files and repairs damaged files
    • SFC / VERIFYONLY: scans only those files system
    • SFC / Scanfil = "name and file path": scans the specified file, and repaired if damaged
    • SFC / VERIFYFILE = "name and file path": Scans only the file specified
    • SFC / scanonce: scans the system files on the next restart
    • SFC / REVERT: return the initial configuration (For more information, type SFC /? In the command prompt CMD.

Wednesday, December 1, 2010

My Profile



Md. Siddiq Bin Nur

Telephone
Office : 01558 781068
Cell : 01727 250807
Cell : 01670 010515
Residence : 01713 143326


[E * m * a * i * l]
sbn.sourov [@] [g ] [.] [c o m]


Research Interest
Software Engineering, Computer Networks, Bioinformatics, Robotics, Data Mining, Cluster Computing, Wireless LAN

Academic Background
B.Sc in Computer Science & Engineering, Ahsanullah University Of Science & Technolog

Selected Publications
WiMAX, Other publicatons are Coming ...

http://siddiqbinnur.blogspot.com/2010/12/my-profile.html