A vendor is providing content which needs to be inserted into the db. The content is basically questions with options and explanations. An example is below.
View Complete Post
I have got a page in which there is a file upload option where I have to upload/import the csv file. What I want to do is to check if the correct format of file is uploaded for instance if any other than csv file is uploaded, the system should give an error message. Also what I need to do is to check certain fields of the csv file for instance there are some mandatory fields in the csv file which should be there like name , postcode, How can I check that these fields are not empty . After performing these task, the system should automatically upload the csv file onto the sql sever 2008. Any ideas or tutorial ... will be highly appreciated.
I have a web form, in that i'll enter daily expense details.
After i press save button, the data i entered are saved into an excel sheet.
I don't have idea how to save the data to excel sheet, so your help for this greatly welcome.
I am trying to pick data from the database through data access layer and use those values in different text boxes on the page.Basically on a click on the form, modal popup is planned to read the database and put the values into different text boxes which can be latter changed/ updated.
What I am unable to do is accessing those values on the form itself progamatically. I will be thankful for any ideas and help.
My data access component is as follows:
new SqlParameter ("@reg_id", SqlDbType.Int ));"@reg_id"].Value=reg_id;try
i have string like below:
<?xml version="1.0" encoding="utf-8" ?>
hello all i have a gridview and textbox i want to insert the data that typed in the textbox into the gridview i can do this but in other culomn i just can insert number
and when i type some world the error say:Invalid column name'every thing '
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="soal.aspx.vb" Inherits="soal" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<form id="form1" runat="server">
<asp:GridView ID="GridView1" runat="server" AllowSorting="True"