I am binding gridview dynamically
mDataAdapter = new DataAdapter();
// Initiate the database connection
mDataAdapter.Init(Constant.CONNECTIONSTRING);
// Get the suppliers
mDataSet = mDataAdapter.GetSearchItem(ItemId, ItemName);
// Load the gridview with search items
grdItemSearch.DataSource =...
Ok, I'll have the same issue using client-side code
If I add to the paragraph then everything becomes center and it work.
<p class="alignment-center"><strong>ItemId</strong><input class="alignment-center" /></p>
But I want the text to be at the left and the input to be at the center.
Is this...
It doesn't the textbox isn't isn't at the center it just next to text.
This is what I have so far.
<h1>Item</h1>
<p><strong>ItemId</strong><asp:TextBox ID="txtItemId" runat="server" CssClass="alignment-center"></asp:TextBox></p>
<p><strong>Name</strong><asp:TextBox ID="txtItem"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.