Had you configured your web application with WAT - Web application administrative tool?
A DATAPOST COMPUTER CENTRE (K.V Prajapati)
Had you configured your web application with WAT - Web application administrative tool?
A DATAPOST COMPUTER CENTRE (K.V Prajapati)
Here is a code might help you. I think you are using MSSQL server 2005. SqlConnection cnnew SqlConnection(...your_connection_string....); SqlCommand cmd=new SqlCommand(); cmd.Connection=cn; cmd.CommandText="your_proc"; cmd.CommandType=CommandType.StoredProcedure; ... ... SqlDataAdapter adp=new SqlDataAdapter(cmd); DataTable dt=new DataTable(); adp.Fill(dt); GridView v=new GridView(); v.DataSource=dt; v.DataBind(); form1.Controls.Add(v); .. ..
A DATAPOST COMPUTER CENTRE (K.V Prajapati)
After loading an XML file into DataSet; DataSet creates number of DataTable instances so you have to decide which datatable instance you want to use. For Example, DataSet ds=new DataSet(); ds.ReadXml(....); // List of DataTables for(int i=0;iA DATAPOST COMPUTER CENTRE (K.V Prajapati)
No, nothing.
A DATAPOST COMPUTER CENTRE (K.V Prajapati)
Basically, GridView and other controls represent the view not data. Data is placed in your simple or complex variables (say objects). It is better practice to work on objects where data is available.
A DATAPOST COMPUTER CENTRE (K.V Prajapati)
Misperception WebService. Web service is a techonology that provides an interface for some functionality to make it accessible from other programs across the web. This functionality might be obtaining data from a database, performing mathematical calc., etc.
A DATAPOST COMPUTER CENTRE (K.V Prajapati)
set attribute ValidateRequest="false" at page directive.
A DATAPOST COMPUTER CENTRE (K.V Prajapati)
If your are using ASP.NET then you may use ~ (root) operator to resolve path with server controls. Save ~/images/xyz.jpg in database. However, you said "Is it possible to get back full path?". Yes you can: Use, Server.MapPath or Request.MapPath or MapPath method. eg. String fullpath=Request.MapPath("~/images/xyz.jpg"); or String fullpath=Request.MapPath("../images/xyz.jpg");
A DATAPOST COMPUTER CENTRE (K.V Prajapati)
|DataDirectory|\aspnetdb.mdf;
A DATAPOST COMPUTER CENTRE (K.V Prajapati)
Use % (percent) unit of measurement.
A DATAPOST COMPUTER CENTRE (K.V Prajapati)
To read data from word file requires Ms-Office Interop service - DLL. So, add the reference of Ms-Word com component. LINQ is the another way to read a word document.
A DATAPOST COMPUTER CENTRE (K.V Prajapati)
I am unable to judge where you got problem. Any code? You are using AccessDataSource - OleDB classes and where is code that uses ODBC?
A DATAPOST COMPUTER CENTRE (K.V Prajapati)
You should write following code: string FilePath = Globals.ApplicationVRoot + "/Downloads/DemoUser.CSV"; byte []b=System.IO.File.ReadAllBytes(FilePath); string FileName = "DemoUser.CSV"; HttpResponse response = HttpContext.Current.Response; response.ClearHeaders(); response.ClearContent(); response.ContentType = "application/octet-stream"; response.AddHeader("Content-Length",b.Length.ToString()); response.AddHeader("Content-Disposition", "attachment; filename=" + FileName); response.BinaryWrite(b); response.Flush(); response.End();
A DATAPOST COMPUTER CENTRE (K.V Prajapati)
You have to upload music file and then after you may play it.
A DATAPOST COMPUTER CENTRE (K.V Prajapati)
Please refere this link http://www.highdots.com/css-tab-designer/[^]
A DATAPOST COMPUTER CENTRE (K.V Prajapati)
Copy the content of XSLT file into MSWORD and print it.
A DATAPOST COMPUTER CENTRE (K.V Prajapati)
You should review of Execute method code.
A DATAPOST COMPUTER CENTRE (K.V Prajapati)
Name of parameter should be "pname" not a "ProductName". <asp:Parameter Type="string" Name="ProductName"></asp:Parameter> <asp:Parameter Type="string" Name="pname"></asp:Parameter>
A DATAPOST COMPUTER CENTRE (K.V Prajapati)
But you are saving profile after that and the new value of profile will not available to you until postback. Isn't it?
A DATAPOST COMPUTER CENTRE (K.V Prajapati)
Due to the sequence of event you got such result.
A DATAPOST COMPUTER CENTRE (K.V Prajapati)