|
Help me to know the answer......
A.R.Prabhakaran
|
|
|
|
|
Hi there!
SQL Client is a client which only works with MS SQL server. Whereas the Oracle Client works only with the Oracle Database.
The OLEDB client works with any new database including MS SQL, Oracle etc,.
But if you are using MS SQL server, it's advisable to use the SQL client, Because this makes thing faster.
Hope that helps......
You don't have to be AFRAID!
|
|
|
|
|
what is the difference between datagrid,datarepeater and datalist?
chanthini prabhakaran
|
|
|
|
|
The main differnces between DataGrid(GridView ASP.NET 2.0), Repeater, and DataList are following:
1)Repeater control is lookless, which means you have to provide template for look.
2) DataList displays either a columnar or normal HTML flow layout. It also supports for selection, editing, and editing of items. (Repeater does not).
3)DataGrid sorting, paging which other control does not. It also support select/Edit/Delete.
4) You can use TemplateColumn in DataGrid. By far, DataGrid is a handy control for most ASP.NET developer.
Sanjeev
|
|
|
|
|
hi,
datagrid displays datasource as a html table format mean each datafield is represented as single column, but with datalist it depends on repeatColumn attribute.
datalist by default does not support pagaing , sorting
repeater is used for representing datasorce in non table format like
countries
i hope this some idea about datacontrols,
|
|
|
|
|
DataList is just like DataRepeater but with additional functionalities.
and additinal templates for formating.We can have custom paging inDataList. But no in bulit paging But where as in DataGrid there isin built paging ,sorting,editiong,which reduces lot of cod e on developer. Its better to use repater control if performance only the criteria.
Since Grid and Lsit Takes round trip than Repeater .
Features of Datagrid
(1)Displays data as a table
(2)Control over
(3)Alternate item
(4)Header
(5)Footer
(6)Colors, font, borders, etc.
(7)Paging
(8)Updateable
(9)Item as row
Features of Repeater
•List format
•No default output
•More control
•More complexity
•Item as row
•Not updateable
Features of DataList
•Directional rendering
•Good for columns
•Item as cell
•Alternate item
•Updateable
Regards,
Satips.
|
|
|
|
|
i have created multilingual pages in asp.net,one for english and one for urdu.the urdu pg is created by copying the resource file of english pg nad pasting it in the local resource.on the button click i have called an InitilizeCulture method in which if english is set by default to chnnge it to urdu it throws an exception on this line:
Thread.CurrentThread.CurrentCulture=new CultureInfo(currentlang);
where currentlang is currently set to urdu.
and the exception is:
System.NotSupportedException: Culture 'ur' is a neutral culture. It cannot be used in formatting and parsing and therefore cannot be set as the thread's current culture.
any help wud be highly appreciated
bia ali
|
|
|
|
|
I have added templetfield column at design time i want to display that column after all other column which i am binding at run time how can i do that
|
|
|
|
|
Does ASP.NET 1.1 supports CSS style sheets.If it supports then tell me how to work with it? I have a css file say mohi.css and i have defined some rules for hyperlink. Now how to use it?
Mohinder Singh
|
|
|
|
|
Add something like:
<link rel="STYLESHEET" type="text/css" href="../Styles/mohi.css" />
To the html of your page inside the <header> section
The code above assumes you have a subfolder in your web project called styles.
Hope that helps.
Ben
|
|
|
|
|
apart from mere linking the sheet, u may also want to define classes to various controls..
check for the CssClass property in the properties..
Kunal
|
|
|
|
|
in a scenario i have an application to be developed few parts(web pages) using .net 1.1 and few parts(web pages)using .net 2.0.
so what and where will be the setting.
can anybody guide me by sending code if possible.
thanks a lot
|
|
|
|
|
A single we site can not have mixed pages. You will have to have two web sites. One that runs on .net 1.1 and another that runs on .net 2.0. I would think seriously of switching the web site to one .net version. Otherwise I think you are asking for problems.
Hope that helps.
Ben
|
|
|
|
|
Hello all,
How we get The Value of Dynamic created TextBox in asp.net? i have a web form and in which i want to create textbox dynamically by click on Button ...Now,on another button click I want to retrieve the value of dynamically created textbox.
Please help me.If possible,try to explain me with example.
Thanks,
aekta
|
|
|
|
|
You need to know the name of the textbox so that you can do a findcontrol to retreive the textbox. Unless you are doing this in javascript in which case you need to know the textbox.ClientId.
Hope that helps.
Ben
|
|
|
|
|
to create dynamic textbox use html input type=text because i think u can't create asp.net control at runtime.
i create dynamic textbox but i m not able to retrive the value of that. to create dynamic text box.
<br />
string strHTML = "";<br />
strHTML += "<table cellpadding=\"10\" align=left><tr><td><input type=\"text\" id=\"hhgg\" runat=\"server\" value=\"" + dr[0].ToString() + "\" width=\"100\"/></td></tr></table>";<br />
tdimage.InnerHtml = strHTML;<br />
for create more text box use loop.
in HTML
<table><tr><td id="tdimage" runat="server"></td></tr></table>
if u r able to retrive the value of these text box on button click then reply me
<
anujsharma
|
|
|
|
|
u can do this
dim text1 as Textbox
text1 = ctype(me.findcontrol(IDofTextbox),textbox)
dim str as string
str = text1.text
Thanks,
Sun Rays
|
|
|
|
|
Thanks for ur help.it's really useful.
|
|
|
|
|
Hello,
I need for help in how to use the gridview to insert,update and delete from a database by using code.
How can I enable user to edit?
thanks.
Dad
|
|
|
|
|
Drag and drop the Gridview control onto the work area. Now click on the quick tasks menu which is on the top right of the control. Here you get some options. Click the option New datasource and follow the instructions from there on to configure the Datasource.
After finally configuring the datasource. Your Gridview should work just fine for displaying the data. But if you also want to update or delete the data, you just have to open the quick tasks menu again and check the appropriate options like edit and delete.
You can't insert new values using Gridview. But if you want to do that you can use FormView control instead.
You don't have to be AFRAID!
|
|
|
|
|
I need this one for my student project. I am going to give you a scenario. Please suggest a solution.
You don`t need to get into a lot of details, just tell me what to do and I will find a way to do it.
Here it goes(Don`t laugh ):
I am creating a website where I want to create a possibility for each customer to have a multiple mailing lists.
Mailing lists must me stored in a database (sql server express). How do I access data in a database based on the customers
user name? How to distinguish mailing lists of one user from the mailing lists of another. I am using ASP.NET built in authentification.
For each mailing list entry there is a name, surname, email, gender.
Thanks a lot in advance!!!
Dragan
|
|
|
|
|
Can we use Nested Datalists.If we can then tell me how to do this.
I have Four datalist. one is master datalist and rest of the three are going to come under this.I want to Insert three datalist inside this master datalist. And i bind these datalists separately.very urgent
Mohinder Singh
|
|
|
|
|
yes u can do it.
for that in teplate field u have to put datalist.
and as u want 3 datalist use different column and add datalist to everyone.
then in datarow bound event of master datalist u can find all three datalist and bind data to them.
Thanks,
Sun Rays
|
|
|
|
|
can u send me the code for this.Thanks in advance.
Mohinder Singh
|
|
|
|
|
i am working on ASP.NET 2003 1.1
Mohinder Singh
|
|
|
|