Profile cover photo
Profile photo
Brijesh Kumar Singh
116 followers -
Love sought is good,but giv’n unsought is better.
Love sought is good,but giv’n unsought is better.

116 followers
About
Posts

Post has attachment
Brijesh Kumar Singh commented on a post on Blogger.
Window XP user's not need to write "clearchachelocalall()" method........
Add a comment...

Post has attachment
Photo
Add a comment...

Post has attachment
GET random Unique OTP(One Time Password) in C#.NET
Use this Code for random Unique OTP(One Time Password) generation: private string generatePassword()     {         int lenthofpass = 6;         string allowedChars = "";         allowedChars = "a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,";         ...
Add a comment...

Post has attachment
Send Mail with Attachment in asp.net
 MailAddress SendFrom = new MailAddress("brijesh.singh879@gmail.com", "Brijesh");         MailAddress SendTo = new MailAddress("brijesh.singh879@gmail.com");         System.Net.Mail.MailMessage MyMessage = new System.Net.Mail.MailMessage(SendFrom, SendTo); ...
Send Mail with Attachment in asp.net
Send Mail with Attachment in asp.net
brijeshsolutions.blogspot.com
Add a comment...

Post has attachment
Directly Bind Byte Type Image data to Image control
Use this code for display image on both asp Image control and html img tag <asp:Image ImageUrl='<%# "data:image/jpg;base64," + Convert.ToBase64String((byte[])Eval("IMG_DATA")) %>' />             OR  <img src='<%# "data:image/jpg;base64," + Convert.ToBase64S...
Add a comment...

Post has attachment
Re-sized Image of byte array type in asp.net
I found the solutions of image re-sizing at run-time in asp.net  use this code to obtain re-sized image: SqlCommand cmd = new SqlCommand("select ProductPicture from ProductDetails where Id=" + pdctid + "", con);                 byte[] product = (byte[])cmd....
Add a comment...

Post has attachment
Export GridView Data with Image in C#.net
Write this code on .aspx page <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">     <title>Untitled Page</title> </head> <body>     <form id="form1" runat="server">     <div>     <asp:GridView ID="GridView1" runat="server" AutoGenerateColumn...
Export GridView Data with Image in C#.net
Export GridView Data with Image in C#.net
brijeshsolutions.blogspot.com
Add a comment...

Post has attachment
PRevent Re-submission of Data on Browser reload in C#.NET
On .aspx page write take a hidden field: <asp:HiddenField id="hdncheckreload" runat="server" /> On .cs page write a function to check whether it's first time call event or reloaded...... public bool notIsRefresh()         {             bool retVal = false; ...
Add a comment...

Post has attachment
HOw to implement LINQ in C#.NET to Perform Aggregate Function as in SQL Server
First Add the namespace -  System.Collections.Generic and System.Linq Now we get data into datatable :  DataTable dtt = new DataTable(); string _cquery = "Select * from table1"; dtt = du.getdatatable(_cquery); Now apply group by clause on datatable dtt usin...
Add a comment...

Post has attachment
HOw to Set ListView DataPager Page Index Property to specific Page Number in asp.net
Copy & Paste this on .aspx file :  <asp:ListView ID="ListView1" runat="server" GroupItemCount="1" GroupPlaceholderID="groupPlaceHolder1"                 ItemPlaceholderID="itemPlaceHolder1" OnPagePropertiesChanging="ListView1_PagePropertiesChanging"        ...
Add a comment...
Wait while more posts are being loaded