Hello Firends
As i promise to you i write the two post for the csv import and export data this is the second post which will give you code for the import any csv file in to the gridview.
please check below code which will import any csv file into the asp.net gridview. Read the rest of this entry »
Hello Friends,
Sorry after so long time i m writing this post recently i was working on few bigger task in asp .net.
now days i feel on internet when we goggling for the CSV (Comma Separated Values) file related data so you will find not as much interesting data. so i decide to write two post for the CSV functionality with asp .net.
this article gives you way how to export the sql server tables data in to the CSV file so please read it carefully and apply it in your web application. Read the rest of this entry »
Hello Friends
last days i was searching the internet and i found that we can use gmail account credential as a smtp server.
Here is the code for the how use gmail credential for sending a mail form the asp .net.
Create
Read the rest of this entry »
Hello Friends,
i was working on clone project of digg.com and i was facing one big problem which menu control of asp .net and all the ajax control toolkit`s control not properly working on Safari browser.
so i was searched lots of stuff to solve this problem and here is the solution which serves to you.
Read the rest of this entry »
Hello Friends
Few days ago one of my friend told me please tell me how can i export Gridview`s data into the Excel sheet he needed in his working project.
so i m writing this post from them who need same stuff in their projects.
Read the rest of this entry »
Hello Firends,
sorry after so long time i m writing post on my site. i was busy in very interesting project same as digg.com.
now i will give you so much new things which will likes a lot for asp .net programmers.
here is very interesting thing i m giving to you many asp .net programmers need to disable the broswer back button after any user logout from the website or other reason is some how if we used the javascript on the page so after page will redirect user can`t go to the last page because when you use the javascipt on the page then if user press the back button all the data comes from the cache not from the server side so it may cause big problems in the website.
so here is the solution for the asp.net programmers.
Read the rest of this entry »
Hello Friends,
One of my close friend asking me to change or modify the web.config file on fly or at runtime because his boss ask to have a page in their backoffice, where they can change the connection string of the database, or changing the session Timeout.
so here is the solution where you can get web.config files data and modify it and update web.config file.
first of all
keep the default settings and run the Default.aspx page. When you compile and run, a dialog box will be prompted to you concerning the web.config file, asking whether you want to modify the web.config to enable debugging, or to run the website without debugging (The site will be be opened using a temporary port created by visual studio). Make sure the first option is selected and click ok.
Read the rest of this entry »
Hello Friends
Now a days i m creating one web application in asp .net which have a four master pages and also web application have a url rewrting code.
when you are working with mastre pages and url rewriting code where some fack virtual web directorys will be generates which is actual not exist but in your url it will be load.
when this kind of url structures you are working you may have a problem of image display because in master page you gave absolute path for the image source but when fack url will generates image will be not display on page because image not found the path where exact it was placed.
Read the rest of this entry »